{"id":1259,"date":"2011-01-18T18:27:06","date_gmt":"2011-01-18T18:27:06","guid":{"rendered":"https:\/\/www.wapshere.com\/missmiis\/?p=1259"},"modified":"2011-03-09T07:56:12","modified_gmt":"2011-03-09T07:56:12","slug":"provisioning-exch-2010-when-youve-stil-got-exch-2007","status":"publish","type":"post","link":"https:\/\/www.wapshere.com\/missmiis\/provisioning-exch-2010-when-youve-stil-got-exch-2007","title":{"rendered":"Provisioning Exch 2010 when you&#8217;ve stil got Exch 2007"},"content":{"rendered":"<p>At one of my customers we&#8217;ve started provisioning all new users directly to Exchange 2010, while the old users are being progressively migrated from Exchange 2007. I modified the provisioning code for Exchange 2010 (basically just adding the msExchHomeServerName attribute as explained in <a href=\"http:\/\/technet.microsoft.com\/en-us\/magazine\/ff472471.aspx\">this doc<\/a>) and new users and mailboxes were created just fine.<\/p>\n<p>What I didn&#8217;t expect was that this would break password sync.<!--more--><\/p>\n<p>When you have the Exchange 2007 or Exchange 2010 provisioning option enabled on the AD MA, the Update-Recipient cmdlet is run after every export &#8211; apparently even when the update has nothing to do with mail attributes. When the user is still on Exchange 2007, but you&#8217;ve enabled Exchange 2010 provisioning, this cmdlet causes an error. Unfortunately if the AD is also a password sync target the behaviour is worse &#8211; it actually crashes the miiserver.exe process!<\/p>\n<p>I have put the following\u00c2\u00a0workaround in place until all users are migrated to Exchange 2010:<\/p>\n<ul>\n<li>I&#8217;ve left the provisioning code configured for Exchange 2010 provisioning &#8211; this populates the necessary attributes.<\/li>\n<li>I&#8217;ve set the MA&#8217;s Exchange\u00c2\u00a0option to &#8220;No provisioning&#8221;.<\/li>\n<li>I run the following powershell command from a scheduled task to complete the process of creating the mailboxes:<\/li>\n<\/ul>\n<p><code>get-user -resultsize unlimited | where {$_.RecipientTypeDetails -eq 'LegacyMailbox'} | update-recipient<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>At one of my customers we&#8217;ve started provisioning all new users directly to Exchange 2010, while the old users are being progressively migrated from Exchange 2007. I modified the provisioning code for Exchange 2010 (basically just adding the msExchHomeServerName attribute as explained in this doc) and new users and mailboxes were created just fine. What&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[26,43,42,23],"tags":[],"class_list":["post-1259","post","type-post","status-publish","format-standard","hentry","category-exchange2007","category-exchange-2010","category-fim-2010","category-powershell"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pkp1o-kj","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/1259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/comments?post=1259"}],"version-history":[{"count":7,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/1259\/revisions"}],"predecessor-version":[{"id":1337,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/1259\/revisions\/1337"}],"wp:attachment":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/media?parent=1259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/categories?post=1259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/tags?post=1259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}