How do I increase directory object quota limits to prevent issues with creating Groups?

Bryan Bates 5 Reputation points

I have a service account that creates M365 Groups to go with small projects. It does this through Power Automate with a POST request to the Graph API. Recently the flow started experiencing intermittent errors with the following message: "The directory object quota limit for the Principal has been exceeded. Please ask your administrator to increase the quota limit or delete objects to reduce the used quota."

Through some searching, I see that a limit of 250 Groups applies to non-admin users. This service account has admin privileges and has already created close to 2000 Groups. How can make sure this service account is operating within quota limits and/or increase those so they are no longer an issue?



Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,204 questions
Microsoft Entra
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. akinbade abiola 8,300 Reputation points

    Hello Bryan,

    Thanks for your question.

    To address this, you can consider implementing group lifecycle to remove inactive groups after a set time. This will help ensure that you have up to date groupings based on usage


    If you want to raise the limit or quota above the default limit, you will need to open a support request. See:



    0 comments No comments

  2. Givary-MSFT 30,521 Reputation points Microsoft Employee

    @Bryan Bates Thank you for reaching out to us, seems you have hit the default quota limit and assuming you have reviewed this doc - would request you to contact our support team for further assistance in increasing the default quota.

    Let me know if you have any further questions, feel free to post back. If in case you dont have a support contract reach out to us via private message sharing your Azure Subscription ID where we can help with the support options.

    0 comments No comments

  3. Neuvi Jiang 685 Reputation points Microsoft Vendor

    Hi Bryan Bates,

    Thank you for posting in the Q&A Forums.

    First, you need to confirm that the service account does have administrator privileges and understand the specific quota limits in Microsoft 365 (M365) for group creation. Typically, Microsoft sets different quota limits based on different subscription plans and license types. Admins can view and modify these restrictions through the Microsoft 365 admin center.

    If your service account has created nearly 2,000 groups and the standard quota limit is much lower than that, cleaning up groups that are no longer needed is a straightforward and effective way to reduce the quota used. This can be achieved by writing a Power Automate flow that automatically identifies and removes groups that have not been used for a long time or that meet specific cleanup criteria.

    Consider how you want to optimize how your groups are used and managed. For example, you can evaluate whether all created groups are necessary, or whether you can reduce the total number by merging groups.

    Best regards



    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments