Removing on-premises proxy address on the way to the cloud

Removing on-premises proxy address on the way to the cloud

Be the first to vote!

Several years ago, I wrote a script and a blog post to help customers use AAD Connect to strip out proxy addresses during the synchronization process.  The goal was to keep the on-premises AD proxyAddresses attribute for users untouched, as it was needed for other applications and communication on-premises.

I updated it a few years afterwards for several very large customers who had a similar requirement, only instead of just removing a single proxyAddress pattern, they needed to remove lots.  Since you can only have one transform on an attribute at a time, I had to combine multiple actions into a single rule.

This was all chugging along merrily until we sunsetted the TechNet Gallery.

[sad trombone]

So, at the behest of two of my coworkers, I’ve re-published this script so that a new generation of customers can continue to programmatically delete things. 😉

To install, you can simply run:

Install-Script -Name New-AADConnectRuleRemoveProxy

on your AAD Connect Server and then run it. Woot!

Published by Aaron Guilmette

Helping companies conquer inferior technology since 1997. I spend my time developing and implementing technology solutions so people can spend less time with technology. Specialties: Active Directory and Exchange consulting and deployment, Virtualization, Disaster Recovery, Office 365, datacenter migration/consolidation, cheese. View all posts by Aaron Guilmette

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Exit mobile version