row-level-security
4 TopicsError: Generate token request for proxy model should include the core model ID
Trying to use RLS with PowerBi embedded analytics, when I tested a POST request to generate token: POST https://api.powerbi.com/v1.0/myorg/GenerateToken I'm receiving following error: { "error": { "code": "InvalidRequest", "message": "Generate token request for proxy model should include the core model ID" } } This happens only in case when sending identities in request body for reports using direct query connection. If it is expecting a "Core model Id" in such scenario, cannot understand what is core model Id and how to pass it in request body as request body doesn't mention anything like model or modelId. For Request body structure, please see: https://learn.microsoft.com/en-us/rest/api/power-bi/embed-token/generate-tokenSolved7.8KViews1like10CommentsRLS not working anymore
Hi all, I am in big problem. RSL stopped working on Wednesday without any apparent reason. It works within the app when access it via "view as" but can't get it working on the PBI RS. All the settings are in order and the employee file has its PATH well formed. ExtendedLog3 does not has give me any issue. Any idea? Thank you in advance for your help.Solved1.5KViews0likes4CommentsRow Level Security works on Desktop but not on Server Portal
HI, I have recently configured our on-prem report server, created some reports and TRIED applying RLS on the same reports unsuccessfully. RLS does work when I try VIEW AS on the desktop app but when I deploy it on the portal and run the report, the values are just blank. Here is the premise: I have the following table to control access to certain data called, ACCESS CONTROL. User | Company | Store DOMAIN\user.name | MyCompany 1 | MyStore 1 DOMAIN\user.name2 | MyCompany 1 | MyStore 2 I have also setup a measure to check for the current user, User2 = USERNAME() And then I created Role on the desktop app called, PERMISSIONS. That is filtering on the ACCESS CONTROL table using the following [User] = [User2] Finally, I added two slicers, one to show Company and the other to show Store. If I try this setup on the desktop app using VIEW AS, i get my SLICERS filtered correctly. I uploaded the report on the portal and ran it only to be greeted with access errors on all visuals. I, then, added the user on the report with the same role as PERMISSIONS and when I ran the report again I can see all reports but the SLICERS are blank. So, in the end did I miss something which is why me slicer is not showing correctly. I would appreciate all input regarding this matter.Solved2.8KViews0likes8CommentsI need to add 800 User in Row-Level-Security
Currently I have more than 800 user to add in a row-level-security. Which I know how to do it one by one on this page. However is there any faster way to do it. For instance can I upload excel file with user name and automatically add the row? Please can anyone advise. Thank in advance.Solved955Views0likes2Comments