We are trying to automate the below requirement using PowerShell.
1.SharePoint online Team site needs to be created – Working Fine
2.Above created Team site will automatically change the External sharing under SharePoint polices instead of default option (Only people in your organization) - Working Fine
3.Guest users will be added to Azure Active directory - Working Fine
4.Guest users will be added to above created team site under Site Visitors group with View only permission- Working Fine
5.Similarly, I’m unable to enable the Restricted View for a Document library via Power Shell whereas it works well, if enabled manually - Concern
Attached the PowerShell script for your kind reference. Do let me know how do I enable the Restricted view using PowerShell for the Document library. Suggest any solution ASAP?
Hi Everyone,
We are trying to automate the below requirement using PowerShell.
1.SharePoint online Team site needs to be created – Working Fine 2.Above created Team site will automatically change the External sharing under SharePoint polices instead of default option (Only people in your organization) - Working Fine 3.Guest users will be added to Azure Active directory - Working Fine 4.Guest users will be added to above created team site under Site Visitors group with View only permission- Working Fine 5.Similarly, I’m unable to enable the Restricted View for a Document library via Power Shell whereas it works well, if enabled manually - Concern
Attached the PowerShell script for your kind reference. Do let me know how do I enable the Restricted view using PowerShell for the Document library. Suggest any solution ASAP?
Restrictedview- powershell.txt