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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Issue in Excel Add in for D365 (ClientAuthError)

(0) ShareShare
ReportReport
Posted on by 55

Hi,

Our users are suddenly facing the below issue when trying to use the Excel add in for D365 , when using to upload Journal lines.

IssueExcel.PNG

Authentication error Details: ClientAuthError: endpoints_resolution_error: Error: could not resolve endpoints. Please check network and try again. Detail: ClientAuthError: openid_config_error: Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints. Attempted to retrieve endpoints from: adfs.*******.com/.../openid-configuration at Anonymous function (az689774.vo.msecnd.net/.../2905.2992d65b44c86732026b.bundle.js:2:144656) at Anonymous function (az689774.vo.msecnd.net/.../2905.2992d65b44c86732026b.bundle.js:2:6307) at Anonymous function (az689774.vo.msecnd.net/.../2905.2992d65b44c86732026b.bundle.js:2:5620) at s (az689774.vo.msecnd.net/.../2905.2992d65b44c86732026b.bundle.js:2:5197) at O (az689774.vo.msecnd.net/.../2905.2992d65b44c86732026b.bundle.js:2:277511) at P (az689774.vo.msecnd.net/.../2905.2992d65b44c86732026b.bundle.js:2:277406) at _ (az689774.vo.msecnd.net/.../2905.2992d65b44c86732026b.bundle.js:2:276994) at f (az689774.vo.msecnd.net/.../2905.2992d65b44c86732026b.bundle.js:2:275396)

The ADFS is working fine when trying to access the normal D365 platform , but issue persists only which using Excel Addin integration.
Appreciate any help.
I have the same question (0)
  • Simba Chitsiku Profile Picture
    12 on at

    i also started having this issue since Saturday 15 July. did your issue also start around the same time.

  • murtuzahasmi Profile Picture
    55 on at

    I think around the same time. Was working fine before it.

  • Justin T Profile Picture
    5 on at

    Our users have also started experiencing this same issue. Last confirmed successful attempt was July 4th and this issue was reported from July 14th.

  • Suggested answer
    Muratvzr Profile Picture
    743 on at

    New platform update needs some tweak on adfs and local agent. Here is the steps I did earlier after PU 50

    Just upgarde local agent and set office365AdfsCompatibility  true

    docs.microsoft.com/.../onprem-adfscompatibility

    After this you have to go to adfs server and run this

    .\Test-ADFSConfiguration.ps1 -ConfigurationJsonFilePath "\\Fileserver\agent\wp\EN10\StandaloneSetup-746342\config.json"

    based on your path and config file This script ll tell you if your adfs has problem.

    I hope this ll solve your problem.

  • Verified answer
    Muratvzr Profile Picture
    743 on at

    My last reply was not correct, I found the correct solution.

    This happens when your ADFS server is configured on Windows Server 2016 you need to upgrade server Windows Server 2019 because ADFS 2016 is deprecated and re publish adfs application.

    I can manage to solve my problem.

  • murtuzahasmi Profile Picture
    55 on at

    Yes, the issue is with Windows Server 2016 support ending and Microsoft no longer supporting Office ADFS integrations for ADFS setup on 2016.

    Upgrading the ADFS server to 2019 and further upgrading the ADFS helped solve the issue.

  • Munyah Profile Picture
    22 on at

    Thanks. Any pointers on how you did the upgrade? I tried an in-place upgrade as per Microsoft's recommendations and it kept failing. Did you build a completely new ADFS server and how do you go about republishing of the upgraded ADFS.

  • murtuzahasmi Profile Picture
    55 on at

    You will create a new ADFS server with Windows 2019 and setup ADFS. Once activated, the old ADFS will be deactivated.

  • Suggested answer
    Muratvzr Profile Picture
    743 on at

    ADFS is not available for upgrade, You have to remove ADFS role on the server and add this role again then

    Then Setup Adfs with this link

    docs.microsoft.com/.../setup-deploy-on-premises-pu41

    Once you done this the system gives you an error to your client id is not match on the adfs server cause of you create a new application group and the client id are different. You can change the setting on the lcs and re-deploy your envoirements.

    Or you can change ADFS client ids

    Microsoft Dynamics 365 for Operations On-premises - Native application

    Microsoft Dynamics 365 for Operations On-premises - Financial Reporting - Native application

    and change the relying part identification

    Microsoft Dynamics 365 for Operations On-premises - Web application

    Then re-start all servers and node.

    I hope this ll help

  • Suggested answer
    Munyah Profile Picture
    22 on at

    Thanks, Murat. This answers my question.

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans