Azure Active Directory (Azure AD) groups are fundamental for managing access to resources and applications within your organization. They allow you to assign permissions, licenses, and application access to multiple users or devices simultaneously, simplifying administrative tasks.
There are two primary types of groups in Azure AD:
Groups can have static or dynamic memberships. Dynamic membership rules automatically add or remove members based on user attributes or device properties, reducing manual management.
You can create groups using the Azure portal, PowerShell, or Microsoft Graph API. Here's a brief overview of the Azure portal process:
Once a group is created, you can add or remove members. For dynamic groups, this is handled automatically by the defined rules.
For assigned groups:
Group settings allow you to configure various aspects, including:
Dynamic membership simplifies group management by automatically adding or removing members based on user attributes (like department, job title, location) or device properties. You define rules using a query language.
Example Rule (Users in 'Sales' department):
user.department -eq "Sales"
Example Rule (Devices in 'Corp' OU):
device.accountEnabled -eq true and device.onPremisesSyncEnabled -eq false and (device.operatingSystem -contains "Windows") and (device.deviceOSType -eq "Windows10")
You can create complex rules using logical operators (AND, OR, NOT) and various attributes. The Azure portal provides an intuitive interface for building these rules.
Learn More about Dynamic Rules