"Basic Auth" Deprecated in Business Central. OAuth grant types

Francesco 1 Reputation point
2021-02-24T22:57:23.103+00:00

Since "Basic Auth" has been marked as deprecatedin Business Central SaaS, we have not a valid option to change it.

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/deprecated-features-w1

Microsoft says that we should use OAuth. However, the only "Grant_type" that is manage in the documentation is "Authoritation_code". It works fine but, it needs user interact so no daemon apps are supported.
I've tried to setup a "client credentials" grant_type without suceed. Is it even posible?

There is also something called "Automation APIs". These ones can be called as OAuth "client credentials" but there are precreated APIs for administration propouses and we can't create custom ones. Is this right?

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/itpro-introduction-to-automation-apis

I spent a lot of time with this problem and I can't see the solution. Is there something that I am missing?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,627 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.