Forum Discussion

ksivaganesh99's avatar
ksivaganesh99
Icon for Helper II rankHelper II
6 years ago

Power BI APP throwing permission error for the first time users

Hi all,

We have developed a report and pushed to report workspace which consumes a dataset from Power BI service dataset in other workspace (dataset workspace). Then published an APP from the report workspace and auto installed for some set of users. For the same users given read access to dataset from dataset workspace(don't want to give build permissions to users). 

 

I shared the APP link with the users. They are getting the below error for the first time when they access the APP link. When they refresh the page, APP is laoding properly.

What would be the reason of this behavior and what is the fix?

 

Any help is highly appreciated.

8 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi ksivaganesh99 

    Are they trying to open the content from "Shared with me" or from a workspace?  

    Are you sure they're opening it from "Apps"?

     

    Another thought, 

    Are these brand new users and this is first time they're using the Power BI service? So Power BI needs to authenticate them?

     

    Let me know,

    Michele

    • ksivaganesh99's avatar
      ksivaganesh99
      Icon for Helper II rankHelper II

      Hi Anonymous ,

       

      Thank you for the reply. I enabled auto install feature and shared the APP url directly to the end users. To your point yes they all are first time Power BI users.

       

      For the first time when user opens the URL it is asking for login and post login it is throwing the error that they don't have permission (attached the screenshot in the main query). When user refresh s the page APP is rendering.

       

      Any help is highly appreciated 😊

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi ksivaganesh99 ,

        It's the "refresh the page" part that is confusing me. 

        How are you granting permissions to the app -- did you select entire org or enter individual emails?  For the App permissions screen below, exactly how are you filling this out?

         

        You write that you "enabled auto install feature and shared the APP url directly to the end users".... so you did both of these things?  Did the users experience the same problem whether they used the auto-installed version of the app AND when they used the link?

        Thanks,

        Michele

         

  • V-lianl-msft's avatar
    V-lianl-msft
    Icon for Community Support rankCommunity Support

    Hi ksivaganesh99 ,

     

    Do all users who view reports have power Bi Pro license?

    For app consumers, there are two options.

    • Option 1 The workspace for this app is not in a Power BI Premium capacity: All business users need Power BI Pro licenses to view your app.
    • Option 2 The workspace for this app is in a Power BI Premium capacity: Business users without Power BI Pro licenses in your organization can view app content. However, they can't copy the reports, or create reports based on the underlying datasets

    Is RLS present on the shared dataset?

    Adding the user as the viewer of the workspace,they can view the report of the app.

     

    Best Regards,
    Liang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • ksivaganesh99's avatar
      ksivaganesh99
      Icon for Helper II rankHelper II

      Hi V-lianl-msft ,

      Thanks for replying. We have all the users with pro licenses. Do not have any RLS configured for the dataset. 

      Do we need to add users to workspace viewers list? I do not find it anywhere in the document.

      I have given access in APP permissions and read access in dataset permissions to the users.

      • V-lianl-msft's avatar
        V-lianl-msft
        Icon for Community Support rankCommunity Support

        Hi ksivaganesh99 ,

         

        Please try to add the user as the viewer of the workspace.

        When I tested it before, there was a similar issue because of the shared dataset. When I added them as viewer role in the workspace , the issue disappeare.

         

        Best Regards,
        Liang
        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.