Forum Discussion
Read/Write AzureAD Guest Self Signup via PowerShell
- 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
Yeah, I saw that afterwards. I'm moving on with all the other properties I find. Properties like that, which seem unreachable via the MS Powershell cmdlets, will move to a backlog/do it manually via UI pool.
The main problem I see is with the inconsistent implementation of the cmdlets and the lacking documentation. Or better, the inconsistent quality of the documentation. To make matters worse for me, I just found the PnP PowerShell which is supposed to bring with it more commands. But now I'm stuck figuring out, which tools/cmdlets/tech I should use, i.e. are best practice, according to microsoft and the community.
I want to avoid writing my own MS Graph frontend but maybe that's where this is going in the long run.
Thanks for the support!
EDIT: sorry for the edit noise