Account Locked & Blocked

How to Restore Global Administrator Access for Microsoft Graph API Consent

Phi Hung VoPhi Hung Vo Nov 3, 2026 870 views

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.

How to Restore Global Administrator Access for Microsoft Graph API Consent
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.
Before you start

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.

Solution 1Recommended

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.

1
Sign in with an Admin 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).

2
Navigate to Active Users

On the left-hand navigation menu, expand the 'Users' section and click on 'Active users'.

3
Select the Developer Account

Locate and click on the specific user account that requires permissions to grant Microsoft Graph API consent.

4
Manage Roles

In the user detail flyout pane that appears on the right, click on 'Manage roles' under the Roles section.

5
Assign Global Administrator

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.

Assign Global Administrator Rights to Your Account
Role Propagation: It may take a few minutes for the newly assigned Global Administrator role to propagate throughout the tenant before you can successfully grant admin consent.
Free Microsoft Office alternative

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.

Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Lightweight installation with no complex administrative roles required.Familiar user interface allowing for seamless team migration.Free basic features for everyday workplace productivity.
microsoft office alternative - wps office

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.