Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
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
    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
    Amirshahzad 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
    Amirshahzad 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
    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
    meelamri 13,212 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans