Showing results for 
Search instead for 
Did you mean: 
Kudo Kingpin
Kudo Kingpin

MS Flow approvals don't work: Encountered internal server error from the XRM API.

Does anyoe know why we cannot approve/decline anything?



When we click on "Approve" or "Declined" and then "Submit" - we just get an error: "Encountered internal server error from the XRM API. "



More details

- We are using non-default environment

- Database for the envrionment is created (took ~50 minutes)

- We are using a free MS Flow license to test the flow. We do have Plan 2 licenses, but only to create environments.
- If we go to the site and then click on the approval the screen never finish loading. It's just blank.

- Googling "Encountered internal server error from the XRM API." error yelded no results


I can provide any addition information if needed!


Any help or comments will be greatly appreciated. 



Accepted Solutions

Hello, we have deployed a fix. Will you please give it another try?

View solution in original post

Community Support
Community Support

Hi @DenisMolodtsov,


What’s your current situation? Are you still having the issue?


Does it work for you before?


I am not sure if there are any updates in your region. I have tested it in a non-default environment and the region is Asia, the page of Start an approval works fine.


Could you please try with a different region on your side?



Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The situation is this:


- Q: Did it work earlier? 

- A: We are only starting to develop Approval workflows. We did have multiple Flows already, but non of them contained approval steps.


- Q: Do we still have an issue?

- A: yes, we still do.



- Q: Did you try other regions?

- A: Yes, we have just tested Environment created in the US region and approvals/rejecitons come through with no errirs. All Canadian-based non-default environments manifest the issue described.


I have tried approvals in 4 different tenants and 4-5 non-default environments that are all in the Canadian region. All default environments work just fine. None of the non-default environments can approve or reject any Approval requests. US-based environment works. 


1. Development tenant (Where we develop everything). Environments:

- Default (Canada). Approvals work

- Dev (Canada). Env. Type: Production. Approvals cannot be accepter/rejected (Encountered internal server error from the XRM API...)

- Test (Canada). Env. Type: Production. Approvals cannot be accepter/rejected (Encountered internal server error from the XRM API. The tracking Id is '1d585244-af90-4ca0-9ac8-c338985ba57c'.)


2. Personal Business essentials tenant. Environments:

- Default (Canada). Approvals work


3. Office365 free Dev tenant. Environments

- Default (Canada). Approvals work


4. Production tenant 1. Environments:

- Default (Canada). Approvals work

- Staging (Canada). Approvals cannot be accepter/rejected . See example below

- Dev (Canada). Approvals cannot be accepter/rejected

- US (US region) Approvals/rejections work with no issues


Canada.pngCanada 2.png



Kudo Kingpin
Kudo Kingpin



We have found two old Canadian envrionments created on June 6th. Approvals/Rejections work there. But these are old throwaway Envrionments we are not using.

Kudo Kingpin
Kudo Kingpin

Way to replicate the issue:

- Create a new environment in Canadian region. (yes, new. and yes, pick Canadian region. Don't test it against 6 months old envrionments)

- Create a simple approval Flow

- Run it and see what happens. Did you get an email? Can you approve/declone?

There are some issues in approvals: 

It's nice to know that we are not alone with this issue. I am really curious though what is going happen. Is there any more information apart from this short message?


Warning: Starting September 10, 2018 at 4:00pm PDT, users may recieve errors when attempting to respond to approvals in some environments.

Hello, we have deployed a fix. Will you please give it another try?

View solution in original post

@dkappes Thank you! I have just tested approvals and they are finally  getting through. I can approve and reject. I will keep an eye on it, but so far it seems to be working fine.

Thank you so much for your patience, and I apologize for the inconvenience. An underlying API unexpectedly changed behavior in some (mostly newer) environments and it took us a while to root cause it.


Running into this error as of first thing this morning with Approvals in MS Flow.  Getting the error message: 

"Encountered internal server error from the XRM API" then it provides the GUID.  


We're building business processes on this... can someone please do regression testing before releasing changes??

Not applicable

I second that comment - please do regression testing!

We have a business-critical process that relies on Flow (Power Automate) and approvals, with option to reassign approval. Today, we are unable to reassign - get the lovely internal server error.

Same here, this error is holding up several processes of ours. 

Hi. Yes, we did recently introduce a regression in the reassignment behavior. The fix is currently deploying and is currently scheduled to reach the US on Monday, 12/9.

Helpful resources

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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,546)