Hi @Saikumar , can you change 'pdcsAdminGroup' to a different name or name it all lowercase and see what happens?
Create a dynamic device group in AAD
Saikumar
20
Reputation points
i tried creating dynamic device group in AAD with global admin rights
but not able to create it, provides an error.
can you please suggest where i'm going wrong in placing parameters,or is there any other way
Connect-AzureAD
New-AzureADMSGroup
-DisplayName "admin group"
-Description "Group assignable to role"
-MailEnabled $False
-MailNickname "pdcsAdminGroup"
-SecurityEnabled $True
-IsAssignableToRole $True
-Visibility "Private"
1 answer
Sort by: Most helpful
-
James Hamil 26,026 Reputation points Microsoft Employee
2023-05-02T18:31:27.35+00:00