Hello,
I am trying to build some APIs to populate or update contact records in our CRM. we generated credentials in our Azure AD environment. Were able to use the client/secret keys to generate our bearer token, but the API calls are getting a 401 error. I was hoping you had some insights into what permissions are required for that endpoint credential to access the CRM platform to run Get/Post/Patch calls. When we created the endpoint we had to give it roles/assignments but we weren't sure what exactly to give it. I think this is the root of the 401 error.
Example API is as follows:
customer.crm.dynamics.com/.../contacts
customer.api.crm.dynamics.com/.../candidates
customer.crm.dynamics.com/.../candidates
Hoping to get insights into what are the appropriate roles/responsibilities in AZURE AD to run these types of commands.
Thank you,
Ted Woods