Forum Discussion
shocko
Nov 04, 2022Iron Contributor
Automate SharePoint Online Organizational Settings
I wish to automate various aspects of Sharepoint Online including site level but also organization level settings like external sharing etc. I don't see how to do this with the Graph REST API nor the...
shocko
Nov 06, 2022Iron Contributor
What API is it using for this?
SvenSieverding
Nov 07, 2022Bronze Contributor
Internally they use the "Get-PnPTenant" Command from PnP Powershell.
I am not 100% sure, but I assume they are using the CSOM Library in that command
https://github.com/pnp/powershell/blob/dev/src/Commands/Admin/GetTenant.cs
- Nov 07, 2022
shocko You should know, if not already understood, that we are talking about quite different things here. What SvenSieverding are posting about are multiple settings, while I'm posting about the ability to control all external access and external sharing settings for sites using sensitivity labels. Your use case isn't clear and not sure what settings you want to configure.