{"id":35,"date":"2024-02-20T06:50:40","date_gmt":"2024-02-20T06:50:40","guid":{"rendered":"https:\/\/blogs.hyperstrato.com\/?p=35"},"modified":"2024-03-21T06:58:39","modified_gmt":"2024-03-21T06:58:39","slug":"error-the-critical-property-exchangeguid-is-missing-in-the-mailuser-object","status":"publish","type":"post","link":"https:\/\/blogs.hyperstrato.com\/index.php\/2024\/02\/20\/error-the-critical-property-exchangeguid-is-missing-in-the-mailuser-object\/","title":{"rendered":"Error: The critical property &#8216;ExchangeGuid&#8217; is missing in the MailUser object"},"content":{"rendered":"\n<div class=\"wp-block-aioseo-table-of-contents\"><ul><\/ul><\/div>\n\n\n\n<p>&nbsp;<strong><span style=\"text-decoration: underline;\">Assessment<\/span><\/strong><\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<ol class=\"wp-block-list\">\n<li>You are using Exchange Online<\/li>\n\n\n\n<li>You have two Domains.<\/li>\n\n\n\n<li>Mailboxes are located <strong>in<\/strong> the Chip Domain.<\/li>\n\n\n\n<li>Mailusers are located <strong>in<\/strong> the Uconn.edu domain.<\/li>\n\n\n\n<li>When attempting to migrate 4 users from Exchange On-premise to Exchange Online, the migration fails with an error <strong>in<\/strong> reference to the Exchange Guid <strong>missing<\/strong> from the accounts.<\/li>\n\n\n\n<li>You are using ADConnect to sync the objects from the Uconn.Edu domain to Exchange Online<\/li>\n\n\n\n<li>When attempting to migrate the 4 users <strong>in<\/strong> question from Exchange On-premise to Exchange Online, we receive the following error:<\/li>\n<\/ol>\n<\/div><\/div>\n\n\n\n<p class=\"has-text-align-center\">&nbsp;&nbsp;&nbsp;&nbsp;The <strong>critical property<\/strong> &#8216;<strong>ExchangeGuid<\/strong>&#8216; is <strong>missing in<\/strong> the <strong>MailUser object<\/strong><\/p>\n<\/div><\/div>\n\n\n\n<p class=\"has-text-align-left\"><strong><span style=\"text-decoration: underline;\">Solution<\/span><\/strong><\/p>\n\n\n\n<p>\u00b7 Ran the following cmdlet for the affected users: Get-<strong>mailuser<\/strong> user@domain.com | FL *guid*<\/p>\n\n\n\n<p>\u00b7 We can see the exchange guids for all the objects are set to null <strong>in<\/strong> the cloud<\/p>\n\n\n\n<p>\u00b7 Checking the objects on-premise.<\/p>\n\n\n\n<p>\u00b7 Ran the following cmdlets:<\/p>\n\n\n\n<p>&nbsp;1. Get-<strong>Mailuser<\/strong> user@domain.com | FL *guid*<\/p>\n\n\n\n<p>\u00b7 We can see the exchange guids on-premise are null as well<\/p>\n\n\n\n<p>\u00b7 Need to check the <strong>object in<\/strong> the Chip Domain where the mailboxes reside and retrieve the exchange guids<\/p>\n\n\n\n<p>\u00b7 <strong>In<\/strong> the Chip domain , we ran: Get-mailbox user@domain |fl *guid*<\/p>\n\n\n\n<p>\u00b7 We retrieved the exchange guids<\/p>\n\n\n\n<p>\u00b7 We removed the current mail user objects from the cloud with:<\/p>\n\n\n\n<p>&nbsp;2. Remove-msoluser -userprincipalname user@domain.com<\/p>\n\n\n\n<p>3. Remove-msoluser -userprincipalname user@domain.com -removeFromRecycleBin<\/p>\n\n\n\n<p>\u00b7 <strong>In<\/strong> the Uconn.edu domain, we ran : Set-<strong>mailuser<\/strong> user@domain.com &#8211;<strong>ExchangeGuid<\/strong> \u201c<strong>ExchangeGuid<\/strong>\u201d<\/p>\n\n\n\n<p>\u00b7 The exchange guids have now been set on the mail-users<\/p>\n\n\n\n<p>\u00b7 We then ran a delta sync to recreate the mail-user objects <strong>in<\/strong> the cloud<\/p>\n\n\n\n<p>\u00b7 We can now see &nbsp;the exchange guids populated when running: \u201cGet-<strong>Mailuser<\/strong> user@domain.com | FL *guid*\u201d<strong>in<\/strong> the cloud<\/p>\n\n\n\n<p>\u00b7 Resubmitted the migration batch<\/p>\n\n\n\n<p>\u00b7 Two users failed with the following error: archive mailbox must be enabled before it can be moved<\/p>\n\n\n\n<p>\u00b7 When checking the on-premise mailbox <strong>in<\/strong> the Chip domain for the failed users, we can see there is an archiveGuid present<\/p>\n\n\n\n<p>\u00b7 When looking at the mailusers <strong>in<\/strong> the Uconn.edu domain, the archiveGuid is not present<\/p>\n\n\n\n<p>\u00b7 We need to set the archive guids on the mailusers <strong>in<\/strong> the Uconn.edu domain to match archive guid on mailbox <strong>in<\/strong> Chip domain.<\/p>\n\n\n\n<p>\u00b7 Afterwards, we need to run a sync to synchronize the changes to the cloud.<\/p>\n\n\n\n<p>\u00b7 Ran the following cmdlets to set the archive guids on-premise : Set-<strong>mailuser<\/strong> user@domain.com -ArchiveGuid \u201cArchiveGuid\u201d<\/p>\n\n\n\n<p>\u00b7 Ran ADconnect sync<\/p>\n\n\n\n<p>\u00b7 After sync completed, we can now see the archive guid populated on the <strong>mailuser<\/strong> objects <strong>in<\/strong> the cloud<\/p>\n\n\n\n<p>\u00b7 Resubmitted the migration batch<\/p>\n\n\n\n<p>\u00b7 Mailboxes migration for the user were successfully submitted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;Assessment &nbsp;&nbsp;&nbsp;&nbsp;The critical property &#8216;ExchangeGuid&#8216; is missing in the MailUser object Solution \u00b7 Ran the following cmdlet for the affected users: Get-mailuser user@domain.com | FL *guid* \u00b7 We can see the exchange guids for all the objects are set to null in the cloud \u00b7 Checking the objects on-premise. \u00b7 Ran the following cmdlets: &nbsp;1. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":36,"comment_status":"open","ping_status":"open","sticky":false,"template":"elementor_theme","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5,8,6],"tags":[],"class_list":["post-35","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-exchange-online","category-issues","category-office-365"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blogs.hyperstrato.com\/index.php\/wp-json\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.hyperstrato.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.hyperstrato.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.hyperstrato.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.hyperstrato.com\/index.php\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":2,"href":"https:\/\/blogs.hyperstrato.com\/index.php\/wp-json\/wp\/v2\/posts\/35\/revisions"}],"predecessor-version":[{"id":41,"href":"https:\/\/blogs.hyperstrato.com\/index.php\/wp-json\/wp\/v2\/posts\/35\/revisions\/41"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.hyperstrato.com\/index.php\/wp-json\/wp\/v2\/media\/36"}],"wp:attachment":[{"href":"https:\/\/blogs.hyperstrato.com\/index.php\/wp-json\/wp\/v2\/media?parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.hyperstrato.com\/index.php\/wp-json\/wp\/v2\/categories?post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.hyperstrato.com\/index.php\/wp-json\/wp\/v2\/tags?post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}