{"id":2967,"date":"2019-05-09T08:39:23","date_gmt":"2019-05-09T16:39:23","guid":{"rendered":"https:\/\/developer.microsoft.com\/en-us\/office\/blogs\/?p=2967"},"modified":"2019-05-09T08:39:23","modified_gmt":"2019-05-09T16:39:23","slug":"outlook-add-ins-check-certificate-if-mailbox-getcallbacktokenasync-returns-an-internal-error-has-occurred","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/outlook-add-ins-check-certificate-if-mailbox-getcallbacktokenasync-returns-an-internal-error-has-occurred\/","title":{"rendered":"[Outlook add-ins] Check certificate if mailbox.getCallbackTokenAsync starts returning &#8220;An internal error has occurred&#8221;"},"content":{"rendered":"<p>If mailbox.getCallbackTokenAsync calls against your Exchange on-premises server suddenly start returning &#8220;An internal error has occurred&#8221;, you should check if your certificate has expired or was not renewed properly.<\/p>\n<h3>Renew certificate<\/h3>\n<p>Renewing through your certificate management flow or using the following steps may help you to resolve this issue.<\/p>\n<ol>\n<li>Create a new self-signed certificate using the <a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/exchange\/encryption-and-certificates\/new-exchangecertificate?view=exchange-ps]\">New-ExchangeCertificate cmdlet<\/a>.<\/li>\n<li>Modify the authorization configuration using the <a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/exchange\/organization\/set-authconfig?view=exchange-ps]\">Set-AuthConfig cmdlet<\/a> to set the thumbprint.<\/li>\n<li>Publish the certificate created in the step 1.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Renewing your SSL certificate may help you resolve &#8220;An internal error has occurred&#8221; errors returned by mailbox.getCallbackTokenAsync.<\/p>\n","protected":false},"author":69076,"featured_media":25159,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11],"tags":[12],"class_list":["post-2967","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office-add-ins","tag-outlook"],"acf":[],"blog_post_summary":"<p>Renewing your SSL certificate may help you resolve &#8220;An internal error has occurred&#8221; errors returned by mailbox.getCallbackTokenAsync.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/2967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69076"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=2967"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/2967\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/25159"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=2967"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=2967"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=2967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}