Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Web Servis (Query) User Permission

(0) ShareShare
ReportReport
Posted on by 124
Dear All,
We created a query service and security role. We added service methods for this security role. When we try web service in visual studio, we see 'Request Failed. See the Exception Log for details.' mistake.
And if i assignee system admin role for user, this mistake fixing. But i don't want assignee system admin role for this user. What are we doing wrong?

pastedimage1625651285066v1.png

  • MuratGulerMG Profile Picture
    124 on at
    RE: Web Servis (Query) User Permission

    Hi Martin,

    Of course :) 

    pastedimage1625725297073v1.png pastedimage1625725459611v2.png pastedimage1625725483412v3.png

  • Martin Dráb Profile Picture
    231,923 Most Valuable Professional on at
    RE: Web Servis (Query) User Permission

    Are you sure that the privilege is assigned to the right duty, the duty to the right role and the role to the right user?

  • MuratGulerMG Profile Picture
    124 on at
    RE: Web Servis (Query) User Permission

    I checked exception log, i see "Access denied to method find in class LmkGetInventSiteQuery2Service." in detail. But i added find metod for LmkGetInventSiteQuery2Service, is there any other way?

    pastedimage1625667464785v1.png

  • Martin Dráb Profile Picture
    231,923 Most Valuable Professional on at
    RE: Web Servis (Query) User Permission

    It's important to know which operation you're calling. According to your screenshot, it's 'find'.

    Now please check the exception log.

    Also, your query criteria looks invalid to me. For example, you haven't specified any field there.

  • MuratGulerMG Profile Picture
    124 on at
    RE: Web Servis (Query) User Permission

    Dear Martin,

    When i call service method, thank you.

    pastedimage1625657332481v1.png

  • Martin Dráb Profile Picture
    231,923 Most Valuable Professional on at
    RE: Web Servis (Query) User Permission

    You seem to be talking about a document service. The query service is a different thing.

    What exactly do you mean by "try web service in visual studio"? Calling the web service? Which operation?

    Plese consult the exception log and share the details with us as well.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,233 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans