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 / HTTP Request | Azure A...
Power Automate
Unanswered

HTTP Request | Azure AD Authentication not working

(0) ShareShare
ReportReport
Posted on by 10

Hi,

I need help in setting up Azure AD authentication for HTTP request. I am trying to connect to SharePoint Online using the REST API. Even after providing the required information, I am getting Unauthorized Error.

The steps which I have done so far:

1. Registered the application using Azure AD App Registration - Tenant ID, App ID, Secret Key

2. Entered the above details in the HTTP Azure AD Authentication, but getting unauthorized error

Please find the screen shot below:

 

 

Mapping between Azure AD App Registration and Logic Apps:

Field - Azure AD

Tenant -> Azure AD Tenant hosting SharePoint Online

Audience -> Azure AD App Registration Client ID

Client ID-> Azure AD App Registration Client ID

Secret -> Secret key generated in Azure AD App Registration

 

 

Error:

 

 

Thank you.

Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi SPUser,

     

    Have you seen this doc about “Authorize access to web applications using OAuth 2.0 and Azure Active Directory”:
    https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-protocols-oauth-code

     

    And another doc for your reference:
    https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-authentication-scenarios


    Best regards,
    Mabel Mao

  • AX Learnder Profile Picture
    10 on at

    Yes, I have tried but still get the same error.

     

    I am able to make the GET request, but POST request are failing. I am not sure if this known bug in the Product.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I have the same 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

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 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard