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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Users automatically added to multiple environments

(0) ShareShare
ReportReport
Posted on by 15

Hi there,

We have 2 PowerApps applications each in there own environment. These are used by two different groups of users. However, whenever we add a user to one environment, they're automatically added as an enabled user to the second environment. While they won't be able to access the application as they don't have security roles assigned to them, the Enabled Users view is cluttered with users who don't actually use the application and there's a risk that they might unknowingly be included on a mail intended for the application users.

Does anyone have a suggestion as to how to go able disabling these users in a single environment and how to prevent them from being automatically added to the second environment?

Thanks.

Cath

I have the same question (0)
  • Suggested answer
    Shaina Profile Picture
    on at

    Hi Cath, 

    In a tenant if a user has the appropriate licenses assigned, to access environments, the users sync into all the environments automatically. You can restrict user access to different environments by using security groups. You will need to create security groups in the Microsoft 365 admin center, add users to those groups and associate groups to your environments in the Power Platform admin center. 

    All the details and instructions to implement this is listed here: https://docs.microsoft.com/en-us/power-platform/admin/control-user-access

    Regards,

    Shaina

    Please mark this as verified if it was helpful. 

  • LuHao Profile Picture
    40,892 on at

    Hi Cath,

    Security groups provide controlled access to a particular environment, So you can create a security group.

    Please refer to docs.microsoft.com/.../control-user-access.

    Here are steps.

    1.Add a group (Sign in to the Microsoft 365 admin center)

    8272.png

    2. Change the type to Security group, add the group Name and Description. Select Create > Close.

    7624.png

    3. Select the group you created, and then click all and management members.

    64241.png

    4.clcik + Add members, Select the users you need to add to the security group, and then select Save > Close several times to return to the Groups list.

    3240.png

    5.Now you can see it.

    5241.png

    6. Associate a security group with an environment

    (1) go to Power Platform admin center to edit the environment that you selected.

    8321.png

    (2) In the Settings page, click pencil button and select security group that you created.

    6138.png

    (3) click finish and save button.

    In this way, all users in the environment that are not members of the group will be disabled.

    Best regards

    Leah

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans