Microsoft 365 sign-in (Entra ID)

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

AADSTS50105 means an enterprise app requires assignment and the user has none. How admins check Assignment required and assign the user or a group safely.

By EpiFive Editorial TeamSources checked How we check our guides

What the error means

AADSTS50105 is the Microsoft Entra code EntitlementGrantsNotFound. The user signed in successfully, but the enterprise application they are opening has Assignment required set to Yes, and the user does not have a qualifying assignment. Microsoft Entra ID therefore refuses to issue a token for that app.

Microsoft's troubleshooting article says the assignment check can apply to applications that use SAML, OpenID Connect, OAuth 2.0, WS-Federation, or Application Proxy preauthentication, so the same error appears across very different apps. The fix is always in the enterprise application in Microsoft Entra ID, not on the user's device.

Common causes

  • The enterprise application's service principal has Assignment required set to Yes and the user is not assigned directly.
  • The user is only a nested member of an assigned group; Microsoft counts a group assignment only when the user is a direct member of that group.
  • Group-based assignment is used without the Microsoft Entra ID P1 or P2 license it requires.

How to fix it

1. Users: report the app name

A user cannot assign themselves to an application. Send the application name, the time and the correlation ID from the error page to your administrator or help desk, and say whether you should have access.

2. Admins: confirm whether the app should restrict access

Use an account that can update the enterprise application, such as a Cloud Application Administrator or Application Administrator, or a current owner of the service principal. Sign in to the Microsoft Entra admin center, browse to Microsoft Entra ID, Enterprise apps, All applications, select the application and then Properties, and review Assignment required.

3. Keep assignment required and assign the user or group

If only selected users and groups should have access, open Users and groups in the enterprise application and select Add user/group. Choose the user, or a group the user is a direct member of, and select an application role. If the application does not expose a named role, select Default Access. Then select Assign. Microsoft notes that Default Access satisfies the requirement but does not add a roles claim to the token.

4. Or turn off the assignment requirement

If every otherwise-authorized user in the tenant should be able to use the app, set Assignment required to No on the Properties page and select Save. Microsoft warns that this broadens token eligibility to unassigned users and applications, so make the change only if it matches your access policy. Conditional Access and the app's own authorization still apply afterwards.

5. Test with the affected user

Sign in as the user who got the error, not as a Global Administrator, because the assignment requirement does not apply to that role. As a general step, use a private browser window so an older session does not hide the result.

If nothing works

As a general step, check that you changed the enterprise application the user actually opens, in the tenant the user signs in to. If the error is AADSTS501051 instead, Microsoft says it is an app-only assignment failure and points to its guidance on restricting a Microsoft Entra app to a set of users.

What we checked

Two Microsoft Learn pages were read on 2026-11-21. The Microsoft Entra error code reference defines AADSTS50105 as EntitlementGrantsNotFound and says to assign the user to the app. The dedicated AADSTS50105 troubleshooting article explains the Assignment required check, direct and group assignment, Default Access, the license note, the two resolutions and the Global Administrator exception. The error was not reproduced for this page.

Last checked: 2026-11-21.

Official sources

Questions people ask

What does AADSTS50105 mean?

Microsoft lists it as EntitlementGrantsNotFound: the enterprise application has Assignment required set to Yes, and the user signing in has no app role assignment, directly or through a group they are a direct member of.

The user is in a group that is assigned to the app. Why do they still get AADSTS50105?

Microsoft counts group assignment only when the user is a direct member of the assigned group and advises against relying on nested group membership. Group-based assignment also needs a Microsoft Entra ID P1 or P2 license.

Why can I sign in as an admin but the user cannot?

Microsoft notes that the assignment requirement does not apply to Global Administrators, so testing with a Global Administrator does not prove the fix. Test with the affected user.

Guides that mention AADSTS50105

Not your code?

Search the error code library, or report a code we don't cover. Spotted something out of date on this page? Report a correction.