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 :
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 663
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,533 Super User 2026 Season 1 on at
    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
    663 on at
    Its in Business Central D365
  • Jonas "Jones" Melgaard Profile Picture
    5,010 Most Valuable Professional on at
    Moved from the General forum to the SMC forum that supports Business Central. Hope you don't mind.
  • Suggested answer
    YUN ZHU Profile Picture
    99,055 Super User 2026 Season 1 on at
    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
    663 on at
    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,208 Moderator on at
    Here is a nice video about security groups 
     
     
  • Hatimali84 Profile Picture
    663 on at
    @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
    15,732 Super User 2026 Season 1 on at
  • Suggested answer
    Jeffrey Bulanadi Profile Picture
    9,112 Super User 2026 Season 1 on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans