Microsoft frequently changes the naming of its products and the arrangement and names of its menus. Therefore, the information provided in the following instruction is valid only on the day of creation. We do not guarantee the accuracy of the naming for future reference.
This guide is for Microsoft corporate users (Microsoft Azure AD) only. The usual Microsoft 365 Home User account does not offer this feature.
This guide is separated into two parts:
- The Microsoft Azure Cloud configuration
- The bookingtime organization configuration
Please finish reading through these instructions before starting.
Three values will be generated in the first part, which we will need in the second part of this guide.
Part 1: Microsoft Azure Cloud configuration
- Log in to the “Microsoft Entra Admin” Portal (https://entra.microsoft.com).
- On the left side of the navigation menu, select "Applications," and then choose the sub-item "App registrations."
- On the right side, top menu, select "New registration."
- Enter a descriptive name for the application at the top. For example: "Graph API Sync with bookingtime."
- Under "Supported account types," select "Accounts in this organizational directory only (NAME OF YOUR ORGANIZATION - single tenant)."
- Finally, click "Register" at the bottom.
- Enter a descriptive name for the application at the top. For example: "Graph API Sync with bookingtime."
- A window will open with the newly created application. At this point, two numbers need to be saved. Insert them into the table on the first page and save the document.
-
- Copy the "Application (client) ID."
- Copy the "Directory (tenant) ID."
- Copy the "Application (client) ID."
-
- In the application's navigation, select "Certificates & secrets" and click on "New client secret".
- A blade menu slides in from the right.
- Enter a descriptive name, for example: "bookingtime Client secret".
- Choose a duration for the validity of the key, for example: "180 days (6 months)".
- Enter a descriptive name, for example: "bookingtime Client secret".
- Click "Add" at the bottom.
After expiration of the ClientSecret, the calendar will not be able to synchronize. A new ClientSecret must be generated in order to synchronize the calendar again. - Immediately after creation, copy the ClientSecret from the Value field.
It will not be accessible once a new key is created. In case of not saving the ClientSecret, you have to start over to generate a new ClientSecret. - In the left navigation menu, click on "API permissions" and then, on the right, the "Add a permission" button.
- A blade menu slides in from the right.
- Click on "Microsoft Graph".
- Select "Application permissions".
- The permissions will be shown in a list. Scroll down to the entry “Calendars”.
- Then tick the box for “Calendars.ReadWrite” and hit “Add permissions”.
- Click on "Microsoft Graph".
- In the right section, under "Configured permissions", click the button "Grant admin consent for 'NAME_OF_ORGANIZATION'".
- Confirm with “Yes” the “Grant the admin consent confirmation” dialog.
With that, the registration of the application in Azure AD is complete.
We will now use the generated values TenantId, ClientId, and ClientSecret to connect your Microsoft 365 with bookingtime.
The application's permissions apply to all members of the organization in which it was created. Delegated permissions can currently not be implemented with the Graph API.
Part 2: bookingtime organization configuration
- Log in to the bookingtime Portal (https://app.bookingtime.com/).
- In the left hand blade menu, click on “Settings”.
- Select “General Settings” and afterwards select the “Office 365 sync” sub-menu.
- Now enter the three generated values that you generated in the first part.
- To enter the TenantID, please add the following URL before the ID:
“https://login.microsoftonline.com/”
The server URL should look e.g, like this:
“https://login.microsoftonline.com/10d38d51-bb2d-4df3-a713-db339d5493rh” - Enter the ClientID as it is.
- Enter the ClientSecret as it is.
- To enter the TenantID, please add the following URL before the ID:
- In the left hand blade menu, click on “Synchronization” and select the “External calender” button.
- Select an employee and select the “Confirm” button.
- Select the employee and enter an e-mail address. After a few minutes, the synchronization should start. If successful, the “Last success” field on the right will show a timestamp.
Appendix: Troubleshooting
In case your synchronization fails, a brief notification will be shown for the user. On the picture below, you see a successful synchronization and a failed synchronization.
To get a detailed information of the error, select the “Sync History” tab.
As you can see, in this case the user “d.wellt@organization.com” is invalid and likely not in the organization, or may not be written correctly.
If the synchronization fails, please check the values you entered on the bookingtime website or check your configuration in Microsoft Azure.
If errors still persist, don’t hesitate contacting us.
Comments
0 comments
Article is closed for comments.