Create a dynamic device group in AAD

Saikumar 20 Reputation points
2023-05-02T18:22:23.5733333+00:00

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"

User's image

User's image

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,449 questions
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 26,026 Reputation points Microsoft Employee
    2023-05-02T18:31:27.35+00:00

    Hi @Saikumar , can you change 'pdcsAdminGroup' to a different name or name it all lowercase and see what happens?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.