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 / Microsoft Graph - Http...
Power Automate
Answered

Microsoft Graph - Http request failed as there is an error getting AD OAuth token

(0) ShareShare
ReportReport
Posted on by

I'm trying to invite external users but getting an error "Http request failed as there is an error getting AD OAuth token: 'AADSTS90038: Tenant '----------' request is being redirected to the National Cloud 'MicrosoftOnline.COM'."

It triggers when a SP List item is created or modified.  The SP List has the email address of the external user (column: Title).
I got the Client ID, Tenant ID, and Secret from our Global Admin who registered the app in Azure.

We are also in Government cloud (GCC). 
HTTP ActionHTTP Action

*The typo (InvitedUserEmailAddress) on the above screenshot is not the cause, it has been fixed and still the same error.

Categories:
I have the same question (0)
  • Verified answer
    Aethyta Profile Picture
    on at

    I got this to work by using below under Authority field

    https://login.microsoftonline.com

     

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard