Skip to main content

Notifications

Power Automate - General Discussion
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:
  • Re: Invoke an http request - The response is not in a JSON format - 401

    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 😅!

  • VictorIvanidze Profile Picture
    VictorIvanidze 11,853 on at
    Re: Invoke an http request - The response is not in a JSON format - 401

    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.

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

    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!

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard