I'm getting an http 401 "unauthorized" response from the web api on version 18.0.22893.23773. This is a on-prem installation. Is it possible to do the Oauth authentication with an On-prem or do you have to do Windows or user/password?
I have set up an app registration in AAD and set permissions on it, assigned a secret key, etc. I am able to get a token from AAD but when I try to use that token in Business Central, I keep getting the 401.
Can anybody shed some light on this?
Here are the configs for the system. I tried changing the Credential Type from Windows to AccessControlService and using a certificate to get a thumbprint value but, that fell short.