I am trying to consume the API for financials for integration needs. I have attempted many scenarios but cannot seem to get any of the documented samples to function.
https://docs.microsoft.com/en-us/dynamics-nav/fin-graph/api/dynamics_customer_get
- Using AzureAD to obtain a Bearer Token with my registered app (no problems getting the token from AzureAD)
then I try to invoke the get customer call based on the documentation
- api.financials.dynamics.com/.../companies({id})/customers({id})
- passed the correct guids in this call with my bearer token in the header
- response => {"message":"Unauthorized"}
Is there a setting somewhere I am missing to allow access to the API? I believe I have granted consent and correct permissions via AzureAD. Thanks for reading.