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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Permissions in Security Groups dont show up when copying an Environment from Sandbox to Sandbox

(7) ShareShare
ReportReport
Posted on by 564
Hi all, 
 
I am getting into this weird configuration issue. 
 
Whenever I create a copy of any sandbox or environment, the security groups permissions vanish. I have to copy them over again. Does anyone know what the issue could be. 
 
Regards,
 
Categories:
I have the same question (0)
  • Navneeth Nagrajan Profile Picture
    2,182 Super User 2025 Season 2 on at
    Permissions in Security Groups dont show up when copying an Environment from Sandbox to Sandbox
    Hi Hatimali84,
     
    Question:
    Which suite of product are we referring to here in the Dynamics 365 suite of products: Finance, Supply Chain, Human Resources, Customer engagement, Field Service, Sales etc.?
  • Hatimali84 Profile Picture
    564 on at
    Permissions in Security Groups dont show up when copying an Environment from Sandbox to Sandbox
    Its in Business Central D365
  • Jonas "Jones" Melgaard Profile Picture
    4,894 Super User 2025 Season 2 on at
    Permissions in Security Groups dont show up when copying an Environment from Sandbox to Sandbox
    Moved from the General forum to the SMC forum that supports Business Central. Hope you don't mind.
  • Suggested answer
    YUN ZHU Profile Picture
    93,208 Super User 2025 Season 2 on at
    Permissions in Security Groups dont show up when copying an Environment from Sandbox to Sandbox
    I have not encountered this problem. Although there are the following restrictions when copying the environment, there is no mention of Security Groups.
    When an environment is created as a copy of another environment, a number of precautions are taken for that copy:
     
    It is recommended to submit a SR to Microsoft to assist in the investigation.
     
    Thanks.
    ZHU
  • Suggested answer
    Hatimali84 Profile Picture
    564 on at
    Permissions in Security Groups dont show up when copying an Environment from Sandbox to Sandbox
    Hi All, 
     
    Thank you for your responses. 
    We figured out the issue. 
    It was happening because then environment i was copying had 7 companies and i was deleting 4 companies from it and the permissions were assigned to those 4 companies and when i deleted those companies it would delete the security group as well and then i had to import the security groups again. 
     
    I hope this helps. 
  • Jun Wang Profile Picture
    8,184 Super User 2025 Season 2 on at
    Permissions in Security Groups dont show up when copying an Environment from Sandbox to Sandbox
    Here is a nice video about security groups 
     
     
  • Hatimali84 Profile Picture
    564 on at
    Permissions in Security Groups dont show up when copying an Environment from Sandbox to Sandbox
    @JunWang, thanks for sharing the video, the issue was something else. When system cannot find that entity in the environment, it removes those security groups which were part of it 
  • Suggested answer
    Jainam M. Kothari Profile Picture
    12,148 Super User 2025 Season 2 on at
    Permissions in Security Groups dont show up when copying an Environment from Sandbox to Sandbox
  • Suggested answer
    Jeffrey Bulanadi Profile Picture
    8,433 on at
    Permissions in Security Groups dont show up when copying an Environment from Sandbox to Sandbox

    Hi Hatimali,

    You're absolutely right — copying a sandbox environment in Power Platform or BC doesn’t preserve security group associations by default, which leads to missing permissions post-copy.

    Let’s break down what’s happening and what you can do:
     

    1. Why security group permissions vanish after copying
      • When you copy an environment, the users and groups are duplicated, but security group associations are not retained
      • Users are not automatically re-added to the copied environment’s security group
      • Even if the group exists, its link to the environment must be manually re-established
      • This behavior is consistent across sandbox-to-sandbox and production-to-sandbox copies
         
    2. What happens behind the scenes
      • The copied environment gets a new GUID and metadata
      • Security groups are tenant-level objects, but their environment-level bindings are not cloned
      • Users may appear in the environment but are marked as disabled until re-added to the correct group
      • Without a security role and group membership, users can’t access apps or data
      • How to resolve the issue Here’s a checklist to restore access:
         
    3. Reassociate the security group manually Go to Power Platform Admin Center > Environments > Select copied sandbox > Edit > Security group Choose the correct Microsoft Entra security group and save
      • Run user diagnostics In the Admin Center, select a user > Run diagnostics This syncs Azure AD with Dataverse and resolves most access issues
      • Assign security roles again Even after group reassignment, users need at least one role (e.g., Environment Maker) to access the environment
      • Wait for sync or force login Sometimes users won’t appear until they log in to the environment You can also trigger sync by assigning a role or running diagnostics


    Helpful references:

    Environment copy behavior – Microsoft Docs
    Control user access with security groups – Microsoft Docs
    Why users can’t see environments – Michael Roth Blog



    If you find this helpful, feel free to mark this as the suggested or verified answer.


    Cheers
    Jeffrey

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 2,828

#2
Sumit Singh Profile Picture

Sumit Singh 2,617

#3
YUN ZHU Profile Picture

YUN ZHU 1,861 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans