Microsoft Download Center Archive
Bulk update AAD office locations |
Use this utility to update the PhysicalDeliveryOfficeName field in AAD profiles using a CSV file
- This PowerShell utility updates the PhysicalDeliveryOfficeName (or Office) field in AAD profiles using a CSV file. The CSV file should contain a mapping between AAD aliases and the office info. It also backs up existing data to ensure that the changes can be rolled back.
Files
Status: LiveThis download is still available on microsoft.com. The downloads below will come directly from the Microsoft Download Center. |
File | Size |
---|---|
BulkUpdateOfficeLocations.ps1 SHA1: 00f2c012f706cdb6223337523b875d9cb4bb6564 | 1 KB |
File sizes and hashes are retrieved from the Wayback Machine’s indexes. They may not match the latest versions of files hosted on Microsoft servers.
System Requirements
Operating Systems: Windows 10, Windows Server 2016
- Requires Windows 10 or Windows Server 2016
Installation Instructions
- Click Download to download the utility.
- Create a CSV file. For example, create a file named 'LocationInfo.csv'.
- Add rows containing user alias and office location info to the CSV file. For example, [email protected],2/1173. Ensure you have a separate row for each alias, office location) pair.
- Open Windows PowerShell.
- From commandline, cd to the folder containing the script.
- Run BulkUpdateOfficeLocations.ps1.
- Login using AAD credentials.
- Provide path of CSV file.
- The script will try to update the office field for the AAD aliases in the CSV file and publish a summary.