Forum Discussion
SimonChalfont
Mar 22, 2017Brass Contributor
Unable to obtain V1.1.130.0 public preview of the Azure AD PowerShell module
Update: Good response over in a different thread highlighting the need to now use the v2 AzureAD preview module to perform this configuration: https://techcommunity.microsoft.com/t5/Azure-Active-...
- Mar 22, 2017
get-msolsettings is gone, you have to use Get-AzureADDirectorySetting.
Thomas
Anonymous
Mar 23, 2017Made 'some' progress with the code in the URL above. I get through each line (populating the variable settings) except the last: Set-AzureADDirectorySetting -ObjectId $settings.Id -DirectorySetting $settings
I keep getting this error: Set-AzureADDirectorySetting : A parameter cannot be found that matches parameter name 'ObjectId'.
Unfortunately, 'get-help' wasn't helpful.
I installed the 'AzureADPreview' module v2.0.0.85 for this, as I was having all kinds of problems trying to get this to work.
Strange that the parameter can't be found. Any ideas what I'm doing wrong, or is this a problem with the module (preview mode...).