Hello,
I've inherited an on-premise exchange 2010 server after the client was migrated to Office 365. The client does not want an exchange server so using a hybrid is not an option (they want to re-purpose the server). The problem is they are using DirSync which was in play before I came on board.
If I uninstall exchange, the exchange attributes will be removed from the user objects which will in turn remove the email addresses from their Office 365 account. I have dabbled with several scripts and was wondering if you've ever tackled something like this. What I'm hoping to do is export all of the proxy addresses to a file and then import these from that file after uninstalling exchange.
My dilema is that many users have mutiple email addresses which are not just from the accepted domains and many proxy addresses have been assigned to users from users that have since left the company. I have a script that will create the 'proxyAddresses' attribute and add the primary and secondary addresses but I don't know what to do about the other proxy addresses. I could do it manually but there are too many user accounts with too many different smtp addresses assigned (some have over 12)
Any help would be appreciated