Hi @Adrian Loke
Thank you for posting this on the Microsoft Q&A platform.
I understand that you are trying to create app registrations in Entra but are encountering the error: "The directory object quota limit for the principal has been exceeded."
This error occurs because Microsoft Entra ID enforces a 250-object limit per non-administrative user.
As mentioned in this document A non-administrator user can create no more than 250 Microsoft Entra resources. Both active resources and deleted resources that are available to restore count toward this quota. Groups Administrator and User Administrator roles are not subject to this per-principal quota.
To bypass this restriction, you can create a custom role with the necessary permissions:
-
microsoft.directory/applications/createAsOwner
-
microsoft.directory/applications/create
This custom role will allow you to create an unlimited number of application registrations.
Requirements to Create a Custom Role:
- A Microsoft Entra ID Premium P1 or P2 license
- Privileged Role Administrator permissions
If you do not have the necessary permissions, please contact your administrator to create the custom role and assign it to you.
For step-by-step instructions, refer to this guide: Create a custom role with permissions for unlimited app registrations
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.