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 / Invoke an http request...
Power Automate
Unanswered

Invoke an http request - The response is not in a JSON format - 401

(0) ShareShare
ReportReport
Posted on by 105

Hi,

I need to get users custom attributes by invoke an http request. I have done a test but I am getting an error (The response is not in a JSON format.) 

 

YAYA_0-1660036817352.png

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @YAYA,

     

    If I understand correctly you want to connect to Microsoft Graph API using Power Automate. To do this you first need to create an App Registration in Azure AD in which you define the Graph API permissions. This article explains how to do that:

    https://www.msautomate.com/2022/06/15/create-an-app-registration-for-microsoft-graph-api/

     

    After that you can connect to your App Registration from within your Power Automate flow using the HTTP connector. How to set this up is explained in this article:

    https://www.msautomate.com/2022/06/15/graph-in-power-automate-http-connector/

     

    I hope this solves your problem!

  • VictorIvanidze Profile Picture
    13,079 on at

    Hi @Anonymous,

    you don't need to  create an App Registration in Azure AD if you are using the action "Send an HTTP request " from "Office 365 groups" connector.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @VictorIvanidze,

    You are absolutely right. I did not think about that connector, but yeah, that would not need an App Registration in AAD. Nevertheless, I don't think my solution was wrong 😉, yours is just easier in this case 😅!

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 293

#2
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 223 Most Valuable Professional

Last 30 days Overall leaderboard