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:

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.

When I run the flow I get a 401 error.

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

Any help would be appreciated!