Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

Office365 Authentication deprecated with Dynamics 365 integrations starting from April 2022: What to do from a Dynamics NAV / BC perspective

Posted on by

 

WHY and WHEN deprecating Office365 Integration?

This is fully documented since a while here Important changes (deprecations) coming in Power Apps and Power Automate - Power Platform | Microsoft Docs

4540.pastedimage1642422189406v1.png

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 required 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 https://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 18.x, 17.x and 16.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: https://docs.microsoft.com/en-us/dynamics365/business-central/admin-how-to-set-up-a-dynamics-crm-connection#connecting-on-premises-versions  

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 Software lifecycle policy and on-premises updates - Business Central | Microsoft Docs 

 

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, at least, to December 2020 CU (15.13) https://support.microsoft.com/help/4583552 or higher in order to enable OAuth authentication. 

You can also upgrade to a higher version before April 2022 deadline and enable OAuth2.0 authentication. This is the 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) https://support.microsoft.com/help/4595149 or higher in order 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 Software lifecycle policy and on-premises updates - Business Central | Microsoft Docs 

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 (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 June 2021 CU 41 https://support.microsoft.com/en-us/topic/cumulative-update-41-for-microsoft-dynamics-nav-2018-build-47294-b68aaa8e-6fd3-4753-b98b-7c925a90a95a or higher in order to enable OAuth authentication. 

 

 

Dynamics NAV 2017 

NOTE: This version is out of mainstream support as per lifecycle since January 2022. See more Dynamics NAV 2017 - Microsoft Lifecycle | Microsoft Docs

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 Cumulative Update 55 for Microsoft Dynamics NAV 2017 (Build 30587) or higher in order to enable OAuth authentication. 

 

 

Dynamics NAV 2016 

NOTE: This version is out of mainstream support as per lifecycle since April 2021. See more Dynamics NAV 2016 - Microsoft Lifecycle | Microsoft Docs

 

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 Out Of Band (OOB) hotfix released July 2021 as Cumulative Update 67 for Microsoft Dynamics NAV 2016 (Build 52168) in order to enable OAuth authentication. 

IMPORTANT: see also Modifying Dynamics 365 Sales Code for Technical Upgrade to Dynamics NAV 2016 | Microsoft Docs

Categories:

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,768 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,985 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans