Forum Discussion
Refresh power bi dataset from SSIS
- 2 years ago
I'm nost sure about sql server agent. What I can say here is that you can write a powershell code that would run a request with PowerBi cmdlets or in general using the PowerBi Rest API in order to refresh a dataset. Once you have your powershell script then you can investigate if you can run it from SSIS, SQL Agent, etc. I'm not a SSIS expert but it should have a way to run a rest api request.
I hope that make sense
Hi ibarrau
Thanks for you reply. We have on-premises sql server, ssis that needs to refresh dataset from power bi service.
Can we do it using sql server agent and powershell. Kindly check and let me know if possible.
Thanks,
Pallavi
I'm nost sure about sql server agent. What I can say here is that you can write a powershell code that would run a request with PowerBi cmdlets or in general using the PowerBi Rest API in order to refresh a dataset. Once you have your powershell script then you can investigate if you can run it from SSIS, SQL Agent, etc. I'm not a SSIS expert but it should have a way to run a rest api request.
I hope that make sense