Options

Business Central: Renewing OAuth Token

pkahlenpkahlen Member Posts: 5
Hello all,

I am facing the following problem:
We have a web application (built with PHP and Symfony) that exchanges data with Business Central via SOAP web service. Since the SOAP web services are to be removed, we are currently converting the application to OAuth2 and (JSON) API calls.

An app is also already registered in the Azure Portal. My problem is that the token needed for authentication always has a duration of only 1-2 hours, after which it has to be renewed again.

Is there any way to get a new token without visually logging into Microsoft? Because the problem is that the data exchange of web application and BC with a service user must take place on machine/source level. So manual input of user data is not possible.

Kind regards,
Philip

Best Answer

Answers

Sign In or Register to comment.