Outputting SharePoint Online Tenant Settings using CSOM

Here is a quick script that outputs the current SharePoint Online tenant settings using CSOM with PowerShell, this is similar to using the Get-SPOTenant Cmdlet from the SharePoint Online Management Shell however could come in useful if you don’t have this installed. Simply update the value of the $Site variable, replacing “tenant” with the name…