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...
Unanswered

Error while copying environment - Canvas App not coppied

(0) ShareShare
ReportReport
Posted on by 8

Hi,

 

I am trying to copy my production to a sandbox environment of D365. I am getting error while copying which is preventing full copy of the environment. Any help to understand and resolve the error will help. 

 

I received the error which says as below: (I have masked the environment GUID)-

 

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">System.AggregateException: One or more errors occurred. ---&gt; Microsoft.Crm.CrmException: Code: CanvasAppEnvironmentMismatch Message: The specified app 'XXXXXXXXXXXXXXXXXXXXXXXX' belongs to the environment 'XXXXXXXX-XXXXXXXXXXX35' and not 'XXXXXXXXXXXXXXXXXXXXX97374' which is the environment associated to instance 'XXXXXXXXXXXXX-ee75af40cfb5'. Client Request Id: .

   at Microsoft.Crm.ObjectModel.PowerAppsValidation.PowerAppsServiceResult[T](ResourceResult`1 powerAppsServiceResult)

   at Microsoft.Crm.Tools.Core.ImportExportPublish.ImportCanvasAppHandlerInternal.&lt;ImportCanvasAppSolutionDefinition&gt;d__25.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

 

 
I have the same question (0)
  • CJustin Profile Picture
    262 on at

    I recommend opening a support ticket with Microsoft.

    This resource would help meanwhile...

    https://docs.microsoft.com/en-us/dynamics365/admin/copy-instance

    I hope this helps!

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 April Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 109

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 76 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 58 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans