- Log on to Exchange server that hosts the volume running low on space
- Launch a command prompt with elevated privilages
- Type : Diskshadow and press enter
####Browse to the root of the volume, NTFS mount points are fine, the following command mounts DBVolume1
- Add volume C:\-Exchange-Disks\DBVolume1
- Begin backup and press enter
- Create and press enter
- End backup and press enter
Tag Archives: Exchange
Synchronize an Exchange Online Mailbox with a different Active Directory Forest.
I recently worked on a project whereby I was migrating a Global Company that owned a number of business and they wanted to break down the barriers between the different brands and all collaborate under a new brand in Office365.
I synchronized a number of forests from around the world into the organization’s Office365 tenant using the new Azure Active Directory synchronization tool.
One of the businesses shared their Exchange Server (Business A) with another business (Business B) and to migrate their mailboxes I implemented an Exchange Hybrid and migrated the mailboxes into Exchange Online.
Business A Active Directory was authoritative for Business B mailboxes. So how do we disjoin them from Business A and synchronize them with Business B , so that Business B can perform identity management on their own Active Directory Forest.
So the following steps explain how to do this. This can of course be scripted if there were hundreds or thousands of users.
- Run this command on Business B Active Directory Forest to obtain all user’s immutable ID
ldifde -f con -r userprincipalname=sean@contoso.com -l objectguid - Then on in the AAD tool stop synchronizing the users’ from Business B
- This will then delete the users accounts, got to the Office365 recycle bin and restore the user’s account. This will also convert the user’s account to a cloud identity.
- The run this command in the ‘Windows Azure Active Directory Module for Windows PowerShell’ to convert the cloud user’s immutable id so that it matches the object guids obtained in step 1
set-MsolUser -UserPrincipalName sean@contoso.com -ImmutableID I3/MGNcBbUWWVs+jXPTH4g==
- Finally their are some attributes that we need to match from Business A Active Directory Forest with each user’s account in Business B Active Directory
msExchAddressBookFlags
msExchMailboxGuid
msExchMasterAccountSid
msExchRemoteRecipientType - No we are ready to sync the OU with the AAD tool from Business B and Business B Active Directory will be the authoritative Active Forest for these mailboxes.
Dell Migrator for Notes to Exchange – Admin Pool
2.) Click the Menu button in the upper right and select Global Default Settings.
3.) In the text file that opens, save the copy of current Global Default Setting, and locate the [PowerShell] heading.
4.) Remove the [PowerShell] heading and all values directly beneath it.
5.) Save and Close the file.
6.) Exit the MNE Migration Manager.
7.) Open the MNE Migration Manager and try configuring the Office 365 PowerShell Throttling settings again. You can also refer to the following KB article:
Script to add legacyexchangedn as x500 alias into AD user object for Exchange Online
As you begin to convert the onpremise users’ to federated or managed users. You need to capture that user’s legacyexchangedn and ingest it into the users’ AD users’ proxyaddresses attribute as an x500 alias to prevent potential NDRs from existing Office365 users.
So run this Exchange Online command
get-mailcontact – resultsize unlimited | select-object legacyexchangedn,primarysmtpaddress | export-csv “csv file path” delete the first line 1 from the output of the csv
Then download this SCRIPT and edit the following lines
- edit line 11 and enter your domain name
- edit line 25 and enter your domain name
Credit : Eduardo Martin





