Within the MSOnline module, there is a Set-MsolCompanySettings
cmdlet to disable user browsing within an AAD:
Set-MsolCompanySettings -UsersPermissionToReadOtherUsersEnabled $false
I wan't to set this setting within an AAD in MCD (Microsoft Cloud Deutschland - Azure Germany). Unfortunately, I don't found a way to connect to an AAD MCD using MSOL - did I missed something?
Anyhow, I can use the Graph API and probably the AzureAD module to set this flag but I didn't find any related resources / cmdlets. Any idea?