Saturday, April 27, 2024

Easily Create MailUser Objects

When it comes to the setup and configuration of the Microsoft 365 Cross-Tenant Migration Tools, the first part is obviously the initial configuration and testing. When you get past that and everything is working, the next phase is to get the users ready for migration.

To do that the users on the Source Tenant need to be represented as MailUser objects in the Target Tenant. They need to have the ExchangeGUID applied to them to match the Source Tenant and also the X500 address must be added as an appropriate email alias in the object.

Note that it is the matching of the ExchangeGUID that links the Source and Target account. It has nothing to do with the UPN or SAMAccountName.

Here in this video I present to you how I have made it easier to create these objects, using my M365 Discovery Tool. The tool creates a full output of all the details around the Tenant as far as content goes. On the Mailbox page in the report it can add all the PowerShell commands necessary to create the MailUser objects and apply all the right settings into them.

The video can be found here.

In the video I do talk about the PowerShell command necessary to create the Batch automatically so here it is.

New-MigrationBatch -Name "Batch Name -SourceEndpoint "Migration EndPoint 1" -CSVData([System.IO.File]::ReadAllBytes('c:\scripts\batch1.csv')) -TargetDeliveryDomain xxxxxxx.onmicrosoft.com

Now obviously you need to update the line with your own details, but you get the idea of what I am talking about here.

Thanks for reading this and watching the video. The link to the Discovery Tool is here.

Please remember to subscribe to the YouTube Channel

https://youtube.com/thecloudgeezer?sub_confirmation=1

Have an awesome day, whereever in the World you are.

Mark – The Cloud Geezer

Mark Rochester
Mark Rochesterhttps://thecloudgeezer.com
Mark currently works in the cloud space assisting large companies to migrate from either on premises to the cloud, or cloud to cloud. His experience with Enterprise migrations spans more than 25 years which basically makes him old. However, with all the oldness creeping up he still finds technology massively exciting. Please reach out for a chat anytime you would like. :-)

Related Articles

Migrate Microsoft 365 Mailboxes to Google Workspace

This is not a very common subject to talk about as most of the migrations that get performed are people moving into the Microsoft...

Microsoft 365 Discovery Report

If you are working with a Microsoft 365 tenant, whether it is for your own or for a client, it is often necessary to...

Batches Paused in ‘Needs Approval’ Status

When you are using the native Microsoft tools to migrate from Google Workspace (Gmail) into Microsoft 365 the tool works very well. It does...

Stay Connected

88FansLike
36,999FollowersFollow
32,381SubscribersSubscribe
- Advertisement -

Latest Articles