Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Remove Invalid ProxyAddress From User Account

$
0
0
I stumbled on the script titled " Export User Names and Proxy Addresses to CSV File" (https://devblogs.microsoft.com/scripting/export-user-names-and-proxy-addresses-to-csv-file/) and I must confess that it is very good and seems to be the solution to the issue am facing.
I have an Exchange server 2013 environment, I recently discovered that about 60% of the total mailboxes in the organization have three ProxyAddresses each. 
First : SMTP: xxxx@domain.com
Second : X.400 xxx

Third  :  UserSamAccountName

The issue

Whenever  I tried to migrate any of the users/mailboxes with the three ProxyAddresses to another Mailbox Database, I get an error saying that the user account contain an invalid email address.

Upon finding the script, I see that if I could export out the three ProxyAddresses to a CSV for all accounts, I have another script that can use the CSV as input and remove the third ProxyAddresses from all the affected Users/Mailboxes.

I need your help on how to create a third column for ProxyAddress_3 using the script or any other method to resolve the issue.

Viewing all articles
Browse latest Browse all 15028

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>