{"id":1915,"date":"2018-06-19T01:00:00","date_gmt":"2018-06-19T01:00:00","guid":{"rendered":"http:\/\/inswwdev.azurewebsites.net\/au\/insights\/uncategorized\/rage-against-the-corrupted-item\/"},"modified":"2018-06-19T01:00:00","modified_gmt":"2018-06-19T01:00:00","slug":"rage-against-the-corrupted-item","status":"publish","type":"post","link":"https:\/\/www.insentragroup.com\/nz\/insights\/geek-speak\/migrations\/rage-against-the-corrupted-item\/","title":{"rendered":"Rage Against the Corrupted Item"},"content":{"rendered":"<p>By now you would\u2019ve read my previous blogs where I walked you through completing cross forest mail migrations, setting up cross forest mail flow and implementing this thing called multi-tenancy. If you haven\u2019t read those blogs, stop reading this one, click on the links below and come back:<\/p>\n<p style=\"text-align: justify;\"><a rel=\"noopener nofollow\" href=\"https:\/\/inswwdev.azurewebsites.net\/au\/the-mother-of-all-cross-forest-migrations\/\" target=\"_blank\">The Mother of All Cross Forest Migrations<\/a><\/p>\n<p style=\"text-align: justify;\"><a rel=\"noopener nofollow\" href=\"https:\/\/inswwdev.azurewebsites.net\/au\/exchange-cross-forest-mail-flow-wait-what\/\" target=\"_blank\">Exchange Cross Forest Mail Flow\u2026Wait What?<\/a><\/p>\n<p style=\"text-align: justify;\"><a rel=\"noopener nofollow\" href=\"https:\/\/inswwdev.azurewebsites.net\/au\/the-beast-that-is-multi-tenancy\/\" target=\"_blank\">The Beast That Is Multi-Tenancy<\/a><\/p>\n<p style=\"text-align: justify;\">If you have read my previous works of art, you\u2019re awesome, you can collect $200 and pass go! AKA please continue reading the next instalment of \u201cWhat else can pure awesomeness tell us that will help me get some sleep at night during my next mail migration project?\u201d<\/p>\n<p style=\"text-align: justify;\"><strong>Read on my loyal apprentice\u2026<\/strong><\/p>\n<p style=\"text-align: justify;\">I know what you\u2019re thinking\u2026after cross forest mail flows and migrations and setting up multi tenancy, what on earth is there to talk about this time? I\u2019ll tell you\u2026the one thing that had me scratching my head and trying to pull out whatever hair I had left on my head\u2026the infamous migration batch failures where Microsoft says, \u201cyou know what, we\u2019re just going to throw you a random error message but not tell you what caused it.\u201d I know I said I was I was scratching my head, but when this happened (and of course it was late at night) the reality was, I<span>\u00a0<\/span><em>was<\/em><span>\u00a0<\/span>performing violent knocks of my head against something solid, otherwise known as the head bang!<\/p>\n<p style=\"text-align: justify;\">(if you don\u2019t want to read the entire blog, I have found this approach to be useful for such situations although it doesn\u2019t actually resolve the technical problem \u2013 just causes a different type of headache).<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" style=\"width: 508px; height: 752px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/stress_reduction_img.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/1c9390512d9b4b789e16199faf77531f\" \/><\/p>\n<p style=\"text-align: justify;\">However, if you want to save yourself let\u2019s keep reading\u2026.<\/p>\n<h3 style=\"padding-bottom: 15px; margin-bottom: 30px; margin-top: 40px; border-bottom: 1px solid #f16020;\"><span>WHAT THE BEEP WAS THE ERROR MESSAGE?<\/span><\/h3>\n<p style=\"text-align: justify;\">What was the error message I hear you asking? I\u2019ll tell you and then you be the judge whether the violent knocks of the head were justified\u2026Error Message: FailedOther<\/p>\n<p style=\"text-align: justify;\">Now when you\u2019re in the middle of a change window and have limited time, the last thing you want is to see such a cryptic error message, but I guess anything is better than 0x000440535 error codes where not even Dr Google can help you!<\/p>\n<p style=\"text-align: justify;\">As I was saying, FailedOther! And what made this even more cryptic was the mailbox migrations for this particular batch had already completed up to 95%! See! Head bang = justified!<\/p>\n<p style=\"text-align: justify;\">So now the change window I was in was nearing the end and after running a ridiculous amount of PowerShell cmdlets trying to figure out what was going on, because you know, who needs to scour through a 6MB text file trying to find the words FailedOther, I was at my wits end when a little Ewok appeared on my shoulder and whispered in my ear\u2026Bad Items! Jumping out of my seat like someone was trying to imprint the hashtag #OTOD (If you want to know what OTOD is read this awesome<span>\u00a0<\/span><strong><a rel=\"noopener nofollow\" href=\"https:\/\/inswwdev.azurewebsites.net\/au\/insentra-train-story\/\" target=\"_blank\">blog<\/a><\/strong><span>\u00a0<\/span>by our CEO Ronnie Altit) \u00a0onto me using a branding iron, I grabbed my phone, called the Project Manager and asked him to extend the change window by just a fraction as I knew at that point, I found the root cause!<\/p>\n<p style=\"text-align: justify;\">So, you mad man made of pure awesomeness, how did you get this fixed?? As with my previous blogs, you\u2019re going to find out by following 3 easy steps listed below (and yes in this order):<\/p>\n<ul>\n<li><a rel=\"noopener nofollow\" href=\"https:\/\/inswwdev.azurewebsites.net\/au\/insentragramsignup\/\" target=\"_blank\">Sign up to Insentragram<\/a><\/li>\n<li><a rel=\"noopener nofollow\" href=\"https:\/\/inswwdev.azurewebsites.net\/au\/insentragramsignup\/\" target=\"_blank\">Sign up to Insentragram<\/a><\/li>\n<li><a rel=\"noopener nofollow\" href=\"https:\/\/inswwdev.azurewebsites.net\/au\/insentragramsignup\/\" target=\"_blank\">Sign up to Insentrgram\u2026oh yes and read on<\/a><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">The first option you have is to remove the migration batch and start it again with 2 key switches included \u2013 BadItemLimit and AcceptLargeDataLoss. In my case, there was no chance this was going to work because I\u2019m in the process of migrating a few hundred mailboxes, each a significant size and restarting the batch would mean I could kiss the change window goodbye!<\/p>\n<p style=\"text-align: justify;\">Queue option 2 or as I\u2019d like to call it \u2013 the option that made me look like a superstar (more than I already am of course \u2013 somehow it was possible!)<\/p>\n<p style=\"text-align: justify;\">Basically, option 2 involves resuming the current batch, but including the BadItemLimit and AcceptLargeDataLoss switches at the same time. WHAAAAT??!?!??!<\/p>\n<p style=\"text-align: justify;\">This is what I mean:<\/p>\n<ul>\n<li>Launch the Exchange Management Shell<\/li>\n<li>Run the following: Get-MoveRequest -Identity \u201cusername\u201d | Set-MoveRequest -BadItemLimit 20 -AcceptLargeDataLoss\n<ol>\n<li>Now remember, the above will only target a single user. In my scenario, I only had a small number of users affected so could target them individually<\/li>\n<li>If you have a large number of users affected, call a CSV file instead\u00a0<br \/><img decoding=\"async\" style=\"width: 864px; height: 57px;\" src=\"https:\/\/www.insentragroup.com\/wp-content\/uploads\/sites\/18\/2021\/02\/warning_hambik_blog.jpg\" alt=\"\" data-udi=\"umb:\/\/media\/fffbfe18d81b4688b3073e80473f068b\" \/><\/li>\n<li>Once you hit enter on the above command, you\u2019ll be presented with a nice, simple warning in yellow, which is enough to make your heart skip a beat!<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">There you have it my loyal apprentice\u2026the reason why the title of this blog is called Rage Against the Corrupted Item!<\/p>\n<p style=\"text-align: justify;\">Until next time, signing off!<\/p>\n<p style=\"text-align: justify;\">Pure Awesomeness<\/p>\n<p style=\"text-align: justify;\"><em>\u201cI\u2019m a success today because I had a friend who believed in me and I didn\u2019t have the heart to let him down.\u201d \u2013 Abraham Lincoln<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By now you would\u2019ve read my previous blogs where I walked you through completing cross forest mail migrations, setting up cross forest mail flow and implementing this thing called multi-tenancy. If you haven\u2019t read those blogs, stop reading this one, click on the links below and come back: The Mother of All Cross Forest Migrations&hellip; <a class=\"more-link\" href=\"https:\/\/www.insentragroup.com\/nz\/insights\/geek-speak\/migrations\/rage-against-the-corrupted-item\/\">Continue reading <span class=\"screen-reader-text\">Rage Against the Corrupted Item<\/span><\/a><\/p>\n","protected":false},"author":52,"featured_media":1916,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[22],"tags":[],"class_list":["post-1915","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-migrations","entry"],"_links":{"self":[{"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/posts\/1915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/comments?post=1915"}],"version-history":[{"count":0,"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/posts\/1915\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/media\/1916"}],"wp:attachment":[{"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/media?parent=1915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/categories?post=1915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.insentragroup.com\/nz\/wp-json\/wp\/v2\/tags?post=1915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}