|
1 | 1 | The OneDrive prerequisites: |
2 | 2 |
|
3 | | -- A OneDrive account. |
4 | | -- Path to the target OneDrive folder. |
5 | | -- The client ID, client secret, and tenant ID for the Azure app that is registered with Microsoft Graph and assigned the correct OneDrive authentication scopes in Microsoft Entra ID (formerly Azure Active Directory (Azure AD)). See [Registering your app for Microsoft Graph](https://learn.microsoft.com/onedrive/developer/rest-api/getting-started/app-registration) and [OneDrive authentication and sign-in](https://learn.microsoft.com/onedrive/developer/rest-api/getting-started/msa-oauth). |
6 | | - |
7 | | - <iframe |
8 | | - width="560" |
9 | | - height="315" |
10 | | - src="https://www.youtube.com/embed/uJsdMIpuuno?start=14&end=372" |
11 | | - title="YouTube video player" |
12 | | - frameborder="0" |
13 | | - allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" |
14 | | - allowfullscreen |
15 | | - ></iframe> |
| 3 | +<iframe |
| 4 | +width="560" |
| 5 | +height="315" |
| 6 | +src="https://www.youtube.com/embed/7uSu0LsbcEQ" |
| 7 | +title="YouTube video player" |
| 8 | +frameborder="0" |
| 9 | +allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" |
| 10 | +allowfullscreen |
| 11 | +></iframe> |
16 | 12 |
|
17 | | - <iframe |
18 | | - width="560" |
19 | | - height="315" |
20 | | - src="https://www.youtube.com/embed/aKNmym2nYzY?start=43&end=241" |
21 | | - title="YouTube video player" |
22 | | - frameborder="0" |
23 | | - allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" |
24 | | - allowfullscreen |
25 | | - ></iframe> |
| 13 | +- A OneDrive account. |
| 14 | +- The User Principal Name (UPN) for the OneDrive account. This is typically the OneDrive account user's email address. |
| 15 | +- The path to the target OneDrive folder, starting from the OneDrive account's root folder, for example `my-folder/my-subfolder`. |
| 16 | +- The client ID, tenant ID, and client secret for the Microsoft Entra ID app registration that has access to the target OneDrive account and |
| 17 | + also has the correct set of Microsoft Graph authentication scopes. These scopes include: |
26 | 18 |
|
27 | | -- The Entra ID principal name (typically your Entra ID email). |
| 19 | + - `Files.ReadWrite.All` (if both reading and writing are needed) |
| 20 | + - `Sites.ReadWrite.All` (if both reading and writing are needed) |
| 21 | + - `User.Read.All` |
| 22 | + - `Directory.Read.All` |
| 23 | + |
| 24 | +See also: |
28 | 25 |
|
29 | | -See also the [OneDrive API documentation](https://docs.microsoft.com/onedrive/developer/rest-api/). |
| 26 | +- [Registering your app for Microsoft Graph](https://learn.microsoft.com/onedrive/developer/rest-api/getting-started/app-registration) |
| 27 | +- [OneDrive authentication and sign-in](https://learn.microsoft.com/onedrive/developer/rest-api/getting-started/msa-oauth) |
| 28 | +- [OneDrive API documentation](https://docs.microsoft.com/onedrive/developer/rest-api/) |
0 commit comments