Files
calendar/docs/self-hosting/apps/install-apps/microsoft.mdx
T
da55306a5a chore: add dev docs on mintlify (#16935)
* --init

* progress...

* add more docs

* bunch of changes and added back platform

* development guides added

* more guides in develop with cal

* self hosted WIP

* deployments

* fix deployment steps

* self-hosted guides

* ..

* Removed the development only sections

* Removed 'with Cal.com'

* use steps component for steps

---------

Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2024-10-08 02:32:16 -03:00

30 lines
1.3 KiB
Plaintext

---
title: "Microsoft"
---
#### Obtaining Microsoft Graph Client ID and Secret
<Steps>
<Step title="Open Azure App Registration">
Go to [Azure App Registration](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredApps) and select "New registration".
</Step>
<Step title="Name your application">
Provide a name for your application to proceed with the registration.
</Step>
<Step title="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)**.
</Step>
<Step title="Configure the Web redirect URI">
Set the **Web** redirect URI to:
```
<Cal.com URL>/api/integrations/office365calendar/callback
```
Replace `<Cal.com URL>` with the URL where your application runs.
</Step>
<Step title="Obtain and set the MS_GRAPH_CLIENT_ID">
Use the **Application (client) ID** as the value for **MS_GRAPH_CLIENT_ID** in your `.env` file.
</Step>
<Step title="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_SECRET** in your `.env` file.
</Step>
</Steps>