Jun 11 2021 01:58 AM
Setting the Guest user self-signup property via powershell is documented to be done via the Msonline module's `Set-MsolCompanySettings` cmdlet (-AllowAdHocSubscriptions) (documentation)
Now, I don't see a way to read this setting. There's Get-MsolCompanyInformation but no value for AdHocSubscriptions.
Also, the Msonline module is marked as deprecated and we should use AzureAD(-Preview) module instead.
But there I can't find the setting. It might be me just being unable to correctly search the documentation.
So my questions are:
Jun 12 2021 12:30 AM
SolutionJun 14 2021 02:36 AM
Thank you! I wasn't aware of this concept of hidden properties. Would I have been able to figure that out via documentation?
Also, I now see that AllowAdHocSubsciptions is set to true in the result of the cmdlet, but Azure Portal shows this as "false" in the External Identities->External Collaboration Settings
Jun 14 2021 11:25 PM
Jun 15 2021 04:41 AM - edited Jun 15 2021 04:43 AM
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