March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi
I have power BI report server and I have done the report server configuration. Now to see the reports generally we do upload the reports and to sync with database. We are providing the credential and scheduling it.
All those thing we are doing it manually. Is there any way we can automate the manual steps.
Thanks
Nikkum
There is an API for the Service where you can do this kind of thing, not sure if there is an equivalent for Report Server.
sqldbawithabeard has some powershell to help
https://sqldbawithabeard.com/2018/08/21/deploying-to-a-power-bi-report-server-with-powershell/
Not tried them but looks useful.
Solutions works fine till data source. But how to automate till auto schedule.
Thanks,
Nikkum
Hi,
what kind of database are you using as source?
If it's MS SQL Server u can do something like this:
1. Create .ps1 scripts to automate whings.
2. Create SQL Server Proxy Account with cmdExec perms.
3. Create Job
a) create step with CmdExec type
b) and use Proxy Account as executor
4. Create scheduler for job (it's your automatic execution)
I used this solution and it's working fine for me.
Thanks for your response. I am using SQL 2017. Can you please send me the sample .ps1 script for PBIRS.
Thanks,
Nikkum
I can't but try to use script from link above and create job to schedule.
It worked for me.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
2 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
5 | |
4 | |
3 | |
3 | |
3 |