Notifications
Announcements
No record found.
Hi all
can you please help me with the minimum permissions required to run a webapi call from JS file.
thanks,
*This post is locked for comments
Hi Ahmad,
WebAPI call does not require any separate permissions configuration, it works based on the entity permissions only so you need to have permissions based on what you are trying to do, for example let's say you are trying to create account record using WebAPI, you need to have create permission at least user level . Similarly if you are using any lookups you should have append and append to permission on account and related entity.
Please share more details if this does not answer your question what issue you are facing.
Its depends on what action you are doing in the entity using web API,user should have sufficient entity privilege (for exampl Read privilege for retrieve record , Create for create record) to do the operation.
In addition you can also impersonate particular web API call on behalf of System Administrator user by passing System user GUID, if user don't have required permission or you dont want to give permission in the security role.
See below reference how you can execute API on behalf of system admin user.
[View:https://debajmecrm.com/2016/01/05/dynamics-crm-web-api-impersonate]
thank you all.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2