web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

NAV 2017 connection to Dynamics 365 (CRM) just stopped working

(0) ShareShare
ReportReport
Posted on by 25

Hi all, not sure if anything has changed in the last day or two but our connection from NAV2017 (CU26) to Dynamics 365 online has stopped working. It's been working fine for a few years and just stopped working yesterday. The error we get when we try the 'test connection' is "Unable to login to Dynamics CRM". I have checked the login credentials and these are ok to login to CRM directly. Has anyone else had problems recently?

I have the same question (0)
  • Seiji Momoto Profile Picture
    75 on at

    Hello,

    I am having the exact same problem as you had. I assume that it's because of deprecation of the Regional Discovery Service [1]. I recommend that you open a service request for Microsoft, and tell them when it happened and the impact of this issue on your business.

    In the case of Japan region, the integration has stopped working suddenly last week (May 27 JST). I wish I found the latest CRM SDK, but I still couldn't find a feasible solution.

    Hope this helps,

    [1]: docs.microsoft.com/.../important-changes-coming

  • andrew_m Profile Picture
    25 on at

    After a bit of investigation, I think it might be related to this. docs.microsoft.com/.../important-changes-coming

    Looks like I may need to change from the authentication type of "Office365" to "OAuth" authentication.  I am not sure how to do this though

  • Seiji Momoto Profile Picture
    75 on at

    You can try to change from "Office365" to "OAuth" in the page "CRM Connection Setup" (Page 5330) 

    pastedimage1622961078590v2.png

    Could you please let me know if it works for you? I tried it before and it did not work for us.

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    To verify the connection, you can build the connection yourself via this tool:

    https://www.xrmtoolbox.com/

    It is a bit of a puzzle when you do this for the first time, but after a while you should be able to figure it out. If the connection works from there, it is an issue with Dynamics 365 BC / Dynamics NAV. if XRM Toolbox connection is not able to connect either, it is an issue with CRM. Note that not all older releases of Dynamics NAV have added support for OAUTH(2) yet.

    The link Andrew shared will indeed happen but does not explain why connection stopped working for an existing CRM tenant.

    The way to ensure you can use OAUTH / OAUTH2 is to upgrade to later release of Dynamics 365 BC. OAUTH will also be added for older Dynamics NAV releases, but it requires you to ensure you are running latest CU so that you can easily move to the one that will have the supported added. I do not believe it is yet there, but we are working on it.

    Thanks.

  • Ken Pridham Profile Picture
    15 on at

    We are having this same issue - has anyone successfully fixed this?

  • karaogluilker Profile Picture
    70 on at

    We are facing  this issue with NAV 2018 version as well. We created a ticket to support and waiting for some technical solutions. If there is any improvement , i'll up to date this post.

  • stbak Profile Picture
    10 on at

    Hi there,

    We are experiencing the same problem since today. Especially struggling with the connection string and different parameters such as AppID and RedirectURI. All possible values/combinations fail. 
    Spoke to Microsoft today but didn’t get any further yet. I hope they have an answer soon.

  • JOSE IGNACIO GALAJARES PEREZ Profile Picture
    775 on at
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Good day all,

    Please have a look at this blog posting. We got hit by this issue yesterday.

    community.dynamics.com/.../deprecation-of-regional-discovery-service-in-msdyn365-for-sales-causes-integration-issues-with-dynamics-nav-dynamics-365-business-central

    Later this afternoon we will update the blog posting with mitigation steps.

    Thanks.

  • Ken Pridham Profile Picture
    15 on at

    Marco - any update on this?

Under review

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

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans