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