SharePoint Online - Guest users access to people search

Copper Contributor

Hi, 

I'm wondering if it is possible for guests users have access to people search in SharePoint Online.

We are using search rest api to get results from people result source.

I found this settings on Azure Portal (Users > User settings > External collaboration settings)

 

mrmarques_0-1678298380147.png

 

Even with the most inclusive option, with a guest we can have access to people search results.

I can't find any official documentation supporting the case - supporting or not guest to get people search results.

 

Any idea?

Thanks

 

2 Replies

@mrmarques that was my question as well :)
Check this: https://microsoft365.today/using-powershell-to-enable-guest-users-permissions-are-limited-for-people...

Guest users do not have access to People Search in SharePoint Online by default. However, it is possible to grant them access by configuring the External collaboration settings in the Azure portal.

 

The script in this article https://microsoft365.today/using-powershell-to-enable-guest-users-permissions-are-limited-for-people... is not working. A parameter cannot be found that matches parameter
name 'TargetObjectId'.