Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
MPH2019
New Member

Error inserting browser permissions from DB PBIRS

Hi,

 

For a particular case, I am trying to grant Browser permissions to a user, but I have not been able to do it directly from the PBIRS tables, the error that throws me is: "Cannot find the 'ContentManager' function" and when viewing the Log, tells me: ERROR | 144 | OData exception occurred: Microsoft.ReportingServices.Diagnostics.Utilities.RoleNotFoundException: Cannot find the 'ContentManager' function ..

 

Reviewing the tables and stored procedures of PBIRS I see that the tables that are needed to assign permissions are: PolicyUserRole and SecData (updating XmlDescription), but when I do it directly in the tables I throw the error.

 

Try using the storage procedures:
SetPolicy: To update XmlDescription
UpdatePolicyPrincipal: To insert PolicyUserRole for the new user.
UpdatePolicyRole: To update PolicyUserRole that existed previously.

From now, thank you for you help.
(I don't speak ingres, use Google translate)
Cheers!

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @MPH2019

 

I don't suggest you do any modification to report server database manually. To grant a user permission to access report server via Browser role, please follow this document to do it in Power BI report server web portal. Please note your account should be local Administrators group on the report server computer, or have Content Manager and System Administrator permissions. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @MPH2019

 

I don't suggest you do any modification to report server database manually. To grant a user permission to access report server via Browser role, please follow this document to do it in Power BI report server web portal. Please note your account should be local Administrators group on the report server computer, or have Content Manager and System Administrator permissions. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.