web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / The requested operatio...
Power Apps
Unanswered

The requested operation is invalid. The server has rejected the client credentials.

(0) ShareShare
ReportReport
Posted on by 28

I have a Powerapp which links to two Common Data Service (Dataverse) tables (Items and Item Categories) which are virtual entities which come from Business Central.

 

The virtual entities were configured as per this link... 

https://community.dynamics.com/business/b/andreysnavblog/posts/expose-business-central-api-as-cds-virtual-entity-without-code

 

The app works perfectly fine for myself but when I share this with others and they open the app they get this error...

 

"The requested operation is invalid. Server Response: Item Categories failed: The server has rejected the client credentials."

 

Screenshot 2020-12-15 160303.png

 

 

The user has the required CRUD permissions to the custom entities.

 

Any ideas what could be causing this issue?

 

Thanks in advance.

I have the same question (0)
  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at
    Re: The requested operation is invalid. The server has rejected the client credentials.

    Hi @Daveed73,

    Where you able to resolve this? Check that the users have not only the security role(s) assigned with privileges to the virtual entities, but read access to "Virtual Entity Data Source"? Also, if you've created a custom role, ensure it got created from "Common Data Service User" role (or at least has the same privileges). It contains the minimal privileges to run the system functionalities.

    Hope this helps!

  • Verified answer
    Daveed1973 Profile Picture
    67 on at
    Re: The requested operation is invalid. The server has rejected the client credentials.

    Hi, yes all sorted. The issue related to the virtual tables in CDS from Business Central and the need to have a Business Central license to read these. Due to us not wanting to give everyone a BC license I have scrapped the idea for using the virtual tables.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 819 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 308 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 222 Super User 2025 Season 2

Last 30 days Overall leaderboard