{"id":2911,"date":"2023-06-06T07:37:59","date_gmt":"2023-06-06T07:37:59","guid":{"rendered":"https:\/\/modern-workplace.uk\/?p=2911"},"modified":"2023-06-06T07:38:01","modified_gmt":"2023-06-06T07:38:01","slug":"teams-virtual-sbc-closing-azure-network-ports-warnings-for-azureloadbalancer-and-virtualnetwork-2-2-2-2-3-2-3-2-2-2-2-2-3-2-2-3-2-3-2-2-2-3-2-2-2-4-3-4","status":"publish","type":"post","link":"https:\/\/modern-workplace.uk\/?p=2911","title":{"rendered":"Exchange 2019 &#8211; Event ID: 4999 &#8211; Outlook app on Android and iPhone not sending or Receiving Mail"},"content":{"rendered":"\n<p>With Exchange Server 2013 going end-of-life on the 11th of April 2023 a few customers have decided to update their on-prem servers to a version that is still supported. I had an issue with a specific Exchange 2019 installation.<\/p>\n\n\n\n<p class=\"has-large-font-size\">Scenario<\/p>\n\n\n\n<p>The installation that presented the issue had the following configuration:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>New domain<\/li>\n\n\n\n<li>New server (Windows 2022)<\/li>\n\n\n\n<li>Exchange 2019 Cumulative Update (CU) 12<\/li>\n<\/ul>\n\n\n\n<p>I migrated various parameters from the previous installation (Exchange 2013) including the list of accepted domains<\/p>\n\n\n\n<p class=\"has-large-font-size\">Problem<\/p>\n\n\n\n<p>The main issues were:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Outlook app on Android and iPhone not sending or receiving email<\/strong> (the profile was created with autodiscover and that step presented no issue)<\/li>\n\n\n\n<li>An <strong>error 4999<\/strong> presented in the application log as shown in the following image (I have added the full text of the error at the end of this post)<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/06\/Event4999.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1022\" height=\"776\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/06\/Event4999.jpg\" alt=\"\" class=\"wp-image-2912\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/06\/Event4999.jpg 1022w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/06\/Event4999-300x228.jpg 300w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2023\/06\/Event4999-768x583.jpg 768w\" sizes=\"auto, (max-width: 1022px) 100vw, 1022px\" \/><\/a><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-large-font-size\">Solution<\/p>\n\n\n\n<p>The solution was to <strong>remove all the wildcard (asterisks) from the accepted domain names<\/strong> (a configuration that was working with no issue in the previous version of Exchange).<\/p>\n\n\n\n<p>You can make change from Mail flow > Accepted domains or via PowerShell <a href=\"https:\/\/learn.microsoft.com\/en-us\/exchange\/mail-flow\/accepted-domains\/accepted-domain-procedures?view=exchserver-2019\" data-type=\"URL\" data-id=\"https:\/\/learn.microsoft.com\/en-us\/exchange\/mail-flow\/accepted-domains\/accepted-domain-procedures?view=exchserver-2019\" target=\"_blank\" rel=\"noreferrer noopener\">Procedures for accepted domains in Exchange Server<\/a> <\/p>\n\n\n\n<p>So, the only format I had was nomedomain.com (with no empty spaces or special character in the domain description too)<\/p>\n\n\n\n<p class=\"has-large-font-size\">Notes<\/p>\n\n\n\n<p>After a quick check on the Microsoft documentation, * is still accepted to manage subdomains. Quoting: &#8220;An accepted domain can be a single domain (contoso.com) or a domain with subdomains (*.contoso.com). Accepted domains are a global setting for the Exchange organization, and you can have multiple accepted domains of the same or different types.&#8221; <a rel=\"noreferrer noopener\" href=\"https:\/\/learn.microsoft.com\/en-us\/exchange\/mail-flow\/accepted-domains\/accepted-domains?view=exchserver-2019\" data-type=\"URL\" data-id=\"https:\/\/learn.microsoft.com\/en-us\/exchange\/mail-flow\/accepted-domains\/accepted-domains?view=exchserver-2019\" target=\"_blank\">Accepted domains in Exchange Server<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Full text from the error:<\/strong><\/p>\n\n\n\n<p>&#8220;Watson report about to be sent for process id: 9924, with parameters: E12, c-RTL-AMD64, 15.02.1118.026, w3wp#MSExchangeSyncAppPool, MSExchange ActiveSync, Microsoft.Exchange.Data.Storage.InboundConversionOptions.CheckImceaDomain, UnexpectedCondition:ArgumentException, d965, 15.02.1118.026.<br>ErrorReportingEnabled: True<br>exData=|exHResult=|exStacktrace=at Microsoft.Exchange.Data.Storage.InboundConversionOptions.CheckImceaDomain(String imceaDomain)<br>at Microsoft.Exchange.Data.Storage.OutboundConversionOptions..ctor(String imceaDomain)<br>at Microsoft.Exchange.AirSync.Common.AirSyncUtility.GetOutboundConversionOptions()<br>at Microsoft.Exchange.AirSync.Common.SchemaConverter.Common.BodyUtility.ConvertItemToMime(Item item)<br>at Microsoft.Exchange.AirSync.Common.SchemaConverter.XSO.XsoContentProperty.get_MIMEData()<br>at Microsoft.Exchange.AirSync.Common.SchemaConverter.AirSync.AirSyncContentProperty.InternalCopyFrom(IProperty sourceProperty)<br>at Microsoft.Exchange.AirSync.Common.SchemaConverter.AirSync.AirSyncContent14Property.InternalCopyFrom(IProperty sourceProperty)<br>at Microsoft.Exchange.AirSync.Common.SchemaConverter.AirSync.AirSyncSetToDefaultStrategy.ExecuteCopyProperty(IProperty srcProperty, AirSyncProperty dstAirSyncProperty)<br>at Microsoft.Exchange.AirSync.Common.SchemaConverter.AirSync.AirSyncDataObject.CopyFrom(IProperty srcRootProperty)<br>at Microsoft.Exchange.AirSync.Common.SyncCollection.ConvertServerToClientObject(ISyncItem syncItem, XmlNode airSyncParentNode, SyncOperation changeObject, GlobalInfo globalInfo)<br>at Microsoft.Exchange.AirSync.Common.SyncCollection.CreateApplicationDataNode(XmlDocument xmlResponse, ISyncItemId itemId, GlobalInfo globalInfo, ProtocolLogger protocolLogger, MailboxLogger mailboxLogger, XmlNode&amp; applicationNode)|exTargetSite=MSExchange ActiveSync Microsoft.Exchange.Data.Storage.InboundConversionOptions.CheckImceaDomain|exSource=|exMessage=|exComplete=<\/p>\n\n\n\n<p>Log Name: Application<br>Source: MSExchange Common<br>Date: 5\/31\/2023 10:23:46 AM<br>Event ID: 4999<br>Task Category: General<br>Level: Error<br>Keywords: Classic<br>User: N\/A<br>Computer: XXXXXXXXXXXX<br>Description:<br>Watson report about to be sent for process id: 9924, with parameters: E12, c-RTL-AMD64, 15.02.1118.026, w3wp#MSExchangeSyncAppPool, MSExchange ActiveSync, Microsoft.Exchange.Data.Storage.InboundConversionOptions.CheckImceaDomain, UnexpectedCondition:ArgumentException, d965, 15.02.1118.026.<br>ErrorReportingEnabled: True<br>exData=|exHResult=|exStacktrace=at Microsoft.Exchange.Data.Storage.InboundConversionOptions.CheckImceaDomain(String imceaDomain)<br>at Microsoft.Exchange.Data.Storage.OutboundConversionOptions..ctor(String imceaDomain)<br>at Microsoft.Exchange.AirSync.Common.AirSyncUtility.GetOutboundConversionOptions()<br>at Microsoft.Exchange.AirSync.Common.SchemaConverter.Common.BodyUtility.ConvertItemToMime(Item item)<br>at Microsoft.Exchange.AirSync.Common.SchemaConverter.XSO.XsoContentProperty.get_MIMEData()<br>at Microsoft.Exchange.AirSync.Common.SchemaConverter.AirSync.AirSyncContentProperty.InternalCopyFrom(IProperty sourceProperty)<br>at Microsoft.Exchange.AirSync.Common.SchemaConverter.AirSync.AirSyncContent14Property.InternalCopyFrom(IProperty sourceProperty)<br>at Microsoft.Exchange.AirSync.Common.SchemaConverter.AirSync.AirSyncSetToDefaultStrategy.ExecuteCopyProperty(IProperty srcProperty, AirSyncProperty dstAirSyncProperty)<br>at Microsoft.Exchange.AirSync.Common.SchemaConverter.AirSync.AirSyncDataObject.CopyFrom(IProperty srcRootProperty)<br>at Microsoft.Exchange.AirSync.Common.SyncCollection.ConvertServerToClientObject(ISyncItem syncItem, XmlNode airSyncParentNode, SyncOperation changeObject, GlobalInfo globalInfo)<br>at Microsoft.Exchange.AirSync.Common.SyncCollection.CreateApplicationDataNode(XmlDocument xmlResponse, ISyncItemId itemId, GlobalInfo globalInfo, ProtocolLogger protocolLogger, MailboxLogger mailboxLogger, XmlNode&amp; applicationNode)|exTargetSite=MSExchange ActiveSync Microsoft.Exchange.Data.Storage.InboundConversionOptions.CheckImceaDomain|exSource=|exMessage=|exComplete=<br>Event Xml:<br>4999 0 2 1 0 0x80000000000000 725276 Application XXXXXXXXXXXXXXXXXXX 9924 E12 c-RTL-AMD64 15.02.1118.026 w3wp#MSExchangeSyncAppPool MSExchange ActiveSync Microsoft.Exchange.Data.Storage.InboundConversionOptions.CheckImceaDomain UnexpectedCondition:ArgumentException d965 15.02.1118.026 True False w3wp#MSExchangeSyncAppPool exData=|exHResult=|exStacktrace=at Microsoft.Exchange.Data.Storage.InboundConversionOptions.CheckImceaDomain(String imceaDomain) at Microsoft.Exchange.Data.Storage.OutboundConversionOptions..ctor(String imceaDomain) at Microsoft.Exchange.AirSync.Common.AirSyncUtility.GetOutboundConversionOptions() at Microsoft.Exchange.AirSync.Common.SchemaConverter.Common.BodyUtility.ConvertItemToMime(Item item) at Microsoft.Exchange.AirSync.Common.SchemaConverter.XSO.XsoContentProperty.get_MIMEData() at Microsoft.Exchange.AirSync.Common.SchemaConverter.AirSync.AirSyncContentProperty.InternalCopyFrom(IProperty sourceProperty) at Microsoft.Exchange.AirSync.Common.SchemaConverter.AirSync.AirSyncContent14Property.InternalCopyFrom(IProperty sourceProperty) at Microsoft.Exchange.AirSync.Common.SchemaConverter.AirSync.AirSyncSetToDefaultStrategy.ExecuteCopyProperty(IProperty srcProperty, AirSyncProperty dstAirSyncProperty) at Microsoft.Exchange.AirSync.Common.SchemaConverter.AirSync.AirSyncDataObject.CopyFrom(IProperty srcRootProperty) at Microsoft.Exchange.AirSync.Common.SyncCollection.ConvertServerToClientObject(ISyncItem syncItem, XmlNode airSyncParentNode, SyncOperation changeObject, GlobalInfo globalInfo) at Microsoft.Exchange.AirSync.Common.SyncCollection.CreateApplicationDataNode(XmlDocument xmlResponse, ISyncItemId itemId, GlobalInfo globalInfo, ProtocolLogger protocolLogger, MailboxLogger mailboxLogger, XmlNode&amp; applicationNode)|exTargetSite=MSExchange ActiveSync Microsoft.Exchange.Data.Storage.InboundConversionOptions.CheckImceaDomain|exSource=|exMessage=|exComplete=&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Exchange 2019 &#8211; Event ID: 4999 &#8211; Outlook app on Android and iPhone not sending or Receiving Mail<br \/>\nMicrosoft.Exchange.Data.Storage.InboundConversionOptions.CheckImceaDomain(String imceaDomain)<br \/>\nat Microsoft.Exchange.Data.Storage.OutboundConversionOptions..ctor(String imceaDomain)<br \/>\nat Microsoft.Exchange.AirSync.Common.AirSyncUtility.GetOutboundConversionOptions()<br \/>\nat Microsoft.Exchange.AirSync.Common.SchemaConverter.Common.BodyUtility.ConvertItemToMime(Item item)<\/p>\n","protected":false},"author":1,"featured_media":2913,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","twitterCardType":"","cardImageID":0,"cardImage":"","cardTitle":"","cardDesc":"","cardImageAlt":"","cardPlayer":"","cardPlayerWidth":0,"cardPlayerHeight":0,"cardPlayerStream":"","cardPlayerCodec":"","footnotes":""},"categories":[810,757],"tags":[820,819,77],"class_list":["post-2911","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-810","category-office-365","tag-exchange-2019","tag-exchange-server","tag-office-365"],"_links":{"self":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/2911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2911"}],"version-history":[{"count":1,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/2911\/revisions"}],"predecessor-version":[{"id":2914,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/2911\/revisions\/2914"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/media\/2913"}],"wp:attachment":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}