Forum Discussion
I can't get trigger in bookings to work
The error message you're seeing indicates an issue with the authentication process when trying to retrieve values from the Microsoft Bookings API. Specifically, it seems there's a problem with the assertion signature validation, which is related to the security keys used for authentication.
To resolve this issue, you can try the following steps:
Check Key Configuration: Verify that the security keys (also known as client secrets) configured for your Microsoft Bookings API application in the Azure Portal are correct and have not expired. You may need to regenerate the key if it has expired or is no longer valid.
Update Authentication Settings: Ensure that the authentication settings in your Power Automate flow or Microsoft Bookings API application are correctly configured to use the updated security keys.
Reauthorize Connections: Reauthorize the connection to the Microsoft Bookings API in your Power Automate flow to refresh the authentication tokens and ensure they are using the correct security keys.
Check Service Status: Sometimes, issues like this can be caused by temporary service outages or maintenance. Check the service status of the Microsoft Bookings API to ensure it is operational.
If the issue persists after trying these steps, you may need to reach out to Microsoft support for further assistance, as they can provide more specific guidance based on your application's configuration and the error message you're encountering.
- matt_petryApr 10, 2024Copper Contributor
how you you register the ID's from the Azure app registrations in PowerAutomate for the 'newly created' booking connector?
Or is there a way to see the (existing?) booking connector in Azure and update the permissions for the registration?
Would the right Graph Permissions in the Azure app registration not be set by by default when creating a new booking connector in PowerAutomate?
- SenthilApr 10, 2024Copper Contributor
To register the IDs from the Azure app registrations in Power Automate for a newly created booking connector, you can follow these steps:
Register the Azure App:
- Go to the Azure portal and navigate to Azure Active Directory.
- Select "App registrations" and click on "New registration."
- Follow the prompts to register the app. Note down the Application (client) ID and Directory (tenant) ID.
Add API Permissions:
- In the Azure portal, go to your app registration.
- Click on "API permissions" and then "Add a permission."
- Select the Microsoft Graph API and the required permissions for the booking connector.
- Grant admin consent for these permissions if necessary.
Configure Power Automate Connector:
- In Power Automate, create a new flow or edit an existing one.
- Add the "Bookings" connector to your flow.
- When prompted, sign in using the Azure account associated with the app registration.
- Use the Application (client) ID and Directory (tenant) ID obtained earlier to authenticate the connector.
Set Graph Permissions:
- Ensure that the correct Graph permissions are set in the Azure app registration for the booking connector.
- If the permissions are not set correctly, update them in the Azure portal.
Update Permissions for Existing Connector:
- If you need to update permissions for an existing booking connector in Power Automate, you can do so by modifying the API permissions in the Azure app registration and then re-authenticating the connector in Power Automate.
Verification:
- Test your flow in Power Automate to ensure that the connector is working correctly and has the necessary permissions.
The correct Graph permissions should be set by default when creating a new booking connector in Power Automate. However, you may need to verify and update these permissions if necessary.
- matt_petryApr 10, 2024Copper Contributor
Senthil i did actually find an easier way...
when you select integrations in your booking page, chose power automate, then there is an smtp address displayed. copy that address, then follow link "go to setup" to switch to power automate (note :a connection is created in the background by that step)then in the flow, configure the (e.g. "appointment") connection, but instead of waiting for the drop down to populate, select "enter custom value", and then copy that email address from the step before into the field.
I expect that resembles the AzureID for the application that was registered in the background.Voila! 😉