cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aKnowledgeWorke
Frequent Visitor

Dynamics 365 (CE) - Flows Failing in restored environment

Hi,

We have Dynamics 365 CE (current ver 9.2.x).  Our solution has 16 "cloud flows" (Power Automate flows).  

 

I recently restored Production back into our Training environment, and all flows were "off".  Turning them back on generated an error ("unexpected error").  If I look at the individual flows, they show as having no connection references.  Editing the Dataverse connection step with a known good account and trying to save it generates:

 

Request to XRM API failed with error: 'Message: An unexpected error occurred. Code: 0x80040216 InnerError: '.

 

The account and credentials are definitely correct.  I have tried swapping credentials to another sys admin account and trying to save - no success there either.  My understanding is that all the dataverse (and legacy Common Data Service) connections referenced the current environment by default, so I don't understand what's going on.  There are multiple connection references in the Default Solution for the same (service) account, but this doesn't seem to have caused issues previously in other environments.

 

Can anyone help?

 

cheers,

Steve.

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @aKnowledgeWorke ,

 

Based on the thread below, you may be able to get the flow to run after enable the administration mode of this environment:

https://powerusers.microsoft.com/t5/Using-Flows/Power-Automate-Flow-Triggers-not-working-Common-Data...

 

According to this blog:

https://crmtipoftheday.com/1351/flows-not-triggering-after-an-environment-copy/

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

2 REPLIES 2
v-jefferni
Community Support
Community Support

Hi @aKnowledgeWorke ,

 

Based on the thread below, you may be able to get the flow to run after enable the administration mode of this environment:

https://powerusers.microsoft.com/t5/Using-Flows/Power-Automate-Flow-Triggers-not-working-Common-Data...

 

According to this blog:

https://crmtipoftheday.com/1351/flows-not-triggering-after-an-environment-copy/

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

aKnowledgeWorke
Frequent Visitor

thank you!.  I also found that Publishing All Customizations worked.  I suspect both actions generate some kind of reset for the environment...

Steve.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Kudoed Authors
Users online (1,636)