> For the complete documentation index, see [llms.txt](https://docs.embedanydocument.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.embedanydocument.com/configuring-cloud-apis/onedrive.md).

# Getting OneDrive Application ID

You need to create an app on the Azure portal website to get an Application ID.

{% embed url="<https://www.youtube.com/watch?v=FmPyUuoPHvE>" %}

1. Click on this [link](https://aka.ms/AppRegistrations). &#x20;
2. Click on **New Registration**.&#x20;

![](https://1551630324-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHtTXWNfmHdaZNKxVTP%2F-Mi5DDZMfYwZ3nF1B90f%2F-Mi5DXoC9h8l4Fk0WV3u%2Fone-drive-01.png?alt=media\&token=e0d2e912-1186-4ae0-a671-24576b424ecc)

3\. Type a display **Name** for the application in the **Name** textbox and choose **Supported account types** as 'Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)'.

4\. Click on **Register** button.

<div align="center"><img src="https://1551630324-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHtTXWNfmHdaZNKxVTP%2F-Mi5DDZMfYwZ3nF1B90f%2F-Mi5Dh6maXadMZuMO1Ul%2Fone-drive-02.png?alt=media&amp;token=f74fb7d3-83a8-43a6-8361-30b03eadcfef" alt=""></div>

5\. Choose **Authentication** from left sidebar.

6\. Click on **Add a platform** and select **Web** option and enter websites's **Admin** **Url** ( <http://localhost......../wp-admin/>) in the **Redirect URIs.**

![](https://1551630324-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHtTXWNfmHdaZNKxVTP%2F-Mi5DDZMfYwZ3nF1B90f%2F-Mi5DnFmzhEVxVWrDnFl%2Fone-drive-03.png?alt=media\&token=7007edad-2847-4a43-bf37-1ee4e4124c08)

7\. Also check **Access tokens** and **ID tokens** in the **Implicit grant and hybrid flows** section of the same page.

![](https://1551630324-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHtTXWNfmHdaZNKxVTP%2F-Mi6KyYbiNjMWWz47Pwf%2F-Mi6MScH74DibwKeYrkd%2FScreenshot%202021-08-27%20at%2011.10.43%20AM.png?alt=media\&token=ab26a96f-af5e-485c-b641-c9d1258d46f7)

8\. Click on **Configure** button.

9\. Choose **Overview** from the left sidebar and copy **Application ID** and paste them into your website's **Cloud Settings** page.

![](https://1551630324-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHtTXWNfmHdaZNKxVTP%2F-Mi5DDZMfYwZ3nF1B90f%2F-Mi5Dswsfakg9ggWyFSb%2Fone-drive-04.png?alt=media\&token=72195b56-8987-4786-a4aa-849db1d7c6d5)
