How to use Division attribute for Dynamic Distribution Group

MRMO Admin (TEST) 0 Reputation points
2025-01-03T17:37:24.3733333+00:00

I'm trying to create a Dynamic Distribution Group, and I need to make a decision based on the Division attribute. I can't select the attribute because under Dynamic membership rules it is not listed as a selectable Property in the dropdown. Does anybody know how to make the Division attribute selectable?

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,683 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Alex Zhang-MSFT 3,315 Reputation points Microsoft Vendor
    2025-01-06T02:22:27.2+00:00

    Hello, @MRMO Admin (TEST),

    Welcome to the Microsoft Q&A platform!

    Based on your description, you're trying to create a Dynamic Distribution Group in Exchange Online and need to use the Division attribute, but it's not appearing in the dropdown list of selectable properties.

    First, I want to confirm with you, you mentioned "can't select the attribute because under Dynamic membership rules it is not listed as a selectable Property in the dropdown.".Do you mean that you don't see the “Division” property in the list of screenshots below?

    User's image

    The attribute Division might not be a recognized filterable property for dynamic distribution groups. Instead, you may want to use a different, recognized property. Here’s how you can do it:

    1.You need to have the necessary permissions to run these commands in PowerShell.

    2.If you need to use a custom attribute, you can use something like CustomAttribute1.

    New-DynamicDistributionGroup -Name "YourGroupName" -RecipientFilter {CustomAttribute1 -eq "YourDivisionValue"}   
    

    3.Make sure that the attribute you're using is correctly populated in the users' properties. You can see all the filterable properties by running the following command.

    Get-Recipient | Get-Member
    

    User's image

    If you need more detailed guidance, you can refer to the official Microsoft documentation on managing dynamic distribution groups:

    1.https://learn.microsoft.com/en-us/exchange/recipients-in-exchange-online/manage-dynamic-distribution-groups/create-manage-dynamic-distribution-groups?tabs=create-new-eac%2Ccreate-new-eac-2%2Ccreate-new-eac-3.

    2.https://learn.microsoft.com/en-us/exchange/recipients/dynamic-distribution-groups/dynamic-distribution-groups?view=exchserver-2019.

    Should you need more help on this, you can feel free to post back. 


    If the answer is helpful, please click on ACCEPT ANSWER as it could help other members of the Microsoft Q&A community who have similar questions and are looking for solutions.

    Thank you for your support and understanding.

    Best Wishes,

    Alex Zhang


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.