Distribution group update based on AD attributes – PowerShell
On-premise dynamic distribution groups have limitations and you as a admin need to create contacts to make them work with hybrid environments as mentioned in the below article. Mystery of Dynamic Distribution Lists Exchange Hybrid There are other issues as well like you can not use these for Sharepoint permissions or other things like inviting…