Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archive)
Suggested answer

How do I Disable certain users from an Environment only?

(0) ShareShare
ReportReport
Posted on by 5

Hello All,

We have Dynamics 365 E5 users who have Dynamics 365 CRM (CE) environment.

We have created multiple environments like PROD, TEST, DV, UAT. I need to Disable some users from PROD and UAT environments. I am unable to find that button to click "Disable" and the user gets disabled. 

pastedimage1626973147904v1.png

  • Suggested answer
    Venkatesh Nadar Profile Picture
    on at
    RE: How do I Disable certain users from an Environment only?

    In the instance > Open the Settings menu The Settings menu icon. at the top of the page and select Advanced Settings > Security > Users > select the user > click on Manage security roles and uncheck the  Security roles assigned.

    Or

    https://admin.powerplatform.microsoft.com/ > select the environment > Settings > Users > select the user > click on Manage security roles and uncheck the  Security roles assigned.

  • Amirshahzad Profile Picture
    5 on at
    RE: How do I Disable certain users from an Environment only?

    Thank you Venkatesh, I joined this org a few months back so I found it this way that security group was not assigned to the environments and yes you are right that it should have been a security group and not individual users. I'll check how to remove security roles from a user, if you have any step by step document recommendation then let me know.

  • Amirshahzad Profile Picture
    5 on at
    RE: How do I Disable certain users from an Environment only?

    Thank you Mehdi, Will try this and update you.

  • Suggested answer
    Venkatesh Nadar Profile Picture
    on at
    RE: How do I Disable certain users from an Environment only?

    Hi,

    The quick and dirty way is not to assigned any security role to the user that should not have an access to the CRM environment.

    Or

    Create an Office 365 security group and assign the Office 365 security group in Dynamics CRM “instance security group” field.

    Control user access to environments: security groups and licenses - Power Platform | Microsoft Docs

    By assigning an Office365 security group, it will minimize the number of users listed in Microsoft Dynamics CRM Online user list, thus easier to manage.

    Regards,

    Venkatesh N

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Suggested answer
    meelamri Profile Picture
    13,198 User Group Leader on at
    RE: How do I Disable certain users from an Environment only?

    A user without a security role cannot access an organization

    So you need to remove all the security roles for the users you don't want to give access to the dev and uat environments. This operation has to be done on each environment

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

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,860 User Group Leader

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,155 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans