{"title":"Preparing Dynamics NAV or Dynamics 365 Business Central for upcoming changes to browser cookie policy","url":"https://jonas-paprotka.de/docs/dev-itpro/administration/prepare-for-cookie-samesite-policy/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/prepare-for-cookie-samesite-policy, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/prepare-for-cookie-samesite-policy","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Deploy and administer the Web server to support the latest in browser cookie-handling policies.","date":"2023-12-29","meta":{"topic":"how-to"},"outline":[{"level":1,"title":"Preparing Dynamics NAV or Dynamics 365 Business Central for upcoming changes to browser cookie policy","slug":"preparing-dynamics-nav-or-dynamics-365-business-central-for-upcoming-changes-to-browser-cookie-policy","at":0,"chars":7057},{"level":2,"title":"Which browsers are impacted by the change","slug":"which-browsers-are-impacted-by-the-change","at":840,"chars":431},{"level":2,"title":"Which cookie policies are changing","slug":"which-cookie-policies-are-changing","at":1271,"chars":653},{"level":2,"title":"What to do to prevent disruption","slug":"what-to-do-to-prevent-disruption","at":1924,"chars":5133},{"level":3,"title":"Additional changes required to load balancer configuration","slug":"additional-changes-required-to-load-balancer-configuration","at":3726,"chars":1214},{"level":3,"title":"Testing","slug":"testing","at":4940,"chars":664},{"level":3,"title":"Known issue with Dynamics NAV cumulative updates for November and December","slug":"known-issue-with-dynamics-nav-cumulative-updates-for-november-and-december","at":5604,"chars":492},{"level":3,"title":"FAQ","slug":"faq","at":6096,"chars":961}],"text":"# Preparing Dynamics NAV or Dynamics 365 Business Central for upcoming changes to browser cookie policy\nThe web is constantly evolving to improve the user experience, security, and privacy. Upcoming releases of some browsers expected early calendar year 2020 include a change in how cookies are handled. This change affects federated authentication flows and cross-domain hosting scenarios when using these browsers. The change can potentially affect users' ability to connect to Business Central or Dynamics NAV in one or more of the following situations:\n When using the Dynamics NAV or Business Central Outlook add-in.\n Dynamics NAV or Business Central as a SharePoint app.\n Dynamics NAV or Business Central is using Microsoft Entra authentication.\n Dynamics NAV or Business Central is embedded in an iframe as part of another web site.\n## Which browsers are impacted by the change\n Google Chrome (major version 80, currently scheduled for release on February 4, 2020)\n Microsoft Edge (as an update at the same time or later than Google Chrome version 80)\n> NOTE\n> Other supported browsers may adopt similar cookie policies. We recommend you read this article and take action no matter which browsers or browser versions your users use to sign in to Business Central.\n## Which cookie policies are changing\nBrowsers have changed the implementation of the SameSite attribute according as follows:\n Cookies default to `SameSite=Lax`\n  By default, if no SameSite attribute is specified, then cookies are treated as `SameSite=Lax`. For more information from Google Chrome, see Cookies default to SameSite=Lax<https://www.chromestatus.com/feature/5088147346030592>.\n Reject insecure `SameSite=None` cookies\n  If a cookie that requests `SameSite=None` isn't marked Secure, it will be rejected. For more information Google Chrome, see Reject insecure SameSite=None cookies<https://www.chromestatus.com/feature/5633521622188032>.\n## What to do to prevent disruption\nTo prevent disruption, you must upgrade the platform for your version of Dynamics NAV or Business Central to an update listed in the following table, or a later update. If your deployment is already running on one of these updates or later, then no action is required. However, we recommend that you test your deployment with any available pre-release versions of the affected browsers, such as Chrome 80 Beta.\nVersion|Minimum recommended update\nDynamics NAV 2015|https://support.microsoft.com/help/4528700/cumulative-update-61-for-microsoft-dynamics-nav-2015-build-51641\nDynamics NAV 2016|https://support.microsoft.com/help/4528701/cumulative-update-49-for-microsoft-dynamics-nav-2016-build-51640\nDynamics NAV 2017|https://support.microsoft.com/help/4528702/cumulative-update-36-for-microsoft-dynamics-nav-2017-build-30074\nDynamics NAV 2018|https://support.microsoft.com/help/4528703/cumulative-update-23-for-microsoft-dynamics-nav-2018-build-37606\nDynamics 365 Business Central Fall 2018|https://support.microsoft.com/help/4528704/cumulative-update-13-for-microsoft-dynamics-365-business-central-on-pr\nDynamics 365 Business Central Spring 2019|https://support.microsoft.com/help/4528705/cumulative-update-06-for-microsoft-dynamics-365-business-central-sprin\nDynamics 365 Business Central 2019 Release Wave 2|15.2<https://support.microsoft.com/help/4533389/update-15-1-for-microsoft-dynamics-365-business-central-2019-release-w>\n> NOTE\n> Currently, Chrome 80 implements a temporary mitigation to allow LAX+Post requests in a 2 minute window. This should be enough to make Microsoft Entra authentication work. However, this mitigation will be removed at some point. For more information from Chrome, see SameSite Updates<https://www.chromium.org/updates/same-site>.\n### Additional changes required to load balancer configuration\nIf the web server is hosted inside a web farm, it's important to add the SameSite attribute for the session affinity cookie.\nIn an IIS web farm, you can do this by adding additional rewrite rules in the system web.config file as follows:\n```\n<rule name=\"Add SameSite Cookie Flag to ArrAffinity cookie\" enabled=\"true\">\n    <match serverVariable=\"RESPONSE_Set_Cookie\" pattern=\"ARRAffinity=.*\" />\n        <conditions>\n            <add input=\"{R:0}\" pattern=\"SameSite=(Lax|Strict|None)\" ignoreCase=\"true\" negate=\"true\" />\n            <add input=\"{HTTP_USER_AGENT}\" pattern=\"Macintosh; Intel Mac OS X 10_14.+Version/.*Safari\" ignoreCase=\"true\" negate=\"true\" />\n            <add input=\"{HTTP_USER_AGENT}\" pattern=\"CPU iPhone OS 12\" ignoreCase=\"true\" negate=\"true\" />\n            <add input=\"{HTTP_USER_AGENT}\" pattern=\"iPad; CPU OS 12\" ignoreCase=\"true\" negate=\"true\" />\n        </conditions>\n        <action type=\"Rewrite\" value=\"{R:0};SameSite=none\" />\n</rule>\n```\nThis rule appends the `SameSite=none` attribute to the ARRAffinity cookie except for older versions of Safari and iOS browsers that have known limitations with handling SameSite attributes.\n### Testing\nTo test your solution, use Chrome 80 Beta version. To download Chrome 80 beta version, go to https://www.google.com/chrome/beta/<https://www.google.com/chrome/beta/>.\nYou can also test on older Chrome versions by manually enabling the SameSite flag. To do the following steps:\n1. Start Chrome browser.\n2. In the Address, type `chrome://flags`.\n3. Set SameSite by default cookies to Enabled.\n5. Set Cookies without SameSite must be secure to Enabled.\nFor more information about testing on older Chrome versions, see /aspnet/samesite/system-web-samesite#test-with-chrome<https://learn.microsoft.com/aspnet/samesite/system-web-samesite#test-with-chrome>.\n### Known issue with Dynamics NAV cumulative updates for November and December\nIn Chrome 80 Beta or older Chrome versions where Cookies without SameSite must be secure (`chrome://flags/#cookies-without-same-site-must-be-secure`) is Enabled, the web client won't load when using HTTP protocol. A fix for this issue will be included in the January 2020 updates. For now, the workaround is to either switch to HTTPS or set `chrome://flags/#cookies-without-same-site-must-be-secure` to Disabled.\n### FAQ\nIs access from mobile apps affected?\nIn the short-term, the Dynamics NAV or Business Central store apps for tablet and phone shouldn't be affected. However, there's evidence from each of the major browsers that their new security policies will eventually also roll out to the technology that our mobile apps rely on. We recommend you minimize risk and take action as outlined in this article.\nAre Control Add-Ins affected?\nCustom control add-ins sometimes rely on Business Central's authentication with Microsoft Entra ID. Whether this is impacted by the cookie policy changes is highly dependent on your implementation to handle Microsoft Entra ID. We recommend you minimize risk and take action as outlined in this article.\nIs the Dynamics NAV Windows client affected?\nThe Dynamics NAV Windows client might be configured to authenticate using Microsoft Entra ID. In this case, the change in cookie policy has no effect on access to the Windows client."}