Open erkanch opened 1 year ago
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Hello. Any updates on this? Thanks!
It's been more than a year without any update on this topic.
This should be categorized as a bug, because Sites.Selected is essentially a SCOPE and NOT the permission itself.
We have a selection of Sites where the App has Full Control and just the search doesn't work. It shouldn't throw "No User or App Context found" error since there is no user context even when we change the permission from Sites.Selected to Sites.Read.All.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
SharePoint CSOM
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
I've assigned 2 sites full control using Grant-PnPAzureADAppSitePermission. I get "Exception thrown in SearchContent: SharePoint Rest service exception" when I try to perform a search. Is it possible to perform searches with the Sites.Selected Sharepoint app permission?
Steps to reproduce
Expected behavior
Receive search results from the sites granted Sites.Selected permission