Piotr Jurski
Piotr Jurski

Reputation: 45

Sharepoint Online - Read Only User - PnP Modern Search - Unable to get search results

PnP Modern Search Version 3.18

When new user gets created in Office 365 and placed into SharePoint Site's " Visitor" group with only the View Only or Read only access.

Search results in the PnP Modern Search results do not show up for that user. Users that have Edit functionality have no issues with the web parts.

Reindexing the site does nothing to fix this.

To Reproduce:

*Create user with no licence in Office 365 admin *Add user into SharePoint " Visitor" with Read only permissions *Go To site and search using the pnp modern search box *Search results do not show up anything *If user gets placed into editor permissions, search results show up.

Thank you! I appreciate the help!

Upvotes: 0

Views: 1018

Answers (1)

teylyn
teylyn

Reputation: 35915

Unlicensed users will only have access to content that has been shared with them. The inner workings of the PnP Search probably require more permissions than unlicensed users have. It's not just that they may be able to access the documents, but they would also need at least Read access to the web parts and code bits that are used to present the results. An unlicensed user has no access to that.

Upvotes: 1

Related Questions