Link to home
Create AccountLog in
Avatar of Pete
PeteFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Email distribution groups FROM Azure TO on premises AD

We have a 3rd party system that creates email distribution groups in Azure. We would really like these groups in our on premises AD.

We use AAD connect and have enabled Group writeback but it seems:

The Group writeback feature does not handle security groups or distribution groups.

How can I get the groups to our on premises AD, this will need to run everyday for updated membership etc.

Thanks
Avatar of Peter Hutchison
Peter Hutchison
Flag of United Kingdom of Great Britain and Northern Ireland image

To be honest you should create them in AD first and use AD Connect (aka DirSync) to sync and create objects in Azure / Office 365.
Avatar of Pete

ASKER

Creating them in AD first is not an option, the software creates them from our school MIS to azure, there’s no onsite option. We need a way to script the groups back onsite. Or another idea.
Thanks
What you can do is expotr the new groups to a file as part of the job on Azure and run another powershell command to download that file and create the equivalent groups in AD.
Avatar of Pete

ASKER

thanks, could you please advise a rough format for the script? dont need anything specific.
ASKER CERTIFIED SOLUTION
Avatar of Peter Hutchison
Peter Hutchison
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account