Using the AzureADPreview module, version 2.0.2.136 I notice that the 'All' parameter of Get-AzureADUser behaves like a "boolean parameter" rather than a "switch parameter".
That is to say this:
Get-AzureADUser -All
throws this error:
Get-AzureADUser : Missing an argument for parameter 'All'. Specify a parameter of type 'System.Nullable`1[System.Boolean]' and try again.
The only way to use the 'All' parameter is by providing a boolean value:
Using the AzureADPreview module, version 2.0.2.136 I notice that the 'All' parameter of Get-AzureADUser behaves like a "boolean parameter" rather than a "switch parameter".
That is to say this:
throws this error:
The only way to use the 'All' parameter is by providing a boolean value: