<!-- WP QUADS Content Ad Plugin v. 2.0.94 -->
<div class="quads-location quads-ad2530 " id="quads-ad2530" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<h2 class="wp-block-heading"><strong>Symptoms:</strong></h2>



<p>After you Synchronize users from Local Active Directory to Office 365 Directory using dirsync and try to enable users licenses on Office 365 portal you get the following error.</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.94 -->
<div class="quads-location quads-ad2528 " id="quads-ad2528" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.94 -->
<div class="quads-location quads-ad2529 " id="quads-ad2529" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.94 -->
<div class="quads-location quads-ad2526 " id="quads-ad2526" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<h2 class="wp-block-heading"><strong>Error:</strong></h2>



<p>Exchange: Cannot process command because of one or more missing mandatory parameters: ArchiveGuid.Exchange: An unknown error has occurred. Refer to correlation ID: dfd8cc2d-e6a4-4b47-8e1e-2059031893c1</p>



<figure class="wp-block-image"><a href="http://old.moh10ly.com/blog/office-365/exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters/oexch1.png?attredirects=0"><img src="http://old.moh10ly.com/_/rsrc/1431547306431/blog/office-365/exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters/oexch1.png" alt=""/></a> 

<!-- WP QUADS Content Ad Plugin v. 2.0.94 -->
<div class="quads-location quads-ad2522 " id="quads-ad2522" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>
 
</figure>



<p>According to the error message, it indicates that parameter ArchiveGuid is missed, please refer to the following steps to narrow down this issue:</p>



<p>1.Please ;<a href="http://help.outlook.com/en-us/140/cc952755.aspx">Connect Windows PowerShell to Exchange Online</a> ;and run the command below to compare this parameter of users have errors with normal users:</p>



<p>$LiveCred = Get-Credential</p>



<p>$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri ;<a href="https://ps.outlook.com/powershell/">https://ps.outlook.com/powershell/</a> ;-Credential $LiveCred -Authentication Basic -AllowRedirection</p>



<p>Import-PSSession $Session</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.94 -->
<div class="quads-location quads-ad2529 " id="quads-ad2529" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<figure class="wp-block-image"><a href="http://old.moh10ly.com/blog/office-365/exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters/oexch2.png?attredirects=0"><img src="http://old.moh10ly.com/_/rsrc/1431547306431/blog/office-365/exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters/oexch2.png" alt=""/></a></figure>



<p>Get-Mailbox <;username_with_errors>; | fl archive* ;</p>



<p>Get-Mailbox <;username_no_erros>; ; ;| fl archive*</p>



<p>Apparently the commands above didn&#8217;t work. And so I had to check something else.!</p>



<h2 class="wp-block-heading">In order to solve the problem first</h2>



<ol class="wp-block-list"><li>I had to assign License to the user synced on O365.</li><li>Check User&#8217;s Proxy target attribute using ADSI. (Which was correct)</li><li>Checking Archiving Attributes since the error is mentioning the Archiving option.</li><li>After checking the Archiving attributes it turns that the admin of Exchange has changed the below attributes before he assign user the license on o365 and migrate the user. ;</li></ol>



<figure class="wp-block-image"><a href="http://old.moh10ly.com/blog/office-365/exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters/oexch3.png?attredirects=0"><img src="http://old.moh10ly.com/_/rsrc/1431547306758/blog/office-365/exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters/oexch3.png" alt=""/></a></figure>



<figure class="wp-block-image"><a href="http://old.moh10ly.com/blog/office-365/exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters/oexch4.png?attredirects=0"><img src="http://old.moh10ly.com/_/rsrc/1431547306758/blog/office-365/exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters/oexch4.png" alt=""/></a></figure>



<p> ; ;  ; ; ;  ; ; ;  ; ; ;  ; ; ;  ;5. So deleting the value below msExchArchiveName and setting up ;msExchRemoteReceipeintType back to 4 ; ; ;  ; ; ;  ; ; ;  ; ; ;  ; ; ;  ; ; ;  ; ; ;  ;have solved the problem ; ;  ; ; ;  ; ; ;  ; ; ;  ; ; ;  ;6. Of course DirSync needs to be applied in order to sync changes to AD on O365.</p>



<h2 class="wp-block-heading"><strong>Note:</strong></h2>



<p>The migration for the User should be &#8220;continued&#8221; from previous migration batch in the portal otherwise if you start any new batch for the same user the result will be completed but migration won&#8217;t take place.<br></p>
<!-- WP QUADS Content Ad Plugin v. 2.0.94 -->
<div class="quads-location quads-ad2522 " id="quads-ad2522" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<figure class="wp-block-image"><a href="http://old.moh10ly.com/blog/office-365/exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters/oexch5.png?attredirects=0"><img src="http://old.moh10ly.com/_/rsrc/1431547306758/blog/office-365/exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters/oexch5.png" alt=""/></a></figure>



<figure class="wp-block-image"><a href="http://old.moh10ly.com/blog/office-365/exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters/oexch6.png?attredirects=0"><img src="http://old.moh10ly.com/_/rsrc/1431547306758/blog/office-365/exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters/oexch6.png" alt=""/></a></figure>



<p>If you used DirSync to sync users from local to online, please try to restart the DirSync to check whether this issue persists or not.<br></p>

<!-- WP QUADS Content Ad Plugin v. 2.0.94 -->
<div class="quads-location quads-ad2531 " id="quads-ad2531" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>


Reset and manage your Active Directory users' Passwords Active Directory is one of the most…
Finding Exchange Database hidden mailboxes. Story:Maybe you have been in this situation before, trying to…
If you're using a Proxy server in your firewall or in your network and have…
Story:I got some clients that have reported some of their users being locked out and…
Delegate Permissions This is a code that I have wrote recently to check if an…
Story: I got a request from a client who constantly gets CVs and have to…