I have an OAuth enabled app that is successfully authenticating to Azure AD but is receiving authorization errors when accessing MS Dynamics CDS through the Zendesk Proxy.
On the Zendesk side, the app is successfully authenticating using my App Registration in Azure. Using the same settings in Postman, I am able to authenticate and also query data, whereas in the Zendesk app I receive a 401 unauthorized error.
I followed this ZD guide to add OAuth to my app.
https://developer.zendesk.com/documentation/apps/app-developer-guide/using-the-apps-framework/
My best guess is that it is related to the OAuth grant type and that the Zendesk app is getting the wrong type of token from my Azure App Registration.
Failed Web Request:
zendesk_powerapps_connector_web.PNG
Postman - Authorization Settings:
zendesk_powerapps_connector_auth.PNG
Postman - Variables Used:
zendesk_powerapps_connector_vars.PNG
Postman - Successful Response:
zendesk_powerapps_connector_res.PNG
Zendesk - App Manifest:
zendesk_powerapps_connector_zd_manifest.PNG
Zendesk - Successful App Authentication:
zendesk_powerapps_connector_sshot1.PNG