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, ...
Unanswered

Web Servis (Query) User Permission

(0) ShareShare
ReportReport
Posted on by 126
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

I have the same question (0)
  • Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    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.

  • MuratGulerMG Profile Picture
    126 on at

    Dear Martin,

    When i call service method, thank you.

    pastedimage1625657332481v1.png

  • Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    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
    126 on at

    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
    237,878 Most Valuable Professional on at

    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
    126 on at

    Hi Martin,

    Of course :) 

    pastedimage1625725297073v1.png pastedimage1625725459611v2.png pastedimage1625725483412v3.png

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 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans