<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.labrats.us//wiki/index.php?action=history&amp;feed=atom&amp;title=User%3ASfiggins%2FO365_User_Mailbox_Reset_After_Migration</id>
	<title>User:Sfiggins/O365 User Mailbox Reset After Migration - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.labrats.us//wiki/index.php?action=history&amp;feed=atom&amp;title=User%3ASfiggins%2FO365_User_Mailbox_Reset_After_Migration"/>
	<link rel="alternate" type="text/html" href="https://www.labrats.us//wiki/index.php?title=User:Sfiggins/O365_User_Mailbox_Reset_After_Migration&amp;action=history"/>
	<updated>2026-04-04T10:05:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://www.labrats.us//wiki/index.php?title=User:Sfiggins/O365_User_Mailbox_Reset_After_Migration&amp;diff=255&amp;oldid=prev</id>
		<title>Sfiggins: Created page with &quot; == &#039;&#039;&#039;The Scenario&#039;&#039;&#039; ==    I have a client who had a user in an on-premise AD which was synced using Azure AD Connect to O365, but after assigning a new license to the mailb...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.labrats.us//wiki/index.php?title=User:Sfiggins/O365_User_Mailbox_Reset_After_Migration&amp;diff=255&amp;oldid=prev"/>
		<updated>2020-08-04T00:45:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; == &amp;#039;&amp;#039;&amp;#039;The Scenario&amp;#039;&amp;#039;&amp;#039; ==    I have a client who had a user in an on-premise AD which was synced using Azure AD Connect to O365, but after assigning a new license to the mailb...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;The Scenario&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have a client who had a user in an on-premise AD which was synced using Azure AD Connect to O365, but after assigning a new license to the mailbox, it did not get provisioned and I got the following error:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;quot;This user&amp;#039;s on-premises mailbox hasn&amp;#039;t been migrated to Exchange Online.  The Exchange Online mailbox will be available after migration is completed.&amp;quot;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
We could not migrate the user mailbox since Exchange was not uninstalled and few exchange related attributes, such as &amp;quot;MsExchMailboxGuid&amp;quot;, &amp;quot;MsExchRecipientDisplayType&amp;quot;, and &amp;quot;MsExchRecipientTypeDetails&amp;quot; were stamped with values.&lt;br /&gt;
&lt;br /&gt;
Although this is not difficult to fix, it’s not recommended. The correct and proper approach is to migrate the user mailbox or decommission the Exchange server gracefully from the on-premise site, and then assign a license in O365 so that a new mailbox gets provisioned in Office 365 admin portal.&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Here&amp;#039;s how I resolved it.&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solution Used&lt;br /&gt;
&lt;br /&gt;
1. Logged in to Active Directory users where the AD account was in the OU&lt;br /&gt;
&lt;br /&gt;
2. Opened properties and went to the attribute editor&lt;br /&gt;
&lt;br /&gt;
3. Noted the vaules of the attributes. I.e. &amp;quot;MsExchMailboxGuid&amp;quot;, &amp;quot;MsExchRecipientDisplayType&amp;quot;, and &amp;quot;MsExchRecipientTypeDetails&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
MsExchMailboxGuid:&lt;br /&gt;
&lt;br /&gt;
HEXADECIMAL - AB CB 5B BB D9 71 60 44 82 62 EC 5A 3C 26 5D 90&lt;br /&gt;
Decimal- 171 203 091 187 217 113 096 068 130 098 236 090 060 038 093 144&lt;br /&gt;
&lt;br /&gt;
msExchRecipientDisplayType : -2147483642&lt;br /&gt;
&lt;br /&gt;
msExchRecipientTypeDetails: 2147483648&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Cleared all of the above values and verified that the mailbox was now provisioned on the O365 portal&lt;br /&gt;
&lt;br /&gt;
5. Initiated a delta sync from Azure AD Connect DC. Opened a Powershell instance and ran the command: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PS C:\Windows\system32&amp;gt; start-adsyncsynccycle -policytype delta&lt;br /&gt;
&lt;br /&gt;
                                                                         Result&lt;br /&gt;
                                                                         ------&lt;br /&gt;
                                                                        Success&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS C:\Windows\system32&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open in new window&lt;br /&gt;
&lt;br /&gt;
6. In MIISClient under updates, verified that the changes were updated&lt;br /&gt;
&lt;br /&gt;
7. Logged in to the O365 admin portal and verified the recent synchronization&lt;br /&gt;
&lt;br /&gt;
8. Went into Active Users in the O365 admin portal and checked the user under mail settings. It was still showing the error: &amp;quot;This user&amp;#039;s on-premises mailbox hasn&amp;#039;t been migrated to Exchange Online. The Exchange Online mailbox will be available after migration is completed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
9. Removed the O365 Business Essentials license and re-assigned the license again to the same user.&lt;br /&gt;
&lt;br /&gt;
10. Went into Active Users on the O365 admin portal and checked the user under mail settings. This time I saw the message &amp;quot;We are provisioning a mailbox for the user&amp;quot;&lt;br /&gt;
&lt;br /&gt;
11. After some time, I checked the exchange admin portal in Office 365 admin portal and found that the mailbox was now provisioned for the affected user&lt;br /&gt;
&lt;br /&gt;
12. Logged in to OWA for the affected user and verified by sending test emails to ensure that mail flow was working fine&lt;/div&gt;</summary>
		<author><name>Sfiggins</name></author>
	</entry>
</feed>