In this video, we'll explore how to configure Restricted SharePoint Search for Copilot for M365, enhancing your organization's security.
Here are the commands you'll need:
Connect-SPOService
Enter the SharePoint URL
Get-SPOTenantRestrictedSearchMode
Set-SPOTenantRestrictedSearchMode -Mode Enabled
Set-SPOTenantRestrictedSearchMode -Mode Disabled
Add-SPOTenantRestrictedSearchAllowedList -SitesList @("[SiteURL]")
Get-SPOTenantRestrictedSearchAllowedList
Alternatively, you can specify a path and reference a .csv file:
Add-SPOTenantRestrictedSearchAllowedList -SitesListFileUrl
Thank you! If you have any questions, please let me know!