{"id":1159,"date":"2018-02-05T11:57:44","date_gmt":"2018-02-05T09:57:44","guid":{"rendered":"https:\/\/msb365.abstergo.ch\/?p=1159"},"modified":"2018-02-05T12:21:33","modified_gmt":"2018-02-05T10:21:33","slug":"exchange-2016-problems-setting-cu8-outlook-web-app-x-owa-error","status":"publish","type":"post","link":"https:\/\/www.msb365.blog\/?p=1159","title":{"rendered":"Exchange 2016 problems after setting up CU8: Outlook Web App X-OWA-Error"},"content":{"rendered":"<p>Last week I had to update a customers Exchange server envoriment with the new CU Pack.<\/p>\n<p>It&#8217;s an Exchange 2016 environment, so I needed to install the CU8 from Microsoft.<\/p>\n<p>If you want to know when, which Exchange version is released and you also need to know the build number, simply follow this <a href=\"https:\/\/technet.microsoft.com\/en-gb\/us-en\/library\/hh135098(v=exchg.150).aspx\" target=\"_blank\" rel=\"noopener\"><strong>Link to the Technet Library<\/strong><\/a>.<\/p>\n<p>To find out how to check your current Exchange Server version, I can recommend you this article <a href=\"https:\/\/msb365.abstergo.ch\/?p=1141\" target=\"_blank\" rel=\"noopener\">HERE<\/a> that I posted on my blog.<\/p>\n<p>So far about the prequels&#8230;<\/p>\n<p>&nbsp;<\/p>\n<h4>The Issue<\/h4>\n<p>After the installation I needed to reboot the updated Exchange server. To verify the installation after the reboot, I started the Exchange Management Shell and everything was looking fine. But after I started the ECP in the browser, I got the following error message:<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-1160\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/0.png\" alt=\"\" width=\"1024\" height=\"600\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/0.png 1024w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/0-300x176.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/0-768x450.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/0-600x352.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/0-780x457.png 780w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Ok, that\u2019s not cool at all..<\/p>\n<p>So what to do? I started with checking the SysLog from the Server and (honestly) of course I was asking my favorite search engine (Bing, Google, Yandex,&#8230; it doesn\u2019t matter which is your favorite).<\/p>\n<p>After some investigation I found out that, after the CU update, the Exchange server had \u201clost\u201d its authentication certificate. The solution in my case was to create a new one and provide it to the Exchange server.<\/p>\n<p>&nbsp;<\/p>\n<h4>The Solution<\/h4>\n<p>Here are the steps for the solution that helped me:<\/p>\n<p>First we have to know which certificate is in use for the authentication config.<\/p>\n<p>For that, simply run the following command:<\/p>\n<pre class=\"\">Get-ExchangeCertificate (Get-AuthConfig).CurrentCertificateThumbprint<\/pre>\n<p>It will provide us the correct certificate with the thumbprint we will need for the upcoming steps.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1161\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/1-7.png\" alt=\"\" width=\"805\" height=\"94\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/1-7.png 805w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/1-7-300x35.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/1-7-768x90.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/1-7-600x70.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/1-7-780x91.png 780w\" sizes=\"(max-width: 805px) 100vw, 805px\" \/><\/p>\n<p>In the next step we need to create a new authentication certificate. For this, we use the following command:<\/p>\n<pre class=\"\">New-ExchangeCertificate \u2013KeySize 2048 \u2013PrivateKeyExportable $true \u2013SubjectName \u2018CN= Microsoft Exchange Server Auth Certificate\u2019 \u2013FriendlyName \u2018Microsoft Exchange Server Auth Certificate\u2019 \u2013DomainName \u2018contoso.com\u2019<\/pre>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1162\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/2-7.png\" alt=\"\" width=\"1328\" height=\"53\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/2-7.png 1328w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/2-7-300x12.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/2-7-768x31.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/2-7-1024x41.png 1024w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/2-7-600x24.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/2-7-780x31.png 780w\" sizes=\"(max-width: 1328px) 100vw, 1328px\" \/><\/p>\n<p>If you have questions about the New-ExchangeCertificate you can follow this link <a href=\"https:\/\/technet.microsoft.com\/en-gb\/library\/aa998327(v=exchg.160).aspx?f=255&amp;mspperror=-2147217396\" target=\"_blank\" rel=\"noopener\">HERE<\/a>. Or just run the following cmdlet on your PowerShell command line:<\/p>\n<pre class=\"\">Get-Help New-ExchangeCertificate \u2013Online<\/pre>\n<p>It will lead you to the corresponding Microsoft Technet article.<\/p>\n<p>When the new certificate is created, PowerShell will ask you if you want to overwrite the default SMTP certificate. It will show you the thumbprint of the current certificate and the thumbprint of the new one.<\/p>\n<p><strong>IMPORTANT<\/strong>: we don\u2019t want the default certificate for SMTP to be overwritten. So we answer the cmdlet question with <em>n<\/em> for <strong>NO<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1163\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/3-3.png\" alt=\"\" width=\"871\" height=\"186\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/3-3.png 871w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/3-3-300x64.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/3-3-768x164.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/3-3-600x128.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/3-3-780x167.png 780w\" sizes=\"(max-width: 871px) 100vw, 871px\" \/><\/p>\n<p>Now, we need to clean the store from the previous certificate and publish the new one. This, we can simply do with the following two cmdlets:<\/p>\n<pre class=\"\">Set-AuthConfig \u2013ClearPreviousCertificate<\/pre>\n<p>and<\/p>\n<pre class=\"\">Set-AuthConfig \u2013PublishCertificate<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1164\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/4-4.png\" alt=\"\" width=\"531\" height=\"43\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/4-4.png 531w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/4-4-300x24.png 300w\" sizes=\"(max-width: 531px) 100vw, 531px\" \/><\/p>\n<p>As one of the last steps on the Exchange management shell, we just rerun the first command again to check if the right certificate is used, now. We run the command:<\/p>\n<pre class=\"\">Get-ExchangeCertificate (Get-AuthConfig).CurrentCertificateThumbprint<\/pre>\n<p>And compare the both thumbprints.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1165\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/5-3.png\" alt=\"\" width=\"805\" height=\"93\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/5-3.png 805w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/5-3-300x35.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/5-3-768x89.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/5-3-600x69.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/5-3-780x90.png 780w\" sizes=\"(max-width: 805px) 100vw, 805px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>In the next step we have to start IIS Manager on the Exchange server. Here we navigate to:<\/p>\n<p>&lt;server&gt; &gt; Default Web Site &gt; SSL Settings &gt; Bindings.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1166\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/6-2.png\" alt=\"\" width=\"1901\" height=\"600\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/6-2.png 1901w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/6-2-300x95.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/6-2-768x242.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/6-2-1024x323.png 1024w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/6-2-600x189.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/6-2-1600x505.png 1600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/6-2-780x246.png 780w\" sizes=\"(max-width: 1901px) 100vw, 1901px\" \/><\/p>\n<p>In the binding we have to change the https type for the certificate entries. Simply mark one, click on <em>Edit<\/em> and select the right certificate.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1167\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/7-2.png\" alt=\"\" width=\"650\" height=\"382\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/7-2.png 650w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/7-2-300x176.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/7-2-600x353.png 600w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/p>\n<p>After we are done with configuring the IIS settings, we&#8217;re going to restart the IIS.<\/p>\n<p>We can do that by opening the command prompt with privileged rights and run the command:<\/p>\n<pre class=\"\">iisreset<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1168\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/8-2.png\" alt=\"\" width=\"462\" height=\"110\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/8-2.png 462w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/8-2-300x71.png 300w\" sizes=\"(max-width: 462px) 100vw, 462px\" \/><\/p>\n<p><strong>Note<\/strong>: While this task is a quick one, on the exchange server on which you run this command, the OWA will not be available while the IIS is restarting.<\/p>\n<p>&nbsp;<\/p>\n<p>In my case, after all these tasks were done, I was able to connect to the ECP, again.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1169\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/9-1.png\" alt=\"\" width=\"1525\" height=\"609\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/9-1.png 1525w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/9-1-300x120.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/9-1-768x307.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/9-1-1024x409.png 1024w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/9-1-600x240.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/9-1-780x311.png 780w\" sizes=\"(max-width: 1525px) 100vw, 1525px\" \/><\/p>\n<p>Even after entering my credentials, the login was working without any problems:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1170\" src=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/10.png\" alt=\"\" width=\"823\" height=\"704\" srcset=\"https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/10.png 823w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/10-300x257.png 300w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/10-768x657.png 768w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/10-600x513.png 600w, https:\/\/msb365.abstergo.ch\/wp-content\/uploads\/2018\/01\/10-780x667.png 780w\" sizes=\"(max-width: 823px) 100vw, 823px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>I hope, if you are having the same issue, this solution will help you, too.<\/p>\n<p>In any case I wish you the best luck.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I had to update a customers Exchange server envoriment with the new CU Pack. It&#8217;s an Exchange 2016 environment, so I needed to install the CU8 from Microsoft. If you want to know when, which Exchange version is released and you also need to know the build number, simply follow this Link to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[2,3],"tags":[],"class_list":["post-1159","post","type-post","status-publish","format-standard","hentry","category-exchange","category-powershell"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/posts\/1159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1159"}],"version-history":[{"count":11,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/posts\/1159\/revisions"}],"predecessor-version":[{"id":1189,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=\/wp\/v2\/posts\/1159\/revisions\/1189"}],"wp:attachment":[{"href":"https:\/\/www.msb365.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.msb365.blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}