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 Apps / Cannot connect to Any ...
Power Apps
Unanswered

Cannot connect to Any Third-Party Web Service from GCC

(0) ShareShare
ReportReport
Posted on by 2

I have made multiple attempts to connect to web services from PowerApps/Automate with no success. These are REST web services that do not require authentication and are properly configured for CORS.

 

This is not the only post outlining this problem Error testing custom connector in GCC , however, that post is not resolved.

 

The Error is always "Error from token exchange: Bad authorization token. The access token is from wrong audience or resource." It appears that Azure is wanting some type of token: if anyone can direct me to instructions to getting this token that would be appreciated.

 

REQUEST

Url
https://power-apis-usgov001-public.azure-apihub.us/apim/chroniclingamerica-5fba9ec1947e27bf66-5fdfec2ccf1cb2230a/7ce5b3521bdd42a29f5983141f979bc0/search/titles/results?terms=michigan&format=json
Method
get
Headers
{
"Authorization": "Bearer eyJ0eXAiOiJKV1QiL ... _ynAj_CQyBYGw",
"Accept": "application/json"
}

 

RESPONSE

Status
(400)
Headers
{
"content-length": "336",
"content-type": "application/json",
"x-ms-failure-cause": "apihub-token-exchange",
"x-ms-apihub-cached-response": "false"
}
Body
{
"status": 400,
"source": "https://power-apis-usgov001-public.token.azure-apihub.us:443/tokens/power-apis-usgov001-public/chroniclingamerica-5Fba9ec1947e27bf66-5Fdfec2ccf1cb2230a/7ce5b3521bdd42a29f5983141f979bc0/exchange",
"message": "Error from token exchange: Bad authorization token. The access token is from wrong audience or resource."
}

Categories:
I have the same question (0)
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @AlanRThompson ,

    Third-party applications and services might involve storing, transmitting, and processing your organization’s customer data on third-party systems that are outside of the Power Apps US Government infrastructure and therefore are not covered by the Power Apps US Government compliance and data protection commitments.

    We recommend that you review the privacy and compliance statements provided by the third parties when assessing the appropriate use of these services for your organization.

    Here's a doc about this in details for your reference:

    https://docs.microsoft.com/en-us/power-platform/admin/powerapps-us-government#powerapps-us-government-service-urls

    If your problem still exists, I suggest you ask for help here:

    https://powerapps.microsoft.com/en-us/support/pro/ticket/

     

     

     

    Best regards,

  • AlanRThompson Profile Picture
    2 on at

    The web service I am trying to connect to is provided by my own organization, so my question isn't about privacy and compliance, it is about a connection not working as described in the PowerApps documentation.

     

    Also, the link you suggested (https://powerapps.microsoft.com/en-us/support/pro/ticket/) gives a 404 error. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,033

#2
Valantis Profile Picture

Valantis 632

#3
11manish Profile Picture

11manish 607

Last 30 days Overall leaderboard