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 / Error “invalid_grant /...
Power Automate
Unanswered

Error “invalid_grant / AADSTS50013” in Microsoft Bookings Power Automate trigger

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

We are experiencing an issue with the Microsoft Bookings connector in Power Automate when trying to configure the “When an appointment is created” trigger.

When opening the “Booking page” dropdown in the trigger configuration, no Bookings pages are loaded. Instead, an internal error is returned, and the trigger becomes marked as “Invalid parameters”, preventing the flow from being saved or executed.
 
Failed to get onBehalfOf access token: connectionid=microsoftbookings, message:
{"error":{"v":"invalid_grant","error_description":"AADSTS50013: Assertion failed signature validation.
Reason - Key was found, but use of the key to verify the signature failed. Thumbprint of key used by
client: 419B0F7A4BD906344A938193CCE9303DD63F5ECF. Found key 'Start=02/21/2026 06:30:06,
End=02/21/2031 05:03:09'. Please visit the Azure Portal, Graph Explorer or directly use MS Graph to
see configured keys for app id '00000000-0000-0000-0000-000000000000'. Review the documentation at
https://docs.microsoft.com/en-us/graph/deployments to determine the corresponding service endpoints
and https://docs.microsoft.com/en-us/graph/api/application-get?view=graph-rest-1.0&tabs=http to build
a query for configured keys. Request details: Refer to the following trace ID when opening a support
ticket: xxxxxx. {"error_code":50013}"}}
clientRequestId: 608a0ca8-43cd-4aa4-a35a-50267ecf21af
serviceRequestId: 00000000-0000-0000-0000-000000000000
Trace ID: 10d5df42-a014-4ad3-a35a-50f26f940207
Correlation ID: b8965e4a-99e6-4ce7-b1fe-0832-64638db12425
Timestamp: 2026-03-27T11:12:17.2Z.
 
Has anyone else encountered this issue?

Any guidance on possible causes, whether it is a connector bug, or if there are required Azure AD or permissions adjustments, would be greatly appreciated.

Thank you!

error.jpg
Categories:
I have the same question (0)
  • Sunil Kumar Pashikanti Profile Picture
    2,318 Moderator on at
     
     
    This isn’t a flow or permission issue. The AADSTS50013 / invalid_grant error means the Microsoft Bookings connector can’t acquire an on‑behalf‑of token from Entra ID, so it can’t even list booking pages.

    The App ID in the error is Microsoft‑owned, so rotating keys or changing Azure AD settings won’t help. When this happens, the trigger shows “Invalid parameters” and the flow can’t be saved.

    Your Action Plan
    Hard Reset the Connection: Don’t just "fix" the connection. Go to Data > Connections, delete the Microsoft Bookings connection entirely, and create a brand-new one. This forces a fresh login and new tokens.
    Check Conditional Access: Ask your IT Admin if there’s a policy requiring MFA or a "Compliant Device" for the Bookings app. If there is, the connector will fail every time because it can’t perform MFA for you in the background.
    Escalate to Microsoft: If a fresh connection doesn't work, it’s a backend bug. Open a ticket and provide the Correlation ID, Timestamp, and Error Code. They are the only ones who can see why the "On-Behalf-Of" flow is failing on their end.

    If a new connection doesn't fix the "Invalid Parameters" error immediately, stop troubleshooting, it’s a job for Microsoft Support or your Global Admin.
  • Sunil Kumar Pashikanti Profile Picture
    2,318 Moderator on at
    Let me know after trying the above!!!
     
    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.
     
  • KJ-25060839-0 Profile Picture
    2 on at
    Same issue here. Any resolution?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard