You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/connector/docs/connectors-sharepoint-online.asciidoc
+43-14Lines changed: 43 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,12 +75,10 @@ Follow these steps:
75
75
* Leave the *Redirect URIs* blank for now.
76
76
* *Register* the application.
77
77
* Find and keep the **Application (client) ID** and **Directory (tenant) ID** handy.
78
-
* Locate the **Secret** by navigating to **Client credentials: Certificates & Secrets**.
79
-
* Select **New client secret**
80
-
* Pick a name for your client secret.
81
-
Select an expiration date. (At this expiration date, you will need to generate a new secret and update your connector configuration.)
82
-
** Save the client secret **Secret ID** before leaving this screen.
83
-
** Save the client secret **Value** before leaving this screen.
78
+
* Create a certificate and private key. This can, for example, be done by running `openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout azure_app.key -out azure_app.crt` command. Store both in a safe and secure place
79
+
* Locate the **Certificates** by navigating to **Client credentials: Certificates & Secrets**.
80
+
* Select **Upload certificate**
81
+
* Upload the certificate created in one of previous steps: `azure_app.crt`
84
82
* Set up the permissions the OAuth App will request from the Azure Portal service account.
85
83
** Navigate to **API Permissions** and click **Add Permission**.
86
84
** Add **application permissions** until the list looks like the following:
@@ -114,6 +112,18 @@ When entities are not available via the Graph API the connector falls back to us
Microsoft is retiring Azure ACS: https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/retirement-announcement-for-azure-acs. Because of that, setting up permissions for new tenants and for old tenants can be different. We recommend switching to usage of certificates for older tenants too, but if it's not yet possible, a legacy permission setup can still be used.
This method is only applicable to tenants created before November 1st, 2024. This method will be fully retired as of April 2nd, 2026.
126
+
117
127
Refer to the following documentation for setting https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs[SharePoint permissions^].
118
128
119
129
* To set `DisableCustomAppAuthentication` to false, connect to SharePoint using PowerShell and run `set-spotenant -DisableCustomAppAuthentication $false`
@@ -219,8 +229,17 @@ The tenant name for the Azure account hosting the Sharepoint Online instance.
219
229
Client ID::
220
230
The client id to authenticate with SharePoint Online.
221
231
232
+
Authentication Method::
233
+
Authentication method to use to connector to Sharepoint Online and Rest APIs. `secret` is deprecated and `certificate` is recommended.
234
+
222
235
Secret value::
223
-
The secret value to authenticate with SharePoint Online.
236
+
The secret value to authenticate with SharePoint Online, if Authentication Method: `secret` is chosen.
237
+
238
+
Content of certificate file::
239
+
Content of certificate file if Authentication Method: `certificate` is chosen.
240
+
241
+
Content of private key file::
242
+
Content of private key file if Authentication Method: `certificate` is chosen.
224
243
225
244
Comma-separated list of sites::
226
245
List of site collection names or paths to fetch from SharePoint.
@@ -588,12 +607,10 @@ Follow these steps:
588
607
* Leave the *Redirect URIs* blank for now.
589
608
* *Register* the application.
590
609
* Find and keep the **Application (client) ID** and **Directory (tenant) ID** handy.
591
-
* Locate the **Secret** by navigating to **Client credentials: Certificates & Secrets**.
592
-
* Select **New client secret**
593
-
* Pick a name for your client secret.
594
-
Select an expiration date. (At this expiration date, you will need to generate a new secret and update your connector configuration.)
595
-
** Save the client secret **Secret ID** before leaving this screen.
596
-
** Save the client secret **Value** before leaving this screen.
610
+
* Create a certificate and private key. This can, for example, be done by running `openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout azure_app.key -out azure_app.crt` command. Store both in a safe and secure place
611
+
* Locate the **Certificates** by navigating to **Client credentials: Certificates & Secrets**.
612
+
* Select **Upload certificate**
613
+
* Upload the certificate created in one of previous steps: `azure_app.crt`
597
614
* Set up the permissions the OAuth App will request from the Azure Portal service account.
598
615
** Navigate to **API Permissions** and click **Add Permission**.
599
616
** Add **application permissions** until the list looks like the following:
@@ -624,9 +641,21 @@ The connector uses the https://learn.microsoft.com/en-us/sharepoint/dev/apis/sha
624
641
When entities are not available via the Graph API the connector falls back to using the Sharepoint https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service[REST API^].
Microsoft is retiring Azure ACS: https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/retirement-announcement-for-azure-acs. Because of that, setting up permissions for new tenants and for old tenants can be different. We recommend switching to usage of certificates for older tenants too, but if it's not yet possible, a legacy permission setup can still be used.
This method is only applicable to tenants created before November 1st, 2024. This method will be fully retired as of April 2nd, 2026.
658
+
630
659
Refer to the following documentation for setting https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs[SharePoint permissions^].
631
660
632
661
* To set `DisableCustomAppAuthentication` to false, connect to SharePoint using PowerShell and run `set-spotenant -DisableCustomAppAuthentication $false`
0 commit comments