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

Error testing custom connector in GCC

I'm getting the following token error when trying to test a new custom connector.

 

Is this an issue or limitation with the current state of the Government Community Cloud (GCC) instances of PowerApps?

 

-

During the setup of a new connector, when clicking "Test operation" on step 4. Test.

 

Error Message:   Operation failed (400), see response below
 
Request
Method get
Headers
{
"Authorization": "Bearer ........"
}
 
Response
Status
tokenexchange (400)
Headers
{
"content-length": "340",
"content-type": "application/json",
"x-ms-apihub-cached-response": "false",
"x-ms-failure-cause": "apihub-token-exchange"
}
Body
{
"status": 400,
"source": "https://power-apis-usgov001-public.token.azure-apihub.us:443/tokens/power-apis-usgov001-public/nd.2D...",
"message": "Error from token exchange: Bad authorization token. The access token is from wrong audience or resource."
}
 
7 REPLIES 7
Community Support Team
Community Support Team

Re: Error testing custom connector in GCC

Hi @ecornell ,

 

You should use a different set of URLs to access PowerApps US Government

More information:

powerapps-us-government#powerapps-us-government-service-urls

 

And more information about GCC

powerapps-us-government

 

Hope this could be helpful.

 

Best Regards.

Yumia

ecornell
Level: Powered On

Re: Error testing custom connector in GCC

We are using the new government URLs to create and test the connector.

 

https://gov.web.powerapps.us/environments/Default-2dea0464-da51-4a88-bae2-b3db94bc0c54/customconnectors

TopShelf-MSFT
Level 10

Re: Error testing custom connector in GCC

Hi @ecornell are you still receiving this error? 

 

@TopShelf-MSFT 

ecornell
Level: Powered On

Re: Error testing custom connector in GCC

Yes, the error is still occuring.

jayeshmhatre
Level: Power Up

Re: Error testing custom connector in GCC

Is this issue resolved? We're still getting this on our environment. Thanks.

ecornell
Level: Powered On

Re: Error testing custom connector in GCC

No, custom connectors are still broken in our GCC environment.

ThinkHaven
Level: Power Up

Re: Error testing custom connector in GCC

Hi, I'm working for another organization using GCC and we are running into this same error message while doing the same thing. We've validated in a regular commercial tenant that everything works as expected but the same settings in a GCC tenant are resulting in this error.

We thought it could have something to do with the fact that my organization is using a Commercial Azure tenant while the Office 365 tenant is GCC. Are you setup the same way or is everything GCC? If not, then it could just be an issue with GCC in general and Microsoft needs to look further into this...

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,472)