How can I create Azure AD groups using Bicep?

Adarsh Shrivastav 20 Reputation points
2024-09-02T07:46:57.7266667+00:00

I would like to create Azure AD groups using Bicep scripts instead of PowerShell. Can anyone provide me with information or resources on how to do this?

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,425 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,360 questions
0 comments No comments
{count} votes

Accepted answer
  1. Deepanshukatara-6769 8,940 Reputation points
    2024-09-02T07:56:31.0433333+00:00

    Hello, Welcome to MS Q&A

    I think for Azure AD groups using Bicep scripts is not supported directly. Bicep is primarily used for deploying Azure resources, and Azure AD groups are not considered Azure resources in this context.

    For managing Azure AD groups, you might need to use other tools like Azure PowerShell or Microsoft Graph API.

    Please accept if it helps

    kindly let us know if further questions

    Thanks

    Deepanshu

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.