Hi All,
I am trying to execute Get Sales Invoice API . below is the URL
api.businesscentral.dynamics.com/.../companies(CRONUS International Ltd.)/salesInvoices(102001)
passing in header Authenticate - Bearer AccessToken
Getting response kindly help why it's giving error
Great.
Hi Nitin,
I managed to solve the problem. Everything was proper and an access Token was also generated. the issue was with scope. I was giving the wrong scope that was the reason my access token was not working
Hi Mohana,
I managed to solve the problem. Everything was proper and an access Token was also generated. the issue was with scope. i was giving wrong scope that was the reason my access token was not working
Hi,
Did you setup a Azure Active directory in BC to create a new card with the client Id you made through app registration in Azure?
Thanks
Hi Mohana
Yes i am trying with Authorization - Bearer AccessToken
.. No luck same error coming
I m trying below api
learn.microsoft.com/.../dynamics_salesinvoice_get
What could be the problem
ashish
Did you try Authorization - Bearer AccessToken
Hi Mohana
api.businesscentral.dynamics.com/.../companies
If i try this with access token . result is same
<error xmlns="docs.oasis-open.org/.../metadata">
<code>Unauthorized</code>
<message>The credentials provided are incorrect</message>
</error>
Hi Mohana
Thanks for reply
Yes I got the access Token and testing in Postman
Did you setup OAuth and got the AccessToken?
I hope you are testing in Postman
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156