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

  • Ahmad Saud Profile Picture
    790 on at
    RE: Minimum permission to run WebApi call from JS

    thank you all.

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Minimum permission to run WebApi call from JS

    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]

  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: Minimum permission to run WebApi call from JS

    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.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans