What were the primary obstacles to stable rule for india’s muslim invaders and immigrants? how did they deal with them?

What were the primary obstacles to stable rule for india’s muslim invaders and immigrants? how did they deal with them?