Create Office 365 Dynamic Distribution Group

0
383
views

Create Office 365 Dynamic Distribution Group

In this short post we will look at how to create Dynamic Distribution Groups in Office 365 using Azure AD, Exchange Online PowerShell.

To get started we will look at how to create a Dynamic Distribution group using Azure AD.

  1. Navigate to Azure Active Directory > Mange >> Groups
  1. From the Top Menu select “New Group
A screenshot of a cell phone
Description automatically generated
  1. From the “New Group” Select Group Type as “Office 365” and then Membership Type as “Dynamic User
A screenshot of a cell phone
Description automatically generated
  1. To configure the Dynamic Group membership Rules, click on “Add dynamic query
A picture containing screenshot
Description automatically generated
  1. Just for the purpose of this example, I will select “All enabled users” for this Dynamic membership rule.
A screenshot of a cell phone
Description automatically generated
  1. Once you have provided your membership rules, you can click “add query” at the bottom and then click on Create.
A screenshot of a cell phone
Description automatically generated
  1. Once the new group has been created, you can view the new group in Azure Active Directory groups as well as Office 365 Groups Portal.
A screenshot of a cell phone
Description automatically generated

Group Displayed in Office 365 Groups Portal.

A screenshot of a cell phone
Description automatically generated

Now that we have seen how to create a Dynamic Group from the Azure Active Directory Portal, let’s have a look at how we can create a Dynamic Group from the Office 365 Admin Portal.

Create Office 365 Dynamic Group from Exchange Online Admin Portal

  1. Navigate to Office 365 Admin Portal >Admin centers >> Exchange
A screenshot of a cell phone
Description automatically generated
  1. Click on “Recipients” then click on “Groups”, From the Groups menu click on the drop down next to “New Office 365 groupThen select “Dynamic distribution list”
A screenshot of a cell phone
Description automatically generated
  1. Provide a Name and Alias for the new Dynamic group and provide a rule for the group membership. For this example, I have listed the rule to select only users for Exchange Mailboxes.
A screenshot of a social media post
Description automatically generated
  1. You can view the new group from the Exchange Online Centre or Office 365 Groups Portal.

Lastly let’s look at how one can create and Office 365 Dynamic Group using Exchange Online PowerShell.

  1. Establish a connection to Exchange Online PowerShell.
A close up of a logo
Description automatically generated
  1. Next run the following to create the Dynamic group.

New-DynamicDistributionGroup -Name “My Dynamic DL 01” -IncludedRecipients MailboxUsers

A close up of a logo
Description automatically generated
  1. To verify that the new group has been created, run the following.
A picture containing screenshot
Description automatically generated

The above shows all Dynamic groups in Exchange Online.

Sharing is caring!

LEAVE A REPLY

Please enter your comment!
Please enter your name here