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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
innocence84
Helper I
Helper I

Power BI Get Dataflow API issue

Hi,

I created a token by using Azure Active Directory app registration:

GenerateToken.png


Then required perrmissions were assigned to App Registration in Azure Active Directory:

APP Registration.png



Then I called Get Dataflow API. However Get Dataflow API returns error message: "You do not have permissions to manage this dataflow".

GetDataflow.png


The token is generated by using the service principal (Azure Active Directory App Registration).
So why I am getting error in the Get Dataflow API?

Thanks




 
2 REPLIES 2
innocence84
Helper I
Helper I

Hi @Anonymous 

We have already enabled the specified settings.
- We also created an Azure Active Directory group and added the Azure Active Directory App Registration into the group:

innocence84_1-1697104764489.png

 



- Then we specified the group in the tenant settings.

innocence84_0-1697104467926.png

 



 
Anonymous
Not applicable

Hi  @innocence84 ,

Please check the Tenant settings:

  • Enable Embed content in apps either for the entire organization or for the specific security group you created in Azure AD.

     vrzhoumsft_3-1697102616562.png

     

  • Enable Allow service principals to use Power BI APIs either for the entire organization or for the specific security group you created in Azure AD.

      
    vrzhoumsft_2-1697102595159.png

For reference: Embed Power BI content in an embedded analytics application with service principal and an applicatio...

 

Best Regards,
Rico Zhou

 

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

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.