cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
poortom1004
Regular Visitor

Custom Connector in GCC High not working for MS Graph API

I developed a power apps canvas app leveraging a custom connector that uses the Microsoft Graph API.  I migrated the solution to a GCC High environment and noticed I had to change some things around, such as using graph.microsoft.us instead of graph.microsoft.com. 

I have updated the Host to graph.microsoft.us

I have updated the Resource URL to https://graph.microsoft.us

I have updated the Request in the definition to use https://graph.microsoft.us as the base of each request for each action.  I.e. https://graph.microsoft.us/groups.

I also created the associated app registration and provided the client ID and secret for use with the connector.

I created the connector but when I go to create a connection for the app, I get this error:

OAuth2 authorization flow failed for service 'Azure Active Directory'. OAuth 2 sign in failed to exchange code for access token. Client ID and secret sent in form body.. Response status code=BadRequest. Response body:

Confidential Client is not supported in Cross Cloud request.

1 ACCEPTED SOLUTION

Accepted Solutions
poortom1004
Regular Visitor

The issue was the Login URL.  It needs to be changed to https://login.microsoftonline.us.  There doesn't seem to be any obvious documentation stating this anywhere, but Microsoft Support confirmed that GCC High environments should change the value to the one I just provided.

View solution in original post

1 REPLY 1
poortom1004
Regular Visitor

The issue was the Login URL.  It needs to be changed to https://login.microsoftonline.us.  There doesn't seem to be any obvious documentation stating this anywhere, but Microsoft Support confirmed that GCC High environments should change the value to the one I just provided.

View solution in original post

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Kudoed Authors
Users online (28,698)