cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Learnfromyou
Level: Powered On

error code: XrmAdminRequestFailed

I am in the government flow cloud, and just trying to make a VERY simple flow. 
Screen Shot 2019-05-29 at 4.51.00 PM.png
 
But everytime I get this error:
{
"error": {
"code": "XrmAdminRequestFailed",
"message": "The call to the XRM admin service failed with status code 'Forbidden' and message: ''."
}
 
I have all the admin rights access. 
}
9 REPLIES 9
Super User
Super User

Re: error code: XrmAdminRequestFailed

Hi @Learnfromyou , 

 

You can try by deleting the current connection to Approval and adding a new one and try again. Go to Data -> Connections and you should see the Approvals connection over there. Delete and make a new one and it should work. Please see the screenshot below: 
rrrr.png

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Learnfromyou
Level: Powered On

Re: error code: XrmAdminRequestFailed

Hi, I deleted from connection and now getting this error: 

{
"status": 404,
"source": "https://power-apis-usgov001-public.token.azure-apihub.us:443/tokens/power-apis-usgov001-public/appro...",
"message": "Error from token exchange: The connection (power-apis-usgov001-public/approvals/shared-approvals-33xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) is not found. Please create new connection and change your application to use the new connection."
}

 

I also created multiple times of the similar flow with different log in account and still doesnt work. 

Super User
Super User

Re: error code: XrmAdminRequestFailed

Hey! Did you create the new connection to approvals? 

 

Can you share a screenshot of the expanded flow? 

 

Also, please refer to this 

 

"Microsoft disconnected Common Data Services at their end a couple weeks ago. That's why Approval connector failed to work. To solve the issue, your O365 global admin needs to create a database at your tenant site. That will solve this issue. "

 

From : https://powerusers.microsoft.com/t5/General-Flow-Discussion/Approval-Flow-Failed-Today-at-28-May-201...

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Learnfromyou
Level: Powered On

Re: error code: XrmAdminRequestFailed

yes i deleted the old Create an Approval V2 step and created a new Create an Approval V2 step. Still the same error.

 

Capture.JPG

Community Support Team
Community Support Team

Re: error code: XrmAdminRequestFailed

Hi @Learnfromyou ,

 

I agree with @yashag2255 that this is related to upgrade of CDS database.

For details, please refer to the following blog:

Remember-to-upgrade-your-previous-version-cds-database-to-preserve-flow-approvals-history-or-entity-...

Besides, please check this similar thread and see if it helps:

https://powerusers.microsoft.com/t5/I-Found-A-Bug/Approvals-stop-working-492-Error-code/m-p/291940#M...

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Learnfromyou
Level: Powered On

Re: error code: XrmAdminRequestFailed

How to upgrade my CDS? The gov cloud just got activated for us about 10 days ago... do we have control to upgrade that?

Learnfromyou
Level: Powered On

Re: error code: XrmAdminRequestFailed

Follow up about this issue....

jfierro
Level: Powered On

Re: error code: XrmAdminRequestFailed

Any updates about this?

We are facing the exactly same error.

Ahess543
Level: Power Up

Re: error code: XrmAdminRequestFailed

I am also getting same error. With the correct configuration. (GCC)

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 234 members 4,413 guests
Please welcome our newest community members: