Forum Discussion

wildcatstar's avatar
wildcatstar
Helper I
9 years ago
Solved

How can I remove auth page when open Report Server page?

Hi,

    I try to use Power BI ReportServer in LAN.

    Everything goes well except when I open  the report on ReportServer there always prompt a login page。

    So how can I remove it?Hard code the username\pass in somewhere?

  • asogukpinar's avatar
    asogukpinar
    9 years ago

    Solution for the exception that is taken for power Bi reports while using custom security extension :
    *****************************************

    2017-08-03 11:35:16.8710|ERROR|90|Failure in conceptualschema| RequestID = 5a55046e-0305-361b-e214-71fd8b0d79ff ClientSessionID = 3aee7b14-c24b-d6ac-237d-38809550b1bb System.NotSupportedException: PortalIdentity is not supported.

       at Microsoft.PowerBI.ReportServer.ExploreHost.UserIdentityConnectionImpersonatorFactory.CreateImpersonator(IIdentity identity)

       at Microsoft.PowerBI.ReportServer.ExploreHost.RSPowerViewHandler.GetModelInfo(String id)

    ***********************

    The data source attempting to use integrated security which is not supported with custom Auth. If you edit the data source for the report and use stored credentials it should work.

     

20 Replies

  • mgmeyer's avatar
    mgmeyer
    Power BI Team

    Which login page are you seeing, is it the browser pop-up which prompts for Domain credentials or is it something else? Which Authentication Type is your report server using, I assume windows.?

    • wildcatstar's avatar
      wildcatstar
      Helper I

      Yes you're right.

      Every time I opened the server in IE and will get this window:

      And I need to input windows username and password to login. 

      I want to remove the windows auth page, but I don not want to add a custom login page too. 

      I hope the report on this server allow every one to open and view easily, no need to login at all,

      So how can I do to implement it?

      Thanks.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi wildcatstar, Report Server will require user context for both secuirty and access control needs. That's why you have to setup one Auth method to use the server. However, if you are really sure to remove the auth, there's one workaround that you can implement your own custom auth extension, just return true for each auth request. You can find custom auth example in githut: https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample 

  • Hi wildcatstar

     

    Maybe I got it wrong due to many development answers, but did you tried just to add your site on the local intranet on Internet Properties screen?

    It could be an problem regarding to NTLM on you LAN. If you windows, for any reason, don't reconizes that it is a LAN address, it is going to ask for auth (so far as I know)

     

    • wildcatstar's avatar
      wildcatstar
      Helper I
      Hi muchinski , I just have tried this way, it will only work when open the server from ie on the server computer, when open  from other computer,it still need auth .
    • Laith's avatar
      Laith
      Frequent Visitor

      Hello,

      Did you resolve this issue ? Any documentation ?

      Much Appreciated,

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Laith,

         

        We are also facing same issue.

        Did you resolve this issue ? Any documentation ?

        Much Appreciated,