Forum Discussion

StefanoC66's avatar
StefanoC66
Iron Contributor
Aug 21, 2025
Solved

Common user attributes synchronized

We have Entra id Connect configured to synchronize with Office 365 tenant for Exchange Hybrid environment. We noticed that in exchange online when trying to create a Dynamic distribution group based...
  • LainRobertson's avatar
    LainRobertson
    Aug 22, 2025

    Hi StefanoC66​,

     

    You need to use "city" not "l". The error is telling you it does not recognise "l".

     

    When you're working with Exchange Online, you need to use the attribute names from the "property name" column of the article Vasil linked to.

     

    If you're working with Exchange Server, you'd need to use the "LDAP display name" column.

     

    For Exchange Online, this is what you should have tried:

     

    New-DynamicDistributionGroup -Name "TEST" -RecipientFilter "(RecipientTypeDetails -eq 'UserMailbox') -and (city -eq 'Text')"

     

    Cheers,

    Lain

Resources