AADSTS500200 error when using personal Microsoft account to grant access to Azure Resource Manager (https://management.azure.com/user_impersonation) despite correct app configuration
I'm building a .NET Web API where users (with any Microsoft account – work/school or personal like Outlook/Gmail) can connect their Microsoft account. After connecting, my backend needs to programmatically create Azure resources (VMs, web apps, etc.) on their behalf using the Azure Resource Manager API.
1. Requirement
- Users log in to my app using email/password (local JWT authentication).
- They then link their Microsoft account via OAuth 2.0 (delegated permissions) to allow my app to manage Azure resources in their subscription.
- My app must obtain a refresh token with
https://management.azure.com/user_impersonation scope so it can later acquire access tokens and call ARM APIs to deploy resources.


2. Problem When I initiate the OAuth flow using the v2.0 endpoint with the scope https://management.azure.com/user_impersonation, personal Microsoft accounts (e.g., @outlook.com, @gmail.com) fail with the following error after login:
AADSTS500200: User account '{email}' is a personal Microsoft account. Personal Microsoft accounts are not supported for this application unless explicitly invited to an organization.
it's also happening via tried with Work/school accounts. The same error occurs even if I use the v1.0 endpoint with resource=https://management.azure.com/ instead of scopes.
3. What I've tried
Verified that my app registration in Azure AD is configured for "Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts" (the third option). The manifest shows "signInAudience": "AzureADandPersonalMicrosoftAccount".
Added and granted admin consent for both Microsoft Graph (User.Read) and Azure Service Management (user_impersonation) delegated permissions.
Set a verified publisher domain under Branding & properties (required for apps supporting personal accounts).
Registered the exact redirect URI (https://localhost:7001/api/v1/azure/callback) under Web platform.
Tried the v1.0 OAuth endpoint with resource parameter (as suggested for personal accounts) – same error.
Tested with a brand new, never-used personal Outlook account – still fails.
Checked that the personal account has an active Azure subscription.
Despite all these steps, the error persists. I've searched extensively but can't find a solution.
Could anyone point out what I'm missing? Is there an additional configuration required for personal Microsoft accounts to consent to Azure Service Management permissions? Or is there a known limitation with delegated user_impersonation for personal accounts?
Any help would be greatly appreciated!
AADSTS500200 error when using personal Microsoft account to grant access to Azure Resource Manager (https://management.azure.com/user_impersonation) despite correct app configuration
I'm building a .NET Web API where users (with any Microsoft account – work/school or personal like Outlook/Gmail) can connect their Microsoft account. After connecting, my backend needs to programmatically create Azure resources (VMs, web apps, etc.) on their behalf using the Azure Resource Manager API.
1. Requirement
Users log in to my app using email/password (local JWT authentication).
They then link their Microsoft account via OAuth 2.0 (delegated permissions) to allow my app to manage Azure resources in their subscription.
My app must obtain a refresh token with https://management.azure.com/user_impersonation scope so it can later acquire access tokens and call ARM APIs to deploy resources.
2. Problem
When I initiate the OAuth flow using the v2.0 endpoint with the scope https://management.azure.com/user_impersonation, personal Microsoft accounts (e.g., @outlook.com, @gmail.com) fail with the following error after login:
AADSTS500200: User account '{email}' is a personal Microsoft account. Personal Microsoft accounts are not supported for this application unless explicitly invited to an organization.
it's also happening via tried with Work/school accounts. The same error occurs even if I use the v1.0 endpoint with resource=https://management.azure.com/ instead of scopes.
3. What I've tried
Verified that my app registration in Azure AD is configured for "Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts" (the third option). The manifest shows "signInAudience": "AzureADandPersonalMicrosoftAccount".
Added and granted admin consent for both Microsoft Graph (User.Read) and Azure Service Management (user_impersonation) delegated permissions.
Set a verified publisher domain under Branding & properties (required for apps supporting personal accounts).
Registered the exact redirect URI (https://localhost:7001/api/v1/azure/callback) under Web platform.
Tried the v1.0 OAuth endpoint with resource parameter (as suggested for personal accounts) – same error.
Tested with a brand new, never-used personal Outlook account – still fails.
Checked that the personal account has an active Azure subscription.
Despite all these steps, the error persists. I've searched extensively but can't find a solution.
Could anyone point out what I'm missing? Is there an additional configuration required for personal Microsoft accounts to consent to Azure Service Management permissions? Or is there a known limitation with delegated user_impersonation for personal accounts?
Any help would be greatly appreciated!