Hi everyone,
I'm trying to setup API with OAuth on business central On Premise, but when calling the API with Postman i get the "audience validation failed" error. I browsed through a lot of forums but didn't find a solution that's working for me.
I've set up my configuration using this guide https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/register-app-azure
I can get the token just fine, but i get the error when calling any API.
I tried changing the audience in postman and changing the scope but neither did anything in my case.
This is the complete message i get in the event viewer
Any idea what could be the issue ?