Thank you for posting this in Microsoft Q&A.
Could you please check which roles the user holds by reviewing the assigned roles on the user’s page in Microsoft Entra ID? If the user has the Global Administrator (GA) role, they will be able to access the application even though the "User assignment required?" flag is set to YES.
This behavior is by design to handle scenarios where:
- The list of assigned users is removed, preventing the app from becoming orphaned.
- After the app is initially provisioned, administrators need to assign users or app owners.
Since Global Administrators have full control over Entra ID, they can bypass the user assignment restriction and access the application. If you want to strictly enforce access control, you may need to implement custom authorization rules within your application to validate user roles and claims.
For more details, you can refer to the following documentation:
Microsoft Entra built-in roles
Secure applications and APIs by validating claims
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.