# Entra AADSTS50105: user is not assigned to the application

The user signed in to Entra, but the enterprise application requires assignment and neither the user nor any of their groups is assigned to it.

## What to change

- **IT admin:** in the enterprise application, open _Users and groups_ and assign the user or a group they belong to.
- **IT admin:** alternatively turn off _Assignment required_ in the application's properties, if every user in the tenant may use the app.
- **Developer:** nothing to change on your side. The request never reaches OhAuthCat, so it does not appear in sign-in history.

## Related OhAuthCat error

None. OhAuthCat never receives this request, so it has no matching error code; the error appears only in the IdP.

## Source

Written in our own words from the public Microsoft Entra ID documentation: [https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes](https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes). Check it for the vendor's current wording; vendors change their pages without notice.
