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 / Creating a Microsoft B...
Power Automate
Unanswered

Creating a Microsoft Bookings Customer using Graph API through HTTP Connector

(0) ShareShare
ReportReport
Posted on by 6

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! 

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @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

     

     

     

  • alexiscool3104 Profile Picture
    6 on at

    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? 

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard