Hello Readers,
Hope you are all safe and sound!
Let’s learn more about, Error “The server has rejected the client credential” in Business Central.
Today we will understand how we can resolve this mentioned issue. Let’s get started step by step.
So, here below you may notice that we have created an App in Azure Portal to access Business Central API in Postman using OAuth. We have configured all the necessary Authentication details in postman still faced mentioned error.
Now we will learn how to resolve this error as its requires some important process to be followed, in order to resolve the issue.
Firstly, open the Registered App in Azure Portal. As you can see we have created App named “Business Central API OAuth”. In Overview section click on “Managed application in local directory.
Now, in Users and groups section, select your user name to which you need to grant the Default Access.
Once done, open the selected user and go to the “Assigned Roles” section.
Click on “Add Assignments” section to add assign another role to the selected user.
Now, search for role named “Dynamics 365 Business Central Administrator” and select it to assign the same.
Now, the Azure portal part is completed. We need to open Business Central window and search for “Microsoft Entra Applications”.
Now, create new application and add necessary details as shown below.
After completion of all the steps you will able to access the data in postman without any error.
We hope this write up will help you all to grow morel!
Follow us on https://www.linkedin.com/company/madhda-business-solutions-pvt-ltd-mbs/mycompany/ to Stay connected with us to learn more!
For more details, Pls visit our website www.madhda.com or contact us on sales@madhda.com
Thanks to all.
Madhda Team