Skip to content

Commit f44d2da

Browse files
authored
OneDrive connector: SharePoint Online license required, also update some confusing how-to steps (#458)
1 parent d75c7bc commit f44d2da

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

snippets/general-shared-text/onedrive.mdx

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,25 @@ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; pic
88
allowfullscreen
99
></iframe>
1010

11-
- A OneDrive account.
12-
- The User Principal Name (UPN) for the OneDrive account. This is typically the OneDrive account user's email address.
11+
- [A Microsoft 365 or Office 365 plan](https://learn.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/office-365-plan-options) that includes
12+
both OneDrive and SharePoint Online. (Even if you only plan to use OneDrive, you still need a plan that includes SharePoint Online,
13+
because OneDrive is built on SharePoint technology.)
14+
- The User Principal Name (UPN) for the OneDrive account. This is typically the OneDrive account user's email address. To find a UPN:
15+
16+
1. Depending on your plan, sign in to your Microsoft 365 admin center (typically [https://admin.microsoft.com](https://admin.microsoft.com)) using your administrator credentials,
17+
or sign in to your Office 365 portal (typically [https://portal.office.com](https://portal.office.com)) using your credentials.
18+
2. In the **Users** section, click **Active users**.
19+
3. Locate the user account in the list of active users.
20+
4. The UPN is displayed in the **Username** column.
21+
1322
- The path to the target OneDrive folder, starting from the OneDrive account's root folder, for example `my-folder/my-subfolder`.
1423
- The client ID, tenant ID, and client secret for the Microsoft Entra ID app registration that has access to the target OneDrive account and
15-
also has the correct set of Microsoft Graph authentication scopes. These scopes include:
24+
also has the correct set of Microsoft Graph access permissions. These permissions include:
1625

1726
- `Files.ReadWrite.All` (if both reading and writing are needed)
1827
- `Sites.ReadWrite.All` (if both reading and writing are needed)
1928
- `User.Read.All`
2029
- `Directory.Read.All`
21-
22-
See also:
23-
24-
- [Registering your app for Microsoft Graph](https://learn.microsoft.com/onedrive/developer/rest-api/getting-started/app-registration)
25-
- [OneDrive authentication and sign-in](https://learn.microsoft.com/onedrive/developer/rest-api/getting-started/msa-oauth)
26-
- [OneDrive API documentation](https://docs.microsoft.com/onedrive/developer/rest-api/)
30+
1. [Create an Entra ID app registration](https://learn.microsoft.com/entra/identity-platform/quickstart-register-app?pivots=portal).
31+
2. [Add Graph access permissions to an app registration](https://learn.microsoft.com/entra/identity-platform/howto-update-permissions?pivots=portal#add-permissions-to-an-application).
32+
3. [Grant consent for the added Graph permissions](https://learn.microsoft.com/entra/identity-platform/howto-update-permissions?pivots=portal#grant-consent-for-the-added-permissions-for-the-enterprise-application).

0 commit comments

Comments
 (0)