--- title: "Microsoft" --- #### Obtaining Microsoft Graph Client ID and Secret Go to [Azure App Registration](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredApps) and select "New registration". Provide a name for your application to proceed with the registration. Set **Who can use this application or access this API?** to **Accounts in any organizational directory (Any Azure AD directory - Multitenant)**. Set the **Web** redirect URI to: ``` /api/integrations/office365calendar/callback ``` Replace `` with the URL where your application runs. Use the **Application (client) ID** as the value for **MS_GRAPH_CLIENT_ID** in your `.env` file. Click on **Certificates & secrets**, create a new client secret, and use the generated value as the **MS_GRAPH_CLIENT_SECRET** in your `.env` file.