we have a Java Application which needs to use the Dynamics Web API.
Right now we are using the non-interactive user authentication approach. (We have an Active Directory user which is set to non-interactive with an email and password).
This works fine, but it seems the Token expires (as it should do of course).
We were wondering if there is an API key approach - which does not expire?
We are aware of the "Server 2 Server Authentication", registering the App in Azure and creating a key with permissions to the Dynamics Web Api, but this also only gets us a token which expires, correct?
Thanks for the clarification!