Skip to main content
Microsoft 365intermediate

AADSTS50105: User Isn't Assigned to a Role for the Application

Fix AADSTS50105 — the signed in user is not assigned to a role for the application. Assign the user or group in Entra ID, and why nested groups silently fail.

8 min readUpdated August 2026

AADSTS50105 — "The signed in user is not assigned to a role for the application" means your sign-in worked but the app refused you. This guide explains why, what a user can do, and the exact admin steps that fix it, including the nested-group trap that makes a correctly-grouped user fail anyway.

The Error

AADSTS50105: The signed in user is not assigned to a role for the
application.

Microsoft's internal name for the code is EntitlementGrantsNotFound. You may also see it worded as "Your account is not authorized to access this application" or "The signed in user isn't assigned to a role for the signed in app".

Why This Happens

Entra ID does two separate things when you open an application. First it authenticates you — password, MFA, Conditional Access. Then it authorizes you — checks whether you are allowed to open this particular app.

AADSTS50105 is thrown at the second step. Everything about your identity checked out. What is missing is an assignment.

It appears when both of these are true:

  1. The enterprise application has Assignment required set to Yes, and
  2. Your account is not in that application's Users and groups list, directly or via a directly-assigned group.

That is the entire cause. Microsoft states it plainly: the user must belong to a group that is assigned to the application, or be assigned directly.

Two things this is not: it is not a password problem, and it is not a licensing problem. A fully licensed Microsoft 365 user gets this error all day long if nobody added them to the app.

If You're a User (Not an Admin)

You cannot fix this yourself. It requires directory permissions you do not have.

  1. Check your organization's app portal at myapps.microsoft.com. Some applications are published there as self-service, letting you request access without raising a ticket.
  2. If it isn't there, contact your IT administrator and give them:
    • The full error text, including AADSTS50105
    • The name of the application you were opening
    • The account you signed in with
    • The time it happened, and the Request ID from the error page if one is shown

That last detail saves your admin real time — it lets them find the exact sign-in log entry rather than guessing.

Do not reset your password, clear cookies repeatedly, or try a different browser. None of those touch the cause.

Admin Fix 1: Assign the User or Group

Requires: Cloud Application Administrator, Application Administrator, or Global Administrator.

  1. Sign in to the Microsoft Entra admin center.
  2. Go to IdentityApplicationsEnterprise applications.
  3. Select the application the user was trying to open.
  4. Select Users and groups.
  5. Select Add user/group.
  6. Choose the user, or a security group, and assign it.

Assigning a group rather than individual users is the better long-term pattern — new starters inherit access from group membership instead of needing a manual step. Just read the next section before you rely on it.

Admin Fix 2: The Nested Group Trap

This is the one that wastes afternoons, and it is worth checking before anything else if the user looks like they should already have access.

Microsoft does not support nested groups for application assignment. The group must be assigned to the application directly.

So this fails:

User  →  member of  →  "Finance Team"
                       "Finance Team"  →  member of  →  "All Finance"
                                                        "All Finance"  →  assigned to app

The user is transitively in an assigned group, the membership looks correct in every group view, and Entra ID still throws AADSTS50105.

This works:

User  →  member of  →  "Finance Team"  →  assigned to app

To fix it, either assign Finance Team to the application directly, or assign the user directly. If you rely on a nested group structure elsewhere in your directory, application assignment is the one place it will not carry through.

Advertisement

Admin Fix 3: Turn Off Assignment Required (Consider Carefully)

Setting Assignment required to No stops the error immediately for everyone.

  1. Enterprise applications → the application → Properties
  2. Set Assignment required? to No
  3. Save

What this actually does: every user in your tenant who can authenticate can now open the application. There is no per-user gate left.

That is a reasonable choice for something the whole organization should have — an intranet, a company directory, a general-purpose SaaS tool you have licensed for everyone. It is the wrong choice for finance, HR, payroll, or anything holding regulated data, where the assignment list is the access control.

Do not use this as a quick fix to close a ticket. If you find yourself reaching for it because group assignment is fiddly, fix the group instead.

Verify the Fix

  1. Have the user sign out completely — sign out of the app and of Entra ID, then close the browser. An existing token will keep failing even after the assignment is correct.
  2. Test in a private or incognito window to rule out cached tokens entirely.
  3. Check the sign-in logs. In the Entra admin center, go to MonitoringSign-in logs, filter to the user, and confirm the entry now shows success. If it still shows AADSTS50105, the assignment did not apply the way you think — check for nesting.

Give it a few minutes. Assignment changes are usually near-instant but not always.

Prevent It Coming Back

  • Assign groups, not people — but assign them directly to each application.
  • Document which group governs which app. The most common cause of a repeat AADSTS50105 is a new starter added to the wrong group by someone who did not know the mapping.
  • Include app assignment in onboarding. Licensing a user is not the same as granting them applications, and treating those as one step guarantees this error on day one.
  • Audit assignments periodically. Enterprise applications → the app → Users and groups shows exactly who has access, which is also useful evidence at review time.
  • Watch for group-type mismatches. Some applications and licensing models behave differently with dynamic groups versus assigned groups; if a dynamic group is in play, confirm the user actually matches its membership rule.
CodeMeaningDifferent because
AADSTS700016The application wasn't found in the directory or tenantThe app itself is missing, not your assignment to it
AADSTS53003Access blocked by Conditional Access policiesA policy blocked the sign-in; assignment is irrelevant
AADSTS50076Multifactor authentication requiredSign-in incomplete, not an authorization failure

If you need to inspect or script assignments across many applications, connect with PowerShell — see how to install and connect to Exchange Online PowerShell for the module setup pattern, and use the Microsoft Graph PowerShell module for application assignment work.

Frequently Asked Questions

Find answers to common questions

It means Microsoft Entra ID authenticated you successfully but the application will not let you in, because your account has not been granted access to that specific app. Microsoft's internal name for the code is EntitlementGrantsNotFound. Sign-in worked; authorization did not. That distinction matters because it tells you the password, MFA, and Conditional Access were all fine — only the app assignment is missing.

Because the error has nothing to do with your password. Entra ID separates authentication (proving who you are) from authorization (deciding what you may open). AADSTS50105 is thrown after successful authentication, when the enterprise application has "Assignment required" turned on and your account is not on its list of assigned users or groups. Resetting your password will never fix it.

You cannot fix it yourself — it needs a Cloud Application Administrator, Application Administrator, or Global Administrator. Send your admin three things: the exact error text including the code, the name of the application you were opening, and the account you signed in with. If your organization has a self-service access portal at myapps.microsoft.com, check there first — some apps allow you to request access without a ticket.

Almost always nested groups. Microsoft documents that nested groups are not supported for application assignment — the group must be assigned to the application directly. If your user is in Group A, and Group A is a member of Group B, and Group B is assigned to the app, the user gets AADSTS50105. Assign Group A directly, or assign the user directly.

In the Microsoft Entra admin center, go to Identity, Applications, Enterprise applications, select the application, then Users and groups, then Add user/group. Assign the individual user or a directly-assigned security group. Assigning a group rather than individuals is normally the better long-term choice, provided the group is assigned directly and not nested.

You can, under Enterprise applications, the app, Properties, Assignment required set to No — and it does stop the error immediately. Treat it as a deliberate decision rather than a fix, because it opens the app to every licensed user in the tenant. It is reasonable for something everyone should have and wrong for a finance or HR system. Assigning the right group is almost always the correct answer.

No, and this trips people up constantly. A license grants entitlement to a service; an application assignment grants access to a specific enterprise application. A user can be fully licensed for Microsoft 365 and still get AADSTS50105 on a SAML app because nobody added them to that app's Users and groups list. The two are configured in different places.

Usually within a few minutes, but the user's existing session can hold a stale token. Have them sign out completely, close the browser, and sign in again — or test in a private window. If it still fails after fifteen minutes, check the Entra sign-in logs for that user rather than repeating the assignment.

The error page shows the application name, but the reliable source is the Entra sign-in logs. In the Microsoft Entra admin center go to Monitoring, Sign-in logs, filter to the affected user, and open the failed entry. It shows the application, the request ID, the timestamp, and the failure reason — everything you need to fix it or to escalate.

No. AADSTS50105 means the application exists in your tenant but your account is not assigned to it. AADSTS700016 means the application was not found in the directory at all — it was never installed or consented to, or the request went to the wrong tenant. Different causes, different fixes, and it is worth reading the code carefully before troubleshooting.