Compartilhar via

Request to Enable Power BI Service Application Permissions for Service Principal Integration

Contac Contabilidade 0 Pontos de reputação
2025-06-09T18:43:53.6166667+00:00

Dear Support Team,

I am currently working on an integration that requires embedding Power BI reports using a service principal (application authentication, without a signed-in user). To achieve this, I need to assign the following permissions to my Azure AD application under the Power BI Service API:

  • Dataset.Read.All
  • Report.Read.All
  • Workspace.Read.All

However, when I attempt to add these permissions in the Azure portal, I can only find them under Delegated permissions. They do not appear as available options under Application permissions, which are required for service-to-service authentication scenarios.

Could you please assist in making these permissions available as Application permissions? Alternatively, if there are tenant-level restrictions or prerequisites preventing these permissions from being displayed, please provide guidance on how to resolve this so that my service principal can access Power BI resources as intended.

Additional Details:

  • Our use case specifically requires Application permissions, as this integration will run as a background service without user interaction.
  • I have already confirmed that I am selecting the correct API (“Power BI Service”) and the appropriate tenant.
  • The lack of these permissions in Application mode is currently blocking our project.

Thank you for your assistance. Please let me know if you need any further information.

Azure
Azure

Uma plataforma de computação em nuvem e uma infraestrutura para criar, implantar e gerenciar aplicativos e serviços por meio de uma rede mundial de datacenters gerenciados pela Microsoft.

0 comentários Sem comentários

3 respostas

Classificar por: Mais útil
  1. David van der Eng 0 Pontos de reputação
    2025-11-19T14:46:08.8533333+00:00

    Hi @Sridevi Machavarapu

    I'm working with a semantic model and want to get the underlying tables and export the data withing a Python Script. I'm working with a Service Principal and did all of the above. Getting the token and seeing all the datasets in the workspace is no problem. But what I can't do is see the underlying tables. I tried using execute queries, but seem to be getting error 401.

    Is the above possible?

    Esta resposta foi útil?

    0 comentários Sem comentários

  2. Nipun Nigam 0 Pontos de reputação
    2025-06-28T07:22:15.1333333+00:00

    Hi SrideviM,

    I'm also facing the same blocker due to non presence of Application permissions in my app (only delegated permissions are available).

    I tried following steps from your comment above but I'm facing another problem, while trying to add a user to the security Group there is no "Service Principle" available in the list
    Imagem do usuário

    What should I do to resolve this issue? Your soonest response is awaited as my project is blocked as of now.

    Esta resposta foi útil?


  3. Sridevi Machavarapu 5,875 Pontos de reputação Moderador Voluntário
    2025-06-10T12:33:35.1266667+00:00

    Hello Contac Contabilidade,

    I understand you’re trying to embed Power BI reports using a service principal, but the required permissions (Dataset.Read.All, Report.Read.All, Workspace.Read.All) are only available under Delegated permissions.

    These permissions are designed for user-based access and cannot be used for service principal authentication. In service principal authentication, access is managed through Power BI Admin Portal settings and workspace roles.

    You can follow these steps to set up service principal access:

    Initially, register one Microsoft Entra application and create one client secret in it:

    User's image

    Then, create a security group in Microsoft Entra ID and add service principal to the group to grant access to Power BI content:

    User's image

    Now, enable below settings in the Power BI Admin Portal by selecting the security group:

    Embed content in apps:

    User's image

    Service principals can call Fabric public APIs:

    User's image

    After configuration, add the service principal to the Power BI workspace with Admin or Member role:

    User's image

    Now, authenticate using client credentials (client ID and client secret) to obtain an access token from Microsoft Entra ID.

    User's image

    Once authenticated, your service principal can query Power BI data like reports using the Power BI API.

    GET https://api.powerbi.com/v1.0/myorg/groups/{groupid}/reports/{reportid}/
    

    Imagem do usuário

    For more details, you can refer to this guide: Embed Power BI content with service principal

    Hope this helps!


    If this answers your query, do click Accept Answer and Yes for was this answer helpful, which may help members with similar questions.

    User's image

    If you have any other questions or are still experiencing issues, feel free to ask in the "comments" section, and I'd be happy to help.

    Esta resposta foi útil?


Sua resposta

As respostas podem ser marcadas como ‘Aceitas’ pelo autor da pergunta e ‘Recomendadas’ pelos moderadores, o que ajuda os usuários a saber a resposta que resolveu o problema do autor.