web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Minimum permission to run WebApi call from JS

(0) ShareShare
ReportReport
Posted on by 790

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

I have the same question (0)
  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at

    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.

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi Ahmad,

    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]

  • Ahmad Saud Profile Picture
    790 on at

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans