Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello experts,
I have created a Power BI Deployment pipeline and I have invoked this pipeline from an Azure DevOps Pipeline using the Power BI Automation Tool extension.
Everything works fine except when I deploy with the service account, the report does not work anymore because the data source credentails is not correct.
Do you have any solution/suggestions?
Here is my step in azure devops pipeline:
```
```
Thanks a lot,
Kim Anh
Solved! Go to Solution.
HI @kalluu91,
I'd like to suggest you double check if the service account you used to deploy the reports has the corresponding permissions to access the data source. (the service account should have required credentials and access rights to connect to the data source)
If the service account does not have the correct credentials, you can update the data source credentials in the Power BI report before deploying it.
For the methods to update credentials, you can choose to manually verify the data source credentials or use the Power BI REST API/PowerShell cmdlets to update the data source credentials programmatically.
How to Change Data Source Credentials in Power BI
Documentation about update data source credentials using the Power BI REST API:
Datasets - Update Datasources In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Regards,
Xiaoxin Sheng
HI @kalluu91,
I'd like to suggest you double check if the service account you used to deploy the reports has the corresponding permissions to access the data source. (the service account should have required credentials and access rights to connect to the data source)
If the service account does not have the correct credentials, you can update the data source credentials in the Power BI report before deploying it.
For the methods to update credentials, you can choose to manually verify the data source credentials or use the Power BI REST API/PowerShell cmdlets to update the data source credentials programmatically.
How to Change Data Source Credentials in Power BI
Documentation about update data source credentials using the Power BI REST API:
Datasets - Update Datasources In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Regards,
Xiaoxin Sheng