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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Generate jwt token

(0) ShareShare
ReportReport
Posted on by 89

Team 

Did anyone generate JWT token for integration in D365 finance. I'm trying to use C# for it, however I noticed the library used for generating JWT toke({ "alg", "RS256" }, { "typ", "jwt" }) in C# is not compatible with D365 finance. please help if I can do it. thank you!

I have the same question (0)
  • Martin Dráb Profile Picture
    238,828 Most Valuable Professional on at

    I guess that the context for your question is in your other thread: Issues with the DLL(D365 Finance out of box with same name custom solution dll). But there is nothing about the assembly not being compatible with F&O. On the contrary - you confirmed that F&O does use the library. Therefore this thread seems to be based on a wrong assumption.

  • RahulD365 Profile Picture
    89 on at

    No, I think it came out differently :) However I wanted to ask if there's any standard way of generating jwt token via X++(in D365 FO).

    I used C# for it, and since I'm getting error - I'm doubtful whether I'll be able to use c# hence asking if it's possible via X++

    Thanks for answering!

  • Martin Dráb Profile Picture
    238,828 Most Valuable Professional on at

    Please tell us more about what you're trying to achieve, because the format is one thing, but you'll also need some content of the token. Aren't you actually trying to use OAuth?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 517 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 440

#3
Adis Profile Picture

Adis 266 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans