For using digital bookings with MsTeams, we are using calendar api (GraphApi) in a way that we create a new calendar event and retrieve ms teams call link from there. For making it works we need to have access to Active Directory (AD) on client side. So steps:
Add a default user
Please add a default user in your AD. We only need email for this user. It will be used during appointment generation. We assume it will have “booking” as a part of email name.
Add a new app for organisation
Go to Azure, Active directory, App registrations (this is an item in the left column)
New registration
Put name and select Accounts in this organisational directory only. Omit redirect url
After the new app is created, please find and send to us Tenant ID and Client ID
After please go to Certificates and secrets, add a new secret. Please keep value for this new secret and send value to us.
Go to API permissions section. Please add for this application permission (Add a permission, Microsoft Graph, Delegated or Application type, find the specified permission): “Calendars.ReadWrite”, “Calendars.ReadWrite.Shared”, “User.Read.All” and “User.ReadBasic.All” (the same points as for Calendars, but check for User section) for proper communication.
Notes why we need steps above: for creating events in Manager’s calendars, we have to know Manager’s id which we’re getting by email (User.* permissions) and after for creating an appointment in calendar (Calendars.* permissions).