Forum Discussion

FilipK's avatar
FilipK
Resolver I
1 year ago

Personal Bookmarks with App Service

I embed different reports via an Azure App Service and code based on this template microsoft/PowerBI-Developer-Samples: A collection of Power BI samples for developer use. (github.com). 

The customer can access the App Service via url without any issues.

When it comes to setting personal bookmarks, I'm a bit lost.

In the EmbedReport.cshtml I enabled personal Bookmarks and I also set the UserState.ReadWrite.All.

 

var config = {
  type: 'report',
  tokenType: models.TokenType.Embed,
  accessToken: accessToken,
  embedUrl: embedUrl,
  id: embedReportId,
  permissions: models.Permissions.All,
  settings: {
   filterPaneEnabled: false,
         navContentPaneEnabled:  true,
         //navContentPaneEnabled: true,
         personalBookmarksEnabled: true,
         persistentFiltersEnabled: true,
         panes: {
             bookmarks: {
                 visible: true,
             }
         }
     }
};

 

 

Still the customer just sees the sidebar with the bookmark icon, but can't use it.

 

 

Are there any further prequisites I must fulfill before it will work?

 

 

7 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi FilipK ,

    Which solution are you using?

    According to the Microsoft documentation.
    Enable personal bookmarks in Power BI embedded analytics | Microsoft Learn

    Personal bookmarks feature is disabled by default and is supported only for the embed for your organization (user owns data) solution.

     

    Best Regards,
    Dengliang Li

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

    • FilipK's avatar
      FilipK
      Resolver I

      Anonymous , thank you for your response. It's power bi embedded service connected with Azure app service.

      The users are guests in our Entra ID (guests are from 2nd company also using Entra ID for User Management)

       

      I thought that guests are treated as standard company users so it would be possible to enable personal bookmarking. And even I cannot set bookmarks. 

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi FilipK ,

        Sorry, maybe I wasn't clear.

        I would like to inquire which template you are using to develop the embedded app.


        If you develop using the template Embed for your customers, the Personal Bookmarks feature is not supported.

        Best Regards,
        Dengliang Li

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