A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Run Invoke-ProvisioningVerifyRbacDiagnostic against the affected user and New-DynamicDistributionGroup; the cmdlet is supported in Exchange Online, so its absence despite a confirmed effective role assignment indicates that the tenant’s effective RBAC configuration needs targeted validation rather than another module reinstall or reconnect.^1^
$User = '[Email]'
Invoke-ProvisioningVerifyRbacDiagnostic `
-User $User `
-CmdletName New-DynamicDistributionGroup
Get-Command New-DynamicDistributionGroup -ErrorAction SilentlyContinue
This diagnostic checks the user’s management roles, assignments, and role groups; detects missing, conflicting, duplicated, or inconsistent RBAC components; and can provide guidance or automated repair when it finds a problem.^2^ It is cloud-only, intended for targeted troubleshooting, and limited to 100 diagnostic calls per organization per hour.^3^
If PowerShell does not expose the diagnostic, run the equivalent in Exchange admin center → Troubleshoot → Diagnostics → Verify RBAC. Select the affected user and specify New-DynamicDistributionGroup.^4^
Compare with a working administrator
If another administrator in the same tenant can see the cmdlet, compare their effective RBAC configuration:
Invoke-ProvisioningVerifyRbacDiagnostic `
-ReferenceUser '[Email]' `
-User '[Email]'
The comparison syntax is supported by the same diagnostic and isolates effective-assignment differences that may not be obvious from inspecting the Distribution Groups role alone.^3^
Interpret the result
- The diagnostic reports and repairs an inconsistency: sign out, establish a new Exchange Online session, and test
Get-Command New-DynamicDistributionGroupagain. Permission changes take effect after logout and login.^5^ - It identifies a missing or conflicting assignment: apply the diagnostic’s recommended correction. Modifying role groups requires the Role Management role, assigned to Organization Management by default.^6^
- It reports correct authorization but the cmdlet remains absent: open a Microsoft 365 support case and include:
- the diagnostic
RunIdand complete output; -
Get-ConnectionInformation; -
Get-Module ExchangeOnlineManagement | Format-List Name,Version,Path; - the output showing the role entry and effective assignment;
- the output of
Get-Command *DynamicDistributionGroup* -All.
- the diagnostic
Exchange Online uses RBAC to determine which cmdlets are exposed after connection, and role membership normally makes the role’s cmdlets available to the user.^7^ Since you have already reproduced this across machines, module versions, and fresh sessions—and confirmed the role entry, effective user, enabled status, and organization scope—repeating installation or ordinary role-assignment checks is unlikely to discriminate the issue further.
References
- New-DynamicDistributionGroup-Description
- Diagnostic cmdlets for Exchange Online provisioning issues
- Invoke-ProvisioningVerifyRbacDiagnostic-Syntax
- Self-help diagnostics for issues in Exchange Online and Outlook
- Role assignment policies in Exchange Online
- Manage role groups in Exchange Online
- Permissions in Exchange Online