Skip to main content

Notifications

Business Central forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Office365 authentication method deprecation by April 2022. How to update your integration between Dynamics 365 and Dynamics NAV or Dynamics 365 Business Central to use OAuth.

Posted on by

WHY and WHEN deprecating Office365 Integration?
This is fully documented since a while here 

Impacted customers are those who still use username/password (the old legacy Dynamics 365 integration) and has not enabled OAuth authentication still.
What is provided below is how to resolve the issue depending on different scenarios.
NOTE: It is strongly advised that you take action NOW and have your integration ready before 1st April 2022 deadline.


Dynamics 365 Business Central SaaS
Move to OAuth2.0 authentication.
User must change the authentication type to connect to Dataverse.
1. Open Microsoft Dynamics 365 Connection Setup page
2. In the action pane choose Connection > Use Certificate Authentication
3. When prompted to sign in via login.microsoftonline.com, sign in as the Administrator of your Dataverse organization
4. Wait for the task to be accomplished (it should take about 30/40 seconds).
In the end, you should get an information message that you have successfully upgraded your connection to Dataverse to a service-to-service (S2S) connection with a certificate, and that you got a new integration user.
NOTE: SaaS customers will benefit of further communications from product group about how to proceed considering their environment and integration types.

Dynamics 365 Business Central On-Premise 19.x, 18.x and 17.x
Move to OAuth2.0 authentication.
For Business central SaaS, Microsoft has registered its own app for OAuth2 connection, whereas in Business Central OnPrem, the OnPrem owner has to register the app. Follow this OnPrem specific documentation:

Dynamics 365 Business Central On-Premise 16.x

NOTE: This version is out of support as per lifecycle since October 2021. See more

Move to OAuth2.0 authentication.
For Business central SaaS, Microsoft has registered its own app for OAuth2 connection, whereas in Business Central OnPrem, the OnPrem owner has to register the app. Follow this OnPrem specific documentation:

NOTE: 16.0 and 16.1 needs to be updated to 16.2 or higher in order to enable OAuth2.0 authentication With 16.0 and 16.1, only OAuth authentication could be enabled. In this situation, it is warmly recommended to upgrade to 16.2 or later.

Dynamics 365 Business Central On-Premise 15.x

NOTE: This version is out of support as per lifecycle since April 2021. See more
Move to OAuth authentication.
See how to do it here:
NOTE: both application (objects) and platform need to be updated, at least, to December 2020 CU (15.13) or higher to enable OAuth authentication.
You can also upgrade to a higher version before April 2022 deadline and enable OAuth2.0 authentication. This is the warmly recommended solution by Microsoft.


Dynamics 365 Business Central On-Premise 14.x
Move to OAuth authentication.
See how to do it here (99+) How to enable OAuth authentication in Dynamics 365 Integration for Dynamics NAV and Dynamics 365 Business Central - Dynamics 365 Business Central Forum Community Forum
NOTE: both application (objects) and platform need to be updated to January 2021 CU 20 (14.21) support.microsoft.com/.../4595149 or higher to enable OAuth authentication.


Dynamics 365 Business Central On-Premise 13.x
NOTE: This version is out of support as per lifecycle since April 2020. See more 
This version does not support OAuth authentication with Dynamics 365 integration feature.
The solution is to upgrade to a higher version before April 2022 deadline and enable OAuth or OAuth authentication.

Dynamics NAV 2018

Move to OAuth authentication.
See how to do it here 
NOTE: both application (objects) and platform need to be updated to June 2021 CU 41 or higher to enable OAuth authentication.

Dynamics NAV 2017
NOTE: This version is out of mainstream support as per lifecycle since January 2022.
Move to OAuth authentication.
See how to do it here 
NOTE: both application (objects) and platform need to be updated to July 2021 CU 55 or higher to enable OAuth authentication.

Dynamics NAV 2016
NOTE: This version is out of mainstream support as per lifecycle since April 2021
Move to OAuth authentication.
See how to do it here
NOTE: both application (objects) and platform need to be updated to July 2021 CU 67 to enable OAuth authentication.
IMPORTANT: see also 

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans