Forum Discussion
StevenDeRoover
Sep 08, 2022Brass Contributor
Search API with Application Permissions returns no results, Delegated permissions do
As of August 26th critical software in our company started to fail. All functionality involving getting results from Microsoft SharePoint Search failed to get any results. This software is Po...
butchersoft585
Sep 13, 2022Copper Contributor
Probably worth mentioning that the problem exists with (all tested and failed)
- Microsoft.SharePoint.Client.dll
- Pnp.Search
- REST API directly
All user the same endpoint at the end of the day.
- Microsoft.SharePoint.Client.dll
- Pnp.Search
- REST API directly
All user the same endpoint at the end of the day.
StevenDeRoover
Sep 13, 2022Brass Contributor
I also created a . NET core console application to test an HTTP call directly to the API (to test without packages, like Pnp), with both GET and POST.
Both HTTP verbs have the same results in respect of application and delegated permissions.
In other words: switching to POST instead of GET does not solve the issue.
- butchersoft585Sep 13, 2022Copper ContributorUpdate
- Site.Selected registration (add a list of sites) - even with full control does not allow search permissions to run.- butchersoft585Sep 14, 2022Copper ContributorUpdate - changed our application to run under a delegated user using a username and password through PNP Enterprise App registration and now getting results back!!!. Now we just have to worry about throttling. The user had to have MFA disabled
- StevenDeRooverSep 14, 2022Brass ContributorThat's what we are doing as well, unfortunately, we don't have only one application, but multiple, and not all able tot run under delegated permissions.
I sincerely hope this is getting pickup by Microsoft, as 50% of their Search API is out of service, for multiple distinguished tenants.
Maybe there are more out there, but did not find their way to this forum.