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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
GuestUser
Helper V
Helper V

Custom Authentciation in POwer BI

Hi,

We have Power BI On Prem Report Server Installed (May 2019)

 

We have connected it to SSAS using COnnect Live Option

 

Also we have installed SQL Server 2016

 

We have implemented Custom Authentication refering the below link

 

https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample

 

We are able to see login page and able to register user and it gets eneterd into the table as well

 

But the Power BI home page does not open . It says "Report Configuration Error".

 

Can anyone help please


RSPortal log file says :

 

2019-08-01 07:34:19.4777|ERROR|18|OData exception occurred: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.
at Microsoft.ReportingServices.Library.Security.get_AuthorizationExtension()
at Microsoft.ReportingServices.Library.Security.<>c__DisplayClass45_0.<GetSystemPermissions>b__0()
at Microsoft.ReportingServices.Diagnostics.ExtensionBoundary.Invoke(Method m)
at Microsoft.ReportingServices.Library.Security.GetSystemPermissions()
at Microsoft.ReportingServices.Library.GetSystemPermissionsAction.PerformActionNow()
at Microsoft.ReportingServices.Library.RSSoapAction`1.Execute()
at Microsoft.ReportingServices.Portal.Repositories.SystemService.GetAllowedSystemActions(IPrincipal userPrincipal)
at Microsoft.ReportingServices.Portal.ODataWebApi.V2.Controllers.UnboundFunctionController.ServiceState()
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)


ReportingServicesService Log file shows below error:

 

crypto!ReportServer_0-1!7f24!07/31/2019-06:54:15:: i INFO: Importing existing encryption key
extensionfactory!ReportServer_0-1!7f24!07/31/2019-06:54:15:: e ERROR: Exception caught instantiating Forms report server extension: System.Xml.XmlException: There are multiple root elements. Line 1, position 72.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at Microsoft.Samples.ReportingServices.CustomSecurity.Authorization.SetConfiguration(String configuration)
at Microsoft.ReportingServices.Diagnostics.ExtensionClassFactory.CreateAndInitializeExtensionInstance(Extension extConfig).
library!ReportServer_0-1!7f24!07/31/2019-06:54:15:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: Could not load Authorization extension, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. ;

1 REPLY 1
GuestUser
Helper V
Helper V

Hi,

 

Managed to get the power bi portal page

 

But an error pop up windows is displayed saying

 

"You are not allowed to view this folder. Need to set permissions"

 

Any suggestions please ?

 

@malikirfan28  , @v-yulgu-msft  - Can you please help !!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.