
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:
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.