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!

  • Martin Dráb Profile Picture
    241,469 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
    241,469 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
Martin Dráb Profile Picture

Martin Dráb 539 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 366 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 197

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans