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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Azure External Identity Association returns "Failed to get token by S2S certificate"

(0) ShareShare
ReportReport
Posted on by 10

When trying to associate an external Identity with HCMWorkers in some of our dev environments that were recently updated to platform 10.0.14 and the DB from UAT we are getting the generic "This service is unavailable" message. Upon debugging I found that the actual exception message is a CLIError:"Failed to get token by S2S certificate".  This is only happening on our dev box's that were initially setup on 10.0.11 and not any that were initially setup on 10.0.12 (All deployed from LCS).  Now that all dev Boxes have been updated to 10.0.14 and the most recent DB from UAT the issue only happens on the VM's that were originally 10.0.11. 

Im guessing this is an issue with the needing to renew a certificate but am unsure what exactly needs to be done. Any help would be appreciated. The "user = ..." line is the one that returns the exception. The issue appears to be within the  APIClient

Some additional info, the error appears during the function call to getGraphAPIClient(), which I am unable to track down due to it being non accesible.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,896 Super User 2025 Season 2 on at

    Hi seanjkl,

    It might be easier to deploy a new DEV VM based on the latest version as the new ones are having the latest configurations, .NET version 4.7.2 and Visual Studio 2017 pre-configured.

  • Hiroki Kanemaru Profile Picture
    on at

    Hi seanjkl,

    In case redeployment doesn't resolve the issue described, I would suggest if you could reach out to MS support for further investigation.

    Thanks and regards

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 540 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans