I used azure connect to sync my on site AD with azure AD thinking this would be a great backup and maybe eventually just use azure AD and get rid of my on site server.
Little did I know, once I did it, It then changed my online exchange! It changed all emails to on-prem and also took my AD distribution groups and changed my exchange distribution groups to on-prem too. It also changed the people within the groups and changed the usernames of the email accounts. It completely messed with everything.
I couldnt even change anything in the online exchange in these emails and groups.
I then uninstalled azure sync and took all the connections out of azure ad connect online. But it still showed everything as on-prem.
After some searching around I found a powershell script to change azure ad connect to show the sync as "never run" so it was as if nothing happened.
I checked my online exchange and all email accounts were accessible and back to normal! BUT my distribution groups are still showing "on-prem" which means i cant change them. There are people in those groups that shouldnt be and i cant change them at all. I went into azure ad and its showing the group source as "windows server ad" and i cant change that at all.
Is there another powershell script I can run that will change the groups to in cloud so i can have the ability to access and change them again?