Dynamic Distribution List on Department in Entra
I am trying to setup a DDL on Entra field Department=ABC When I create the DDL and set the field it works and populates existing users where Department=ABC - but if I add new users and set the department, it doesn't. The users in Entra portal show Department=ABC correctly but in PS they don't - although this is with Get-MailUser: PS C:\Windows\System32> Get-MailUser -Identity "chrisg_contoso.com#EXT#@contoso.onmicrosoft.com" | Select-Object Name, Department Name Department ---- ---------- 748a3723-c72c-4924-a8fd-02bcc413f5a3 They are all external users, and the DDL is updated with Set-DynamicDistributionGroup -Identity "ddl_test" -RecipientFilter "((Department -eq 'ABC') -and (Alias -ne
…