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

Announcements

No record found.

News and Announcements icon
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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 176

#2
ManoVerse Profile Picture

ManoVerse 56 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans