I am getting this response in the integration object when using the connected systems (oauth client credentials)The authorization is successful in the connected system.
If I make the request in postman, I get 403, which is correct as I am still fixing the application permissions. It seems as if the integration object was not adding the bearer token to the request. Additionally, in the steps for client credentials grant for an azure application, we need to setup a redirect URL. Which URL can we use for this? Are there specific endpoints for it?
Discussion posts and replies are publicly visible
The whole idea of the connected system is, to manage the authentication stuff for you. The integration just uses that and does not have to care how it works.
Could it be that this user does not have access to that resource?
I doubled checked and I do have permissions in the objects (connected system and integration object).
I think Stefan meant that the credentials that you used in your integration didn't have the correct permissions (on the MS side).
The user did not have those permissions but I could not understand why the response status in appian was 401 and in postman 403. I missed clicking the "authorize" button right before (the previous token had expired) sending the request so the bearer token did not exist when I was testing.
The test in the connected system can only check whether the authentication works. This means, check if username and password are OK. Authorization is something completely different and is about the actual permissions of that authenticated user.