Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi all, I am attempting to deploy PBIP files to power bi using GitHub actions, power bi service, Fabric api, and a service principal. I am working with the classic PBIP folder structure with a report and semantic model folder. I found some documention from Microsoft on it here but it requires authentication so my service principal will not work. From my research I'm not sure if its possible to do this but if anyone can offer any help or knowledge that would be greatly appreciated.
Solved! Go to Solution.
Thankyou, @GilbertQ, for your response.
Hi mikeklink,
We appreciate your enquiry through the Microsoft Fabric Community Forum.
Based on my understanding, the issue occurs because deploying PBIP folders requires the Fabric REST APIs or the FabricPS-PBIP PowerShell module. By default, service principals are not enabled for API access unless a Fabric administrator updates the tenant settings. In the absence of this configuration, authentication fails even if the service principal exists.
Please follow the steps below, which may help resolve the issue:
For further guidance, please refer to the links below:
Deploy a Power BI project using Fabric APIs - Microsoft Fabric REST APIs | Microsoft Learn
Embed Power BI content in an embedded analytics application with service principal and an applicatio...
Analysis-Services/pbidevmode/fabricps-pbip at master · microsoft/Analysis-Services · GitHub
Automate deployment pipelines with APIs for Power BI items - Microsoft Fabric | Microsoft Learn
Automate Power BI Premium workspace and semantic model tasks with service principals - Microsoft Fab...
We hope this information helps resolve the issue. Should you have any further queries, please feel free to contact the Microsoft Fabric community.
Thank you.
Thankyou, @GilbertQ, for your response.
Hi mikeklink,
We appreciate your enquiry through the Microsoft Fabric Community Forum.
Based on my understanding, the issue occurs because deploying PBIP folders requires the Fabric REST APIs or the FabricPS-PBIP PowerShell module. By default, service principals are not enabled for API access unless a Fabric administrator updates the tenant settings. In the absence of this configuration, authentication fails even if the service principal exists.
Please follow the steps below, which may help resolve the issue:
For further guidance, please refer to the links below:
Deploy a Power BI project using Fabric APIs - Microsoft Fabric REST APIs | Microsoft Learn
Embed Power BI content in an embedded analytics application with service principal and an applicatio...
Analysis-Services/pbidevmode/fabricps-pbip at master · microsoft/Analysis-Services · GitHub
Automate deployment pipelines with APIs for Power BI items - Microsoft Fabric | Microsoft Learn
Automate Power BI Premium workspace and semantic model tasks with service principals - Microsoft Fab...
We hope this information helps resolve the issue. Should you have any further queries, please feel free to contact the Microsoft Fabric community.
Thank you.
hi,
Thanks for the reply.
I was able to get my pbip files to deploy using the GitHub repo you had linked. My only additional question is about the data in my report. Do I need to give my Service Principal permissions on the dataset the report is using? I am getting an error saying that I don't have access to the dataset.
Hi @mikeklink
I would highly recommend you look at the blog post link below where John explains the concepts as well as some follow along details. Making Your Power BI Teams More Analytic with Microsoft Fabric - Introduction | John Kerski’s Blog
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.