Unable to create Sharepoint indexer

K.Seastream 30 Reputation points
2023-12-15T09:54:45.6466667+00:00

I´m having problem creating a Sharepoint indexer when following this guide: https://learn.microsoft.com/en-us/azure/search/search-howto-index-sharepoint-online (using Delegated permissions)
When I try to create the indexer (using Postman, step 6) and run the GET command, I get a response with the code and enter it in https://microsoft.com/devicelogin and everything seems fine, but no indexer is created when I check. Sometimes Postman gets a response saying ”Error with data source: AADSTS70020: The provided value for the input parameter 'device_code' is not valid. This device code has expired.” but I have entered the code within 10 min. I also tried creating an indexer using the webinterface in Azure, but it never gets saved, it tries to save but seems to timeout or something. I´ve deleted the resource and started over several times but always with the same result.

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

Answer accepted by question author
  1. VenkateshDodda-MSFT 25,251 Reputation points Microsoft Employee Moderator
    2023-12-15T10:25:41.5733333+00:00

    @K.Seastream Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    As mentioned in the documentation, under limitation and considerations sections as shown below.

    User's image

    Currently creating a share point indexer using the delegated permissions mechanism is broken. Alternative method, to create a share point indexer is using application permissions.

    I hope the answer helps. Please let me know if you have any further queries.

    Please accept as Yes if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.