# 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;

![](/files/-Mi5DXoC9h8l4Fk0WV3u)

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="/files/-Mi5Dh6maXadMZuMO1Ul" 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.**

![](/files/-Mi5DnFmzhEVxVWrDnFl)

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

![](/files/-Mi6MScH74DibwKeYrkd)

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.

![](/files/-Mi5Dswsfakg9ggWyFSb)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.embedanydocument.com/configuring-cloud-apis/onedrive.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
