Modify ProxyAddress for multiple Active Directory users
In this guide, I’ll show you how to add, change, and remove ProxyAddresses using the AD Pro Toolkit. This will update the proxyAddresses attribute for on-premise Active Directory user accounts.
Resources
How to Add New ProxyAddresses to multiple user accounts.
In this example, I’ll add new proxyaddresses to user accounts. To update or replace proxyaddresses see the next section.
-
Download the Add New ProxyAddress Template
-
Fill out the CSV with user and proxyaddress information
CSV Example.
If you need to add multiple proxyaddresses seperate them with a comma.
-
Open the bulk modify user tool
-
Click on “Update Options” and make sure “Add New” is selected.
-
Select your CSV file and click run.
Check the logs for any errors.
Update Existing ProxyAddresses
If an account has a proxyAddress that you want to update use these steps.
-
Download the Update existing ProxyAddress Template
-
Fill out the csv with the target account and addresses you want to update.
- sAMAccountName = Target user account
- proxyAddresses = Target proxyaddress for the account you want to update
- proxyAddresses_update = This will replace what is in the proxyAddresses column.
Example.
In the above example,
test.user1111@activedirectorypro.com
will replacetest.user1@activedirectorypro.com
for user the test.user1. -
Open the bulk modify user tool.
-
Click on “Update Options” and make sure “Update Existing” is selected.
-
Select your csv file and click run.
Remove All ProxyAddresses
Warning: This will remove all user’s proxyAddresses. I recommend running the All Users report first and exporting the proxyAddresses to a CSV file. This will give you a backup of the user settings in case you need to revert.
-
Put remove in the proxyAddress column.
Example.
-
Open the bulk modify user tool.
-
In the options “Add New” should be selected. Although you are not adding new proxyAddresses this option must be set to remove the addresses.
-
Select your csv file and click run.