cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Purnendu_P
New Member

Error while copying environment - Canvas App not coppied

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()

 

 
1 REPLY 1
Administrator
Administrator

Re: Error while copying environment - Canvas App not coppied

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!

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (7,205)