Skip to main content

Notifications

Business Central forum
Unanswered

How to get the token ... Microsoft .. OAuth?

editSubscribe (0) ShareShare
ReportReport
Posted on by 7
Hello forum!

The objective is to obtain a token from the Microsoft site, which will then be used to access Azure Key Vault.

I am using the following code for study purposes. However, every time it runs, I encounter a 400 error. When using the same header configuration in Postman, the token is retrieved successfully. Here’s my code:
 
 
 
Categories:
  • gdrenteria Profile Picture
    gdrenteria 3,108 Super User on at

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,375 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,308 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans