Forum Discussion
SRMueller
Jun 11, 2021Copper Contributor
Read/Write AzureAD Guest Self Signup via PowerShell
Setting the Guest user self-signup property via powershell is documented to be done via the Msonline module's `Set-MsolCompanySettings` cmdlet (-AllowAdHocSubscriptions) https://docs.microsoft.com/de...
- Jun 12, 2021It's there, but hidden:
Get-MsolCompanyInformation | select AllowAdHocSubscriptions
Or just | fl * it. And you can also set/query it via Graph: https://docs.microsoft.com/en-us/graph/api/resources/authorizationpolicy?view=graph-rest-beta
VasilMichev
Jun 12, 2021MVP
It's there, but hidden:
Get-MsolCompanyInformation | select AllowAdHocSubscriptions
Or just | fl * it. And you can also set/query it via Graph: https://docs.microsoft.com/en-us/graph/api/resources/authorizationpolicy?view=graph-rest-beta
Get-MsolCompanyInformation | select AllowAdHocSubscriptions
Or just | fl * it. And you can also set/query it via Graph: https://docs.microsoft.com/en-us/graph/api/resources/authorizationpolicy?view=graph-rest-beta