Nov 04 2022 06:49 AM
Hi all,
Ask
I'm trying to set up dynamic distribution lists for my organisation which filters out Disabled accounts from the membership list.
Problem
The groups are populated based on their Office location, which when tested on an Azure account, pulls the correct users into the list. It does not seem however that there is either a UI option or Powershell property to filter out accounts which have been disabled.
Environment
We currently work on a hybrid On-Prem/Azure AD configuration and will be creating the DDL's in Exchange Online. The On-Prem element will be removed in time as we bring more Azure only users into the business from other areas, so do not want to build the DDL's to depend on AD records, only Azure.
Other solutions tried
M365 groups will not be appropriate as these introduce Teams/Inboxes/SharePoint functionality which is not something we want the entire offices to be interacting with.
Many thanks for your support.
Nov 04 2022 10:30 AM
Nov 07 2022 02:50 AM