Top brass of IS Soomaal are Somalis. You also need some undercover local support to smuggle in supplies from the sea and land. No way a group of ajanabis would be still fighting.
The locals were probably bribed by IS to turn a blind eye to their activities. The are they operated in is very sparsely populated, so only few elders were needed to bribe.