{"id":42,"date":"2014-12-01T09:12:46","date_gmt":"2014-12-01T09:12:46","guid":{"rendered":"https:\/\/www.lieben.nu\/liebensraum\/?p=42"},"modified":"2014-12-01T09:12:46","modified_gmt":"2014-12-01T09:12:46","slug":"office-365-provisioningfailedexception-the-name-xxx-is-already-being-used-please-try-another-name","status":"publish","type":"post","link":"https:\/\/lieben.nu\/liebensraum\/2014\/12\/office-365-provisioningfailedexception-the-name-xxx-is-already-being-used-please-try-another-name\/","title":{"rendered":"Office 365: ProvisioningFailedException: The name &#8220;XXX&#8221; is already being used. Please try another name."},"content":{"rendered":"<p>Because I couldn&#8217;t find an answer to this issue anywhere else, and Microsoft Support was unable to determine the root cause I&#8217;m sharing this with you. During a cutover migration from Exchange 2003 to Office 365, my batchjob failed after the initial sync and was unable to process incremental syncs of emails in Exchange 2003.<\/p>\n<p>The error in the batchjob&#8217;s status display for each failed user was:<\/p>\n<blockquote><p>ProvisioningFailedException: The name &#8220;XXX&#8221; is already being used. Please try another name.<\/p><\/blockquote>\n<p>Solution:\u00a0delete the batchjob and all the users it provisioned. Recreate and run it again, and this time, don&#8217;t edit the primary SMTP address of these users while the job is running, it is used as a foreign key to match between Onprem and Office 365 and confuses the batchjob if it is changed.<\/p>\n<p>The hint I got that gave me an idea of where this issue was coming from was the following error I received a few times (but not consistently) when changing the primary SMTP address of each user:<\/p>\n<blockquote><p>You can\u2019t use the domain because it\u2019s not an accepted domain for your organization.<\/p><\/blockquote>\n<p>The domain was fully validated and the email was not assigned to any other user.<\/p>\n<p>So, don&#8217;t mess around while a batchjob is still running \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Because I couldn&#8217;t find an answer to this issue anywhere else, and Microsoft Support was unable to determine the root cause I&#8217;m sharing this with you. During a cutover migration from Exchange 2003 to Office 365, my batchjob failed after the initial sync and was unable to process incremental syncs of emails in Exchange 2003. &hellip; <a href=\"https:\/\/lieben.nu\/liebensraum\/2014\/12\/office-365-provisioningfailedexception-the-name-xxx-is-already-being-used-please-try-another-name\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Office 365: ProvisioningFailedException: The name &#8220;XXX&#8221; is already being used. Please try another name.<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[32],"tags":[51,52],"class_list":["post-42","post","type-post","status-publish","format-standard","hentry","category-office-365","tag-exchange-2003","tag-office-365"],"_links":{"self":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":0,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/42\/revisions"}],"wp:attachment":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/media?parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/categories?post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/tags?post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}