{"id":1315,"date":"2012-05-04T16:32:40","date_gmt":"2012-05-04T16:32:40","guid":{"rendered":"http:\/\/www.tsls.co.uk\/?p=1315"},"modified":"2012-05-04T16:32:40","modified_gmt":"2012-05-04T16:32:40","slug":"dirsync-upn-not-updating-workaround","status":"publish","type":"post","link":"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/","title":{"rendered":"DirSync UPN not updating workaround"},"content":{"rendered":"<p>Thought it would be worth sharing the information and testing I have gathered to manual change\u00a0the user principle name, where directory sync is unable to when using O365 Exchange Online. We have only seen this dirsync issue with betaearly trail tenant accounts.<\/p>\n<p>Please note that this change will stop directory synchronisation for up to 24hrs (some cases 72hr), no mailbox migrations or user creations should occur until dir sync is re-enabled. Federated Users will still continue to work (login) and users and still fully use the service<\/p>\n<p>Launch Microsoft Online Modules for Powershell and login<br \/>\n<code>Connect-msolservice<\/code><\/p>\n<p>Disable Dir Sync<br \/>\n<code>Set-MsolDirSyncEnabled -EnableDirSync $false<\/code><\/p>\n<p>Change user accounts<br \/>\n<code>Set-MsolUserPrincipalName -UserPrincipalName <a href=\"mailto:user@olddomain.co.uk\">user@olddomain.co.uk<\/a> NewUserPrincipalName <a href=\"mailto:user@newdomain.co.uk\">user@newdomain.co.uk<\/a><\/code><\/p>\n<p>Once user UPN is updated online Update users AD UPN<br \/>\n<code>Launch ADUC<\/code><\/p>\n<p>Once all UPNs have been update (on-prem and cloud) enable DirSync (in testing this took 4hrs however MS state it can take upto 72hrs)<br \/>\n<code>Set-MsolDirSyncEnabled -EnableDirSync $true<\/code><\/p>\n<p>For more information please see: <a href=\"http:\/\/www.ultimate-communications.com\/2012\/02\/troubleshooting-dirsync-and-upn-office-365\/\">http:\/\/www.ultimate-communications.com\/2012\/02\/troubleshooting-dirsync-and-upn-office-365\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thought it would be worth sharing the information and testing I have gathered to manual change\u00a0the user principle name, where directory sync is unable to when using O365 Exchange Online. We have only seen this<\/p>\n","protected":false},"author":11,"featured_media":1144,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[21],"tags":[521,1381,2211,2221],"class_list":["post-1315","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft","tag-cloud","tag-o365","tag-upn","tag-user"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.9.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>DirSync UPN not updating workaround - TSLS - Luke Smith<\/title>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_GB\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"DirSync UPN not updating workaround - TSLS - Luke Smith\" \/>\r\n<meta property=\"og:description\" content=\"Thought it would be worth sharing the information and testing I have gathered to manual change\u00a0the user principle name, where directory sync is unable to when using O365 Exchange Online. We have only seen this\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/\" \/>\r\n<meta property=\"og:site_name\" content=\"TSLS - Luke Smith\" \/>\r\n<meta property=\"article:published_time\" content=\"2012-05-04T16:32:40+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/www.tsls.co.uk\/wp-content\/uploads\/2012\/01\/office365.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"179\" \/>\r\n\t<meta property=\"og:image:height\" content=\"59\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"Luke Smith\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Luke Smith\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/\",\"url\":\"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/\",\"name\":\"DirSync UPN not updating workaround - TSLS - Luke Smith\",\"isPartOf\":{\"@id\":\"https:\/\/www.tsls.co.uk\/#website\"},\"datePublished\":\"2012-05-04T16:32:40+00:00\",\"dateModified\":\"2012-05-04T16:32:40+00:00\",\"author\":{\"@id\":\"https:\/\/www.tsls.co.uk\/#\/schema\/person\/e4d7dac4fe1b3f8df31f3857bb3ebda7\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.tsls.co.uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DirSync UPN not updating workaround\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tsls.co.uk\/#website\",\"url\":\"https:\/\/www.tsls.co.uk\/\",\"name\":\"TSLS - Luke Smith\",\"description\":\"- Knowledge - Thoughts - Microsoft -\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tsls.co.uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.tsls.co.uk\/#\/schema\/person\/e4d7dac4fe1b3f8df31f3857bb3ebda7\",\"name\":\"Luke Smith\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.tsls.co.uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/29abc50f07a4ebe68cb4f31981884f89b2157d7e4ed63b09631d40c0717faa94?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/29abc50f07a4ebe68cb4f31981884f89b2157d7e4ed63b09631d40c0717faa94?s=96&d=mm&r=g\",\"caption\":\"Luke Smith\"},\"description\":\"I\u2019ve been working with Microsoft Technologies for over 20 years, my main focus now being Microsoft Online Services. I manage the Cloud Services at ElysianIT Limited and as a P-SELLER at Microsoft. I have worked with many organisations from SMC to Enterprise. I\u2019ve been working with Microsoft Technologies since DOS 5.0, to date I have been working on Microsoft\u2019s latest cloud technology Windows Azure, Windows 10 Office 365 and Microsoft SharePoint\",\"sameAs\":[\"http:\/\/www.tsls.co.uk\"],\"url\":\"https:\/\/www.tsls.co.uk\/index.php\/author\/luke\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DirSync UPN not updating workaround - TSLS - Luke Smith","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/","og_locale":"en_GB","og_type":"article","og_title":"DirSync UPN not updating workaround - TSLS - Luke Smith","og_description":"Thought it would be worth sharing the information and testing I have gathered to manual change\u00a0the user principle name, where directory sync is unable to when using O365 Exchange Online. We have only seen this","og_url":"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/","og_site_name":"TSLS - Luke Smith","article_published_time":"2012-05-04T16:32:40+00:00","og_image":[{"width":179,"height":59,"url":"https:\/\/www.tsls.co.uk\/wp-content\/uploads\/2012\/01\/office365.png","type":"image\/png"}],"author":"Luke Smith","twitter_misc":{"Written by":"Luke Smith","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/","url":"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/","name":"DirSync UPN not updating workaround - TSLS - Luke Smith","isPartOf":{"@id":"https:\/\/www.tsls.co.uk\/#website"},"datePublished":"2012-05-04T16:32:40+00:00","dateModified":"2012-05-04T16:32:40+00:00","author":{"@id":"https:\/\/www.tsls.co.uk\/#\/schema\/person\/e4d7dac4fe1b3f8df31f3857bb3ebda7"},"breadcrumb":{"@id":"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.tsls.co.uk\/index.php\/2012\/05\/04\/dirsync-upn-not-updating-workaround\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tsls.co.uk\/"},{"@type":"ListItem","position":2,"name":"DirSync UPN not updating workaround"}]},{"@type":"WebSite","@id":"https:\/\/www.tsls.co.uk\/#website","url":"https:\/\/www.tsls.co.uk\/","name":"TSLS - Luke Smith","description":"- Knowledge - Thoughts - Microsoft -","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tsls.co.uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.tsls.co.uk\/#\/schema\/person\/e4d7dac4fe1b3f8df31f3857bb3ebda7","name":"Luke Smith","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.tsls.co.uk\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/29abc50f07a4ebe68cb4f31981884f89b2157d7e4ed63b09631d40c0717faa94?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/29abc50f07a4ebe68cb4f31981884f89b2157d7e4ed63b09631d40c0717faa94?s=96&d=mm&r=g","caption":"Luke Smith"},"description":"I\u2019ve been working with Microsoft Technologies for over 20 years, my main focus now being Microsoft Online Services. I manage the Cloud Services at ElysianIT Limited and as a P-SELLER at Microsoft. I have worked with many organisations from SMC to Enterprise. I\u2019ve been working with Microsoft Technologies since DOS 5.0, to date I have been working on Microsoft\u2019s latest cloud technology Windows Azure, Windows 10 Office 365 and Microsoft SharePoint","sameAs":["http:\/\/www.tsls.co.uk"],"url":"https:\/\/www.tsls.co.uk\/index.php\/author\/luke\/"}]}},"jetpack_featured_media_url":"https:\/\/www.tsls.co.uk\/wp-content\/uploads\/2012\/01\/office365.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2gf1k-ld","_links":{"self":[{"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/1315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=1315"}],"version-history":[{"count":0,"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/1315\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/media\/1144"}],"wp:attachment":[{"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=1315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=1315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tsls.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=1315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}