Skip to content

Commit e748d93

Browse files
committed
Fix comments
1 parent 8b1f5f4 commit e748d93

File tree

2 files changed

+34
-35
lines changed

2 files changed

+34
-35
lines changed

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

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -33,38 +33,6 @@ Specifically, this SharePoint List Online connector uses service principal authe
3333
> [!TIP]
3434
> This connector supports copying data from SharePoint Online **List** but not file. Learn how to copy file from [Copy file from SharePoint Online](#copy-file-from-sharepoint-online) section.
3535
36-
## Prerequisites
37-
38-
The SharePoint List Online connector uses service principal authentication to connect to SharePoint. Follow these steps to set it up:
39-
40-
1. Register an application with the Microsoft identity platform. To learn how, see [Quickstart: Register an application with the Microsoft identity platform](../active-directory/develop/quickstart-register-app.md). Make note of these values, which you use to define the linked service:
41-
42-
- Application ID
43-
- Application key
44-
- Tenant ID
45-
46-
2. Grant SharePoint Online site permission to your registered application by following the steps below. To do this, you need a site admin role.
47-
48-
1. Open your SharePoint Online site link. For example, the URL in the format `https://<your-site-url>/_layouts/15/appinv.aspx` where the placeholder `<your-site-url>` is your site.
49-
2. Search the application ID you registered, fill the empty fields, and click "Create".
50-
51-
- App Domain: `contoso.com`
52-
- Redirect URL: `https://www.contoso.com`
53-
- Permission Request XML:
54-
55-
```xml
56-
<AppPermissionRequests AllowAppOnlyPolicy="true">
57-
<AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web" Right="Read"/>
58-
</AppPermissionRequests>
59-
```
60-
61-
:::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.":::
62-
63-
> [!NOTE]
64-
> In the context of configuring the SharePoint connector, the "App Domain" and "Redirect URL" refer to the SharePoint app that you have registered in Microsoft Entra ID to allow access to your SharePoint data. The "App Domain" is the domain where your SharePoint site is hosted. For example, if your SharePoint site is located at "https://contoso.sharepoint.com", then the "App Domain" would be "contoso.sharepoint.com". The "Redirect URL" is the URL that the SharePoint app will redirect to after the user has authenticated and granted permissions to the app. This URL should be a page on your SharePoint site that the app has permission to access. For example, you could use the URL of a page that displays a list of files in a library, or a page that displays the contents of a document.
65-
66-
3. Click "Trust It" for this app.
67-
6836
## Get started
6937

7038
[!INCLUDE [data-factory-v2-connector-get-started](includes/data-factory-v2-connector-get-started.md)]
@@ -103,12 +71,12 @@ The following properties are supported for a SharePoint Online List linked servi
10371
| ------------------- | ------------------------------------------------------------ | ------------ |
10472
| type | The type property must be set to: **SharePointOnlineList**. | Yes |
10573
| siteUrl | The SharePoint Online site url, e.g. `https://contoso.sharepoint.com/sites/siteName`. | Yes |
106-
| servicePrincipalId | The Application (client) ID of the application registered in Microsoft Entra ID. Refer to [Prerequisites](#prerequisites) for more details including the permission settings.| Yes |
74+
| servicePrincipalId | The Application (client) ID of the application registered in Microsoft Entra ID. | Yes |
10775
| servicePrincipalCredentialType | Specify the credential type to use for service principal authentication. Allowed values are `ServicePrincipalKey` and `ServicePrincipalCert`. | No |
10876
| ***For ServicePrincipalKey*** | | |
109-
| servicePrincipalKey | The application's key. Mark this field as a **SecureString** to store it securely, or [reference a secret stored in Azure Key Vault](store-credentials-in-key-vault.md). | No |
77+
| servicePrincipalKey | The application's key. Mark this field as a **SecureString** to store it securely, or [reference a secret stored in Azure Key Vault](store-credentials-in-key-vault.md). Refer to this [section](#grant-permission-for-using-service-principal-key) for more details including the permission settings. | No |
11078
| ***For ServicePrincipalCert*** | | |
111-
| servicePrincipalEmbeddedCert | Specify the base64 encoded certificate of your application registered in Microsoft Entra ID, and ensure the certificate content type is **PKCS #12**. Mark this field as a **SecureString** to store it securely, or [reference a secret stored in Azure Key Vault](store-credentials-in-key-vault.md). | No |
79+
| servicePrincipalEmbeddedCert | Specify the base64 encoded certificate of your application registered in Microsoft Entra ID, and ensure the certificate content type is **PKCS #12**. Mark this field as a **SecureString** to store it securely, or [reference a secret stored in Azure Key Vault](store-credentials-in-key-vault.md). Refer to this [article](https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azuread) for permission settings.| No |
11280
| servicePrincipalEmbeddedCertPassword | Specify the password of your certificate if your certificate is secured with a password. Mark this field as a **SecureString** to store it securely, or [reference a secret stored in Azure Key Vault](store-credentials-in-key-vault.md). | No |
11381
| | | |
11482
| tenantId | The tenant ID under which your application resides. | Yes |
@@ -167,6 +135,37 @@ The following properties are supported for a SharePoint Online List linked servi
167135
}
168136
}
169137
```
138+
### Grant permission for using service principal key
139+
140+
The SharePoint List Online connector uses service principal authentication to connect to SharePoint. Follow these steps to set it up:
141+
142+
1. Register an application with the Microsoft identity platform. To learn how, see [Quickstart: Register an application with the Microsoft identity platform](../active-directory/develop/quickstart-register-app.md). Make note of these values, which you use to define the linked service:
143+
144+
- Application ID
145+
- Application key
146+
- Tenant ID
147+
148+
2. Grant SharePoint Online site permission to your registered application by following the steps below. To do this, you need a site admin role.
149+
150+
1. Open your SharePoint Online site link. For example, the URL in the format `https://<your-site-url>/_layouts/15/appinv.aspx` where the placeholder `<your-site-url>` is your site.
151+
2. Search the application ID you registered, fill the empty fields, and click "Create".
152+
153+
- App Domain: `contoso.com`
154+
- Redirect URL: `https://www.contoso.com`
155+
- Permission Request XML:
156+
157+
```xml
158+
<AppPermissionRequests AllowAppOnlyPolicy="true">
159+
<AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web" Right="Read"/>
160+
</AppPermissionRequests>
161+
```
162+
163+
:::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.":::
164+
165+
> [!NOTE]
166+
> In the context of configuring the SharePoint connector, the "App Domain" and "Redirect URL" refer to the SharePoint app that you have registered in Microsoft Entra ID to allow access to your SharePoint data. The "App Domain" is the domain where your SharePoint site is hosted. For example, if your SharePoint site is located at "https://contoso.sharepoint.com", then the "App Domain" would be "contoso.sharepoint.com". The "Redirect URL" is the URL that the SharePoint app will redirect to after the user has authenticated and granted permissions to the app. This URL should be a page on your SharePoint site that the app has permission to access. For example, you could use the URL of a page that displays a list of files in a library, or a page that displays the contents of a document.
167+
168+
3. Click "Trust It" for this app.
170169

171170
## Dataset properties
172171

10.6 KB
Loading

0 commit comments

Comments
 (0)