Skip to content

Commit 33944e8

Browse files
authored
Update search-howto-index-sharepoint-online.md
Updated steps for clarification since the steps after #1 are related to user-delegated permissions only.
1 parent 3893627 commit 33944e8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/search/search-howto-index-sharepoint-online.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: cognitive-search
99
ms.custom:
1010
- ignite-2023
1111
ms.topic: how-to
12-
ms.date: 06/1/2024
12+
ms.date: 06/14/2024
1313
---
1414

1515
# Index data from SharePoint document libraries
@@ -248,7 +248,7 @@ api-key: [admin key]
248248

249249
An indexer connects a data source with a target search index and provides a schedule to automate the data refresh. Once the index and data source are created, you can create the indexer.
250250

251-
During this step, you’re asked to sign in with organization credentials that have access to the SharePoint site. If possible, we recommend creating a new organizational user account and giving that new user the exact permissions that you want the indexer to have.
251+
If you are using delegated permissions, during this step, you’re asked to sign in with organization credentials that have access to the SharePoint site. If possible, we recommend creating a new organizational user account and giving that new user the exact permissions that you want the indexer to have.
252252

253253
There are a few steps to creating the indexer:
254254

@@ -287,6 +287,8 @@ There are a few steps to creating the indexer:
287287
}
288288
```
289289
290+
If you're using application permissions, it's necessary to wait until the initial run is complete before starting to query your index. The following instructions provided in this step pertain specifically to delegated permissions, and are not applicable to application permissions.
291+
290292
1. When you create the indexer for the first time, the [Create Indexer (preview)](/rest/api/searchservice/indexers/create-or-update?view=rest-searchservice-2023-10-01-preview&tabs=HTTP&preserve-view=true) request waits until you complete the next step. You must call [Get Indexer Status](/rest/api/searchservice/indexers/get-status?view=rest-searchservice-2023-10-01-preview&tabs=HTTP&preserve-view=true) to get the link and enter your new device code.
291293
292294
```http

0 commit comments

Comments
 (0)