Forum Discussion
MSpang
Jul 15, 2022Brass Contributor
I could'nt create a new user in Azure with powershell
Hello everybody, I hope anybody can help. I wanna creat a new user in my Azure with powershell. The command should be # Kennwort erstellen
$PasswordProfile = New-Object -TypeName 'Microsof...
- Jul 15, 2022
Here comes the solution.
$PasswordProfile = New-Object -TypeName 'Microsoft.Open.AzureAD.Model.PasswordProfile' ($PasswordProfile.Password = "fGGGGGtyHHHHjj#$5g@@56" )Many thanks to all
MSpang
Jul 15, 2022Brass Contributor
Command:
$PasswordProfile = New-Object -TypeName 'Microsoft.Open.AzureAD.Model.PasswordProfile' $PasswordProfile.Password = "fGGGGGtyHHHHjj#$5g@@56"
ERROR:
New-Object : Es wurde kein Positionsparameter gefunden, der das Argument "=" akzeptiert.
MSpang
Jul 15, 2022Brass Contributor
Here comes the solution.
$PasswordProfile = New-Object -TypeName 'Microsoft.Open.AzureAD.Model.PasswordProfile' ($PasswordProfile.Password = "fGGGGGtyHHHHjj#$5g@@56" )
Many thanks to all