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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

give only service prilivage to user for accessing Dynamics Ax(2012) service from Visual Studio

(0) ShareShare
ReportReport
Posted on by 5

We created an application on Visula Studio and add a web a service which we created on Dynamics AX. When we give admin role based credential to reach class and its functions, we can reach but we dont wnat to give admin role based user to reach web service.When we give AifAdmin to another user to reach the web service on Visual Studio, we face to an error which says System.ServiceModel.FaultException`1: 'Access denied to method. (in Class)

AifAdmin is shown below:

pastedimage1613993143192v1.png

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Bulent365,

    Did you create a privilege for your service? You can check this post to check how you can create privileges for your service operations. You can create a custom role and add the privilege(s) or you can add them an existing role.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans