Skip to content

Commit c810d49

Browse files
authored
Merge pull request #195312 from Clare-Zheng82/0418-Update_Prerequisites_section_in_SPOList_doc
Update Prerequisites section in Sharepoint Online List doc
2 parents 3d6eba4 + 2621c8d commit c810d49

File tree

3 files changed

+22
-11
lines changed

3 files changed

+22
-11
lines changed

articles/data-factory/connector-sharepoint-online-list.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: data-factory
77
ms.subservice: data-movement
88
ms.custom: synapse
99
ms.topic: conceptual
10-
ms.date: 09/09/2021
10+
ms.date: 04/18/2022
1111
ms.author: jianleishen
1212
---
1313
# Copy data from SharePoint Online List by using Azure Data Factory or Azure Synapse Analytics
@@ -41,23 +41,34 @@ The SharePoint List Online connector uses service principal authentication to co
4141

4242
2. Grant SharePoint Online site permission to your registered application:
4343

44-
> [!NOTE]
45-
> This operation requires SharePoint Online site owner permission. You can find the owner by going to the site home page -> click the "X members" in the right corner -> check who has the "Owner" role.
46-
4744
1. Open SharePoint Online site link e.g. `https://[your_site_url]/_layouts/15/appinv.aspx` (replace the site URL).
4845
2. Search the application ID you registered, fill the empty fields, and click "Create".
4946

5047
- App Domain: `localhost.com`
5148
- Redirect URL: `https://www.localhost.com`
52-
- Permission Request XML:
49+
- Permission Request XML
50+
For the site owner role, the Permission Request XML is:
51+
52+
```xml
53+
<AppPermissionRequests>
54+
<AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web" Right="Read"/>
55+
</AppPermissionRequests>
56+
```
57+
58+
:::image type="content" source="media/connector-sharepoint-online-list/sharepoint-online-grant-permission-owner.png" alt-text="Grant SharePoint Online site permission to your registered application when you have site owner role.":::
59+
60+
> [!NOTE]
61+
> You can find the site owner by going to the site home page -> select **Settings** in the top right corner -> select **Site permissions** and check who has the site owner role.
62+
63+
For the site admin role, the Permission Request XML is:
5364

54-
```xml
55-
<AppPermissionRequests AllowAppOnlyPolicy="true">
56-
<AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web" Right="Read"/>
57-
</AppPermissionRequests>
58-
```
65+
```xml
66+
<AppPermissionRequests AllowAppOnlyPolicy="true">
67+
<AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web" Right="Read"/>
68+
</AppPermissionRequests>
69+
```
5970

60-
:::image type="content" source="media/connector-sharepoint-online-list/sharepoint-online-grant-permission.png" alt-text="sharepoint grant permission":::
71+
:::image type="content" source="media/connector-sharepoint-online-list/sharepoint-online-grant-permission-admin.png" alt-text="Grant SharePoint Online site permission to your registered application when you have site admin role.":::
6172

6273
3. Click "Trust It" for this app.
6374

16.8 KB
Loading

0 commit comments

Comments
 (0)