web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Error when trying to assign a security role to a user

(0) ShareShare
ReportReport
Posted on by 2
Hi Everyone,
We are having an issue with MS Dynamics 365
We need to assign security roles to 2 users.
For the 1st user, it worked correctly.
For the second, we got the error "Failed to assign role : User must be enabled or Organization setting AllowRoleAssignmentOnDisabledIsers must be turned on for assigning security role to disabled user."
I checked on Entra ID and both users are enabled.

I checked in the list of users on the Environment.
The first user has 2 entries, a disabled stub and an enabled account.
We were able to assign a security role on the user.
 
The second only has a disabled stub account and is causing the error.
 
So, how can the second user be 'Enabled' ?
Categories:
I have the same question (0)
  • CU09091142-0 Profile Picture
    2 on at
    Error when trying to assign a security role to a user
    Hello Andre, it is for Dynamics Sales.
  • André Arnaud de Calavon Profile Picture
    297,544 Super User 2025 Season 2 on at
    Error when trying to assign a security role to a user
    Can you tell us what Dynamics 365 application this question is related to? There are several different solutions in the Dynamics 365 family, like Sales, Finance, Supply Chain Management, Project Operations, Business Central, and Customer Insights.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 253

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 90 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans