This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I'm publishing a PBI semantic model sourced from a Gen1 dataflow. The publication is done via a PowerShell script, in which I connect to Power BI with a service principal, publish the model, and perform a takeover. Then I modify the dataset parameters. Everything works correctly. The problem arises when refreshing the model, where I get a 403 error:
Data Source Error: DataSource.Error: Downstream service call to url 'https://api.powerbi.com/powerbi/globalservice/v201606/clusterdetails' failed with status code 403.
The service principal has administrator privileges in the workspaces where the model and dataflow are stored.
Note: Refreshing works without issue if I publish via the desktop using a user account.
I then tried modifying the SPN credentials via a script, but while the script executes correctly, the refresh still fails.
Has anyone else ever encountered this situation?
Thanx for your help
Solved! Go to Solution.
Hey @J-Luc ,
This 403 error when refreshing a dataset using a Service Principal (SPN) usually boils down to permission issues even if it looks like your SPN already has admin rights.
Here’s what’s happening and how to fix it in plain terms:
So, to summarize:
Hi @J-Luc ,
May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.
Thank you.
Hi @J-Luc ,
We’d like to follow up regarding the recent concern. Kindly confirm whether the issue has been resolved, or if further assistance is still required. We are available to support you and are committed to helping you reach a resolution.
Best Regards,
Chaithra E.
Hey @J-Luc ,
This 403 error when refreshing a dataset using a Service Principal (SPN) usually boils down to permission issues even if it looks like your SPN already has admin rights.
Here’s what’s happening and how to fix it in plain terms:
So, to summarize:
Hi @J-Luc
What I would recommend doing is making sure you can set up a shared data source connection that can use the service principal to authenticate and then when you are uploading your semantic model you use the shared source connection so that you don't have to implicitly change the connection settings.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 50 | |
| 27 | |
| 23 | |
| 23 | |
| 22 |