Skip to main content

proxyAddress Attribute doesn't copy when using Active Directory Migration Tool (ADMT)

By default, ADMT excludes these attributes from the migration, meaning you're going to be left with users that don't have this information. This will cause lots of issues if you're needing to use O365.

  1. Create a new VBS script by coping the following info a Notepad document, then saving as DisplayExclusionList.vbs. Ensure this is saved in C:\Temp
Set o = CreateObject("ADMT.Migration")
WScript.Echo o.SystemPropertiesToExclude
  1. Open an Administrative Command Prompt, navigate to C:\Windows\SysWow64, then run the the following command and the results should look similar to below the command.
cscript.exe C:\Temp\DisplayExclusionList.vbs

displayexclusionlist.jpg

  1. Once you have done this, you will see the list of all the items that are in the exclusions list. From here you can create a similar script which will amend that list and remove mail and proxyAddress
Set o = CreateObject("ADMT.Migration")

o.SystemPropertiesToExclude = "msDS-PSOApplied,msDS-HostServiceAccount,attributeCertificateAttribute,audio,carLicense,departmentNumber,employeeNumber,employeeType,gecos,gidNumber,homePostalAddress,houseIdentifier,ipHostNumber,jpegPhoto,labeledURI,loginShell,memberUid,msDFSR-ComputerReferenceBL,msDFSR-MemberReferenceBL,msDS-ObjectReferenceBL,msDS-SourceObjectDN,msExchAssistantName,msExchHouseIdentifier,msExchLabeledURI,msRADIUS-FramedIpv6Route,msRADIUS-SavedFramedIpv6Route,msSFU30Aliases,msSFU30Name,msSFU30NisDomain,msSFU30PosixMember,msSFU30PosixMemberOf,networkAddress,nisMapName,otherMailbox,photo,preferredLanguage,registeredAddress,roomNumber,secretary,shadowExpire,shadowFlag,shadowInactive,shadowLastChange,shadowMax,shadowMin,shadowWarning,textEncodedORAddress,uid,uidNumber,unixHomeDirectory,unixUserPassword,userPKCS12,userSMIMECertificate,x500uniqueIdentifier"

Whilst this might look like a really long command, all I did was copy the output from the DisplayExclusionsList.vbs file, then input it at the end of the script, and removed the proxyAddress and mail entries. After running the migration again, the attributes moved through very nicely and saved me a lot of time!!

Original Article