Forum Discussion
Search API with Application Permissions returns no results, Delegated permissions do
Just to add:
Application Permissions:
Path:https://tenant.sharepoint.com/sites/oursite/Lists/thelist/DispForm.aspx?ID=0000
0 Results
Delegated Permissions:
Path:https://tenant.sharepoint.com/sites/oursite/Lists/thelist/DispForm.aspx?ID=0000
1 Result
Additionally: we already created a new ClientId (Application Registration) to rule that out.
Can you make sure that you have given following permission under "Application Permission" in your Azure AD App registration?
- StevenDeRooverSep 09, 2022Brass ContributorI've given all SharePoint permissions I could give, for both Application and Delegated permissions.
Also, all was working fine untill August 26th, while nothing had changed on our side, so something must have changed at the SharePoint Search API server side.- butchersoft585Sep 13, 2022Copper Contributor
We are seeing similar issues and found that no results are being returned by the API, yet when I log on as a user I see the results without issue.
Its looks like Microsoft have disabled search for App Registrations as all results show Zero count
- StevenDeRooverSep 13, 2022Brass Contributor
Have you been able to get any Microsoft Support on this?
I've tried, but with no success.