Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ukH9Ga58QrBFDTDP9rCY7B
Power Automate - Using Connectors
Unanswered

Creating a Microsoft Bookings Customer using Graph API through HTTP Connector

Like (0) ShareShare
ReportReport
Posted on 1 Oct 2023 22:47:42 by 2

Hello!! I’m trying to use Microsoft Graph API to create bookings customers automatically using power automate.

I’ve registered an application in my tenant and retrieved the Tenant ID, Application ID, and client secret.

I’ve allocated the application the required permissions with admin consent:

alexiscool0134_0-1696200216870.png

Using the HTTP connector, I filled in the Active Directory OAuth requirements with my registered application details (Tenant ID, Application ID, secret) as well as method, URI and Body parameters.

alexiscool0134_1-1696200245505.png

When I run the flow I get a 401 error.

alexiscool0134_6-1696200334670.png

 

 

"code""UnknownError",

    "message""{\"error\":{\"message\":\"Bad gRPC response. HTTP status code: 401\",\"code\":\"Unauthorized\"}}",

 

alexiscool0134_3-1696200283076.png

 

Any help would be appreciated! 

  • alexiscool3104 Profile Picture
    2 on 02 Oct 2023 at 02:35:17
    Re: Creating a Microsoft Bookings Customer using Graph API through HTTP Connector

    Hey Sudeep, thanks for your reply. 

     

    Unfortunately my account doesn't have the permissions to use the API, so if i create a connection using HTTP with Azure AD, it wont have the correct permissions to perform the action. 

     

    That's why I wanted to use the app registration, which I have granted the permissions required. Can i somehow specify in that action that I want to use the app registration? 

  • SudeepGhatakNZ Profile Picture
    14,318 Most Valuable Professional on 02 Oct 2023 at 02:10:41
    Re: Creating a Microsoft Bookings Customer using Graph API through HTTP Connector

    @alexiscool0134 ,

     

    There are several HTTP actions available in Power Automate I use the one given below.

    If you use this action, you need not worry about authentication.

    SudeepGhatakNZ_0-1696212463692.png

    When you configure the action for the first time, provide the following url:

     

    https://graph.microsoft.com

     

    SudeepGhatakNZ_1-1696212588682.png

     

     

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Using Connectors

#1
DBO_DV Profile Picture

DBO_DV 25 Super User 2025 Season 1

#2
CU09051456-0 Profile Picture

CU09051456-0 22

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 21 Super User 2025 Season 1

Overall leaderboard

Featured topics

Loading started