How to Restore Global Administrator Access for Microsoft Graph API Consent
Question details
The user needs to grant admin consent for Microsoft Graph API permissions but is blocked because the Microsoft 365 account lacks Global Administrator rights.

- Product
- Microsoft 365 Admin Center
- Device & OS
- not provided
- Scenario
- Attempting to grant tenant-wide admin consent for Microsoft Graph API permissions during application development.
- Observed behavior
- The system displays a permission error stating the current account lacks administrator rights, even though the user is logging in with the account used to purchase the subscription.
Verify whether your Microsoft 365 subscription is a business or personal account. Personal Microsoft accounts do not provide access to the admin center or Global Administrator roles required for Graph API consent.
Assign Global Administrator Rights to Your Account
Use this method if you or another user in your organization has access to an existing Global Administrator account, such as the default .onmicrosoft.com account created during setup.
A Microsoft 365 business subscription typically provisions a default administrator account ending in onmicrosoft.com. The account used to purchase the subscription may not automatically be assigned the Global Administrator role if it was a standard personal account.
Navigate to the Microsoft 365 admin center and sign in using an account that already has Global Administrator rights (often the initial admin@yourdomain.onmicrosoft.com account).
On the left-hand navigation menu, expand the 'Users' section and click on 'Active users'.
Locate and click on the specific user account that requires permissions to grant Microsoft Graph API consent.
In the user detail flyout pane that appears on the right, click on 'Manage roles' under the Roles section.
Select the 'Global administrator' option from the list of admin center roles and click 'Save changes'. You can now sign in with this account to grant Graph API consent.

Contact Microsoft Support for Tenant Recovery
Use this approach if no active Global Administrator account exists, or if you are completely locked out of the Microsoft 365 admin center.
Try WPS Office for Your Daily Document Needs
While resolving Microsoft 365 administrative access requires Microsoft Support, you can keep your team productive with WPS Office. It provides a lightweight, highly compatible alternative for Word, Excel, and PowerPoint files without the need for complex tenant administration or API configurations.

Frequently Asked Questions
Why does my purchasing account not have Global Administrator rights?
In some Microsoft 365 configurations, the email address used to purchase the subscription acts as a billing contact rather than an administrator, especially if it is a personal Microsoft account. The actual Global Admin role is usually assigned to the default .onmicrosoft.com account created during the tenant setup.
Can I grant Microsoft Graph API consent without being a Global Admin?
Typically, granting tenant-wide admin consent requires Global Administrator or Privileged Role Administrator rights. Standard user accounts are restricted from granting consent for permissions that access broad organizational data.
How do I find my default .onmicrosoft.com admin account?
Check the initial welcome emails sent by Microsoft 365 when you first purchased the business subscription. These automated emails contain the default administrator username, which typically ends with the .onmicrosoft.com domain.




