web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / error code: XrmAdminRe...
Power Automate
Unanswered

error code: XrmAdminRequestFailed

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
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. 
}
Categories:
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous , 

     

    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!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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/approvals/shared-approvals-33a9687b-b48a-4454-bd84-4c54b4bc9e2b/exchange",
    "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. 

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    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-2019/m-p/291808#M25019

     

    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!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    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-data

    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#M4498

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

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

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Follow up about this issue....

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Any updates about this?

    We are facing the exactly same error.

  • Ahess543 Profile Picture
    9 on at

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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard