Managing Azure Only Distribution Lists in Activate
Managing Azure Groups with Activate
Activate uses the Microsoft Graph REST API for all management of Azure where possible. The REST API provides high performance and is recommended by Microsoft as the preferred option.
However, there are limitations on the types of groups that can be managed this way, as outlined in the Microsoft Graph Groups Overview.
Group Types in Microsoft Graph
In Microsoft Graph, the type of group can be identified by the settings of its groupType, mailEnabled, and securityEnabled properties, as shown below:
Type | groupType | mailEnabled | securityEnabled | Created and managed via the Groups API |
|---|---|---|---|---|
Microsoft 365 groups | ["Unified"] | true | true or false | Yes |
Security groups | [] | false | true | Yes |
Mail-enabled security groups | [] | true | true | No |
Distribution groups | [] | true | false | No |
Key Limitation
Mail-enabled groups that are NOT Microsoft 365 groups cannot be managed using Microsoft Graph. Microsoft recommends using Microsoft 365 Groups.
Customer Scenarios
Some customers still wish to use mail-enabled Distribution Groups (DLs) that are not Microsoft 365 groups. This was not possible in versions before V8.
V8 Support
In V8, we have enabled this functionality. However, this requires using PowerShell to manage these groups. The process is mostly seamless to scripts and processes within Activate, but there are important limitations and known issues:
Limitations and Known Issues
- There is a 5–10 second delay when first connecting to Exchange Online the first time a session is started. This can occur any time an action is required against a DL.
- The group types in ADCache are used to determine the group type. If the group type changes between Syncs, the wrong action may be taken and the action may fail.
- Each action requiring PowerShell is 6–10 times slower than using Graph.
As a result:
- Adding large numbers of users or bulk changes will be slower for these groups.
- Large-scale changes may hit PowerShell execution limits.
Recommendation
Microsoft strongly recommends using Microsoft 365 Groups where possible to avoid these limitations.