Microsoft
Obtaining Microsoft Graph Client ID and Secret
-
Open Azure App Registration - Go to Azure App Registration and select “New registration”.
-
Name your application - Provide a name for your application to proceed with the registration.
-
Set who can use this application - Set “Who can use this application or access this API?” to “Accounts in any organizational directory (Any Azure AD directory - Multitenant)”.
-
Configure the Web redirect URI - Set the Web redirect URI to:
<Cal.diy URL>/api/integrations/office365calendar/callbackReplace <Cal.diy URL> with the URL where your application runs.
-
Obtain and set the MS_GRAPH_CLIENT_ID - Use the Application (client) ID as the value for
MS_GRAPH_CLIENT_IDin your.envfile. -
Create a client secret and set MS_GRAPH_CLIENT_SECRET - Click on “Certificates & secrets”, create a new client secret, and use the generated value as the
MS_GRAPH_CLIENT_SECRETin your.envfile.