Exchange: Cannot process command because of one or more missing mandatory parameters

&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;94 -->&NewLine;<div class&equals;"quads-location quads-ad2530 " id&equals;"quads-ad2530" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;<h2 class&equals;"wp-block-heading"><strong>Symptoms&colon;<&sol;strong><&sol;h2>&NewLine;&NewLine;&NewLine;&NewLine;<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&period;<&sol;p>&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;94 -->&NewLine;<div class&equals;"quads-location quads-ad2528 " id&equals;"quads-ad2528" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;94 -->&NewLine;<div class&equals;"quads-location quads-ad2529 " id&equals;"quads-ad2529" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;94 -->&NewLine;<div class&equals;"quads-location quads-ad2526 " id&equals;"quads-ad2526" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;&NewLine;&NewLine;&NewLine;<h2 class&equals;"wp-block-heading"><strong>Error&colon;<&sol;strong><&sol;h2>&NewLine;&NewLine;&NewLine;&NewLine;<p>Exchange&colon; Cannot process command because of one or more missing mandatory parameters&colon; ArchiveGuid&period;Exchange&colon; An unknown error has occurred&period; Refer to correlation ID&colon; dfd8cc2d-e6a4-4b47-8e1e-2059031893c1<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;blog&sol;office-365&sol;exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters&sol;oexch1&period;png&quest;attredirects&equals;0"><img src&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;&lowbar;&sol;rsrc&sol;1431547306431&sol;blog&sol;office-365&sol;exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters&sol;oexch1&period;png" alt&equals;""&sol;><&sol;a> &NewLine;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;94 -->&NewLine;<div class&equals;"quads-location quads-ad2522 " id&equals;"quads-ad2522" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine; &NewLine;<&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>According to the error message&comma; it indicates that parameter ArchiveGuid is missed&comma; please refer to the following steps to narrow down this issue&colon;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>1&period;Please&nbsp&semi;<a href&equals;"http&colon;&sol;&sol;help&period;outlook&period;com&sol;en-us&sol;140&sol;cc952755&period;aspx">Connect Windows PowerShell to Exchange Online<&sol;a>&nbsp&semi;and run the command below to compare this parameter of users have errors with normal users&colon;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>&dollar;LiveCred &equals; Get-Credential<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>&dollar;Session &equals; New-PSSession -ConfigurationName Microsoft&period;Exchange -ConnectionUri&nbsp&semi;<a href&equals;"https&colon;&sol;&sol;ps&period;outlook&period;com&sol;powershell&sol;">https&colon;&sol;&sol;ps&period;outlook&period;com&sol;powershell&sol;<&sol;a>&nbsp&semi;-Credential &dollar;LiveCred -Authentication Basic -AllowRedirection<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Import-PSSession &dollar;Session<&sol;p>&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;94 -->&NewLine;<div class&equals;"quads-location quads-ad2529 " id&equals;"quads-ad2529" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;blog&sol;office-365&sol;exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters&sol;oexch2&period;png&quest;attredirects&equals;0"><img src&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;&lowbar;&sol;rsrc&sol;1431547306431&sol;blog&sol;office-365&sol;exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters&sol;oexch2&period;png" alt&equals;""&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Get-Mailbox &lt&semi;username&lowbar;with&lowbar;errors&gt&semi; &vert; fl archive&ast;&nbsp&semi;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Get-Mailbox &lt&semi;username&lowbar;no&lowbar;erros&gt&semi;&nbsp&semi;&nbsp&semi;&vert; fl archive&ast;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Apparently the commands above didn&&num;8217&semi;t work&period; And so I had to check something else&period;&excl;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<h2 class&equals;"wp-block-heading">In order to solve the problem first<&sol;h2>&NewLine;&NewLine;&NewLine;&NewLine;<ol class&equals;"wp-block-list"><li>I had to assign License to the user synced on O365&period;<&sol;li><li>Check User&&num;8217&semi;s Proxy target attribute using ADSI&period; &lpar;Which was correct&rpar;<&sol;li><li>Checking Archiving Attributes since the error is mentioning the Archiving option&period;<&sol;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&period;&nbsp&semi;<&sol;li><&sol;ol>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;blog&sol;office-365&sol;exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters&sol;oexch3&period;png&quest;attredirects&equals;0"><img src&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;&lowbar;&sol;rsrc&sol;1431547306758&sol;blog&sol;office-365&sol;exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters&sol;oexch3&period;png" alt&equals;""&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;blog&sol;office-365&sol;exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters&sol;oexch4&period;png&quest;attredirects&equals;0"><img src&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;&lowbar;&sol;rsrc&sol;1431547306758&sol;blog&sol;office-365&sol;exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters&sol;oexch4&period;png" alt&equals;""&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;5&period; So deleting the value below msExchArchiveName and setting up&nbsp&semi;msExchRemoteReceipeintType back to 4&nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;have solved the problem&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;&nbsp&semi;&nbsp&semi; &nbsp&semi;6&period; Of course DirSync needs to be applied in order to sync changes to AD on O365&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<h2 class&equals;"wp-block-heading"><strong>Note&colon;<&sol;strong><&sol;h2>&NewLine;&NewLine;&NewLine;&NewLine;<p>The migration for the User should be &&num;8220&semi;continued&&num;8221&semi; 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&&num;8217&semi;t take place&period;<br><&sol;p>&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;94 -->&NewLine;<div class&equals;"quads-location quads-ad2522 " id&equals;"quads-ad2522" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;blog&sol;office-365&sol;exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters&sol;oexch5&period;png&quest;attredirects&equals;0"><img src&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;&lowbar;&sol;rsrc&sol;1431547306758&sol;blog&sol;office-365&sol;exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters&sol;oexch5&period;png" alt&equals;""&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;blog&sol;office-365&sol;exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters&sol;oexch6&period;png&quest;attredirects&equals;0"><img src&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;&lowbar;&sol;rsrc&sol;1431547306758&sol;blog&sol;office-365&sol;exchange-cannot-process-command-because-of-one-or-more-missing-mandatory-parameters&sol;oexch6&period;png" alt&equals;""&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>If you used DirSync to sync users from local to online&comma; please try to restart the DirSync to check whether this issue persists or not&period;<br><&sol;p>&NewLine;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;94 -->&NewLine;<div class&equals;"quads-location quads-ad2531 " id&equals;"quads-ad2531" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;

moh10ly

Recent Posts

Reset passwords for Active Directory Users

Reset and manage your Active Directory users' Passwords Active Directory is one of the most…

3 years ago

Finding Exchange Database hidden mailboxes. ​

Finding Exchange Database hidden mailboxes. Story:Maybe you have been in this situation before, trying to…

3 years ago

Setting up ADConnect and PTA (Password auth through) servers agents behind proxy

If you're using a Proxy server in your firewall or in your network and have…

3 years ago

Get Report of Active Directory Locked Accounts and Machine they logged in from

Story:I got some clients  that have reported some of their users being locked out and…

3 years ago

Checking and Providing Full and SendAs delegate access on O365 Exchange Online

Delegate Permissions This is a code that I have wrote recently to check if an…

3 years ago

Retrieving attachments from Exchange mailbox using python

Story: I got a request from a client who constantly gets CVs and have to…

4 years ago

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298