Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM 2013: Message Appearing Saying I need to Assign Roles to Users, but only Disabled Users Missing Roles

Posted on by Microsoft Employee

Hello;

When I log into the CRM system, Version 2013, I get a message saying that I need to Assign Roles to certain users, the problem being that the only users who I need to assign roles to have been disabled since they are no longer with the company.

When I run this query:

SELECT FullName, DomainName, IsDisabled
FROM onecrm_mscrm..SystemUserBase
WHERE SystemUserId NOT IN (SELECT SystemUserId FROM onecrm_mscrm..SystemUserRoles)

I get a list of 12 Users, but they are all disabled in the CRM system, (IsDisabled  = 1), so I cannot add a security role to them, and their user IDs are invalid since they have left the company, and resolve the issue.

Is there another way of taking care of this issue, so that I stop seeing the message?

Thanks

Gerry Broderick

*This post is locked for comments

  • Suggested answer
    Alagunellaikumar Profile Picture
    Alagunellaikumar 6,210 on at
    RE: CRM 2013: Message Appearing Saying I need to Assign Roles to Users, but only Disabled Users Missing Roles

    Hi

    Only way is you have to enable the user and assign security role to him and disabled it back

  • Verified answer
    PS Profile Picture
    PS 23,577 on at
    RE: CRM 2013: Message Appearing Saying I need to Assign Roles to Users, but only Disabled Users Missing Roles

    It might not be important in your case, but many users want that they must be able to assign records to disabled users as well and thats why you should never remove a security role while disabling a user; disabling itself removes license but not the role.

    Here's a good example of why you need roles for disabled users:

    www.powerobjects.com/.../assigning-records-to-inactive-users-dynamics-crm

    community.dynamics.com/.../129340

    What you can do probably is, enable users>>assign them roles and then disable them back

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans