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 moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hey Gurus,
So I have a PowerShell script that use Power BI commandlets for admin tasks. I run it manually every week and it basically moves all new "Personal Workspaces" to an embedded capacity which is paused (essentially disabling all personal workspaces). I'd like to look at automating this execution on a schedule by not tying up to my local desktop or any of our team. I'm reading it can be done using these two methods. Please advise whats the path of least pain.
Thanks in advance!
-Pawan
Thank you Hari, it sounds like we need to type in our password in clear text for this to work? If so, that is not fly at our Org. Please advise.
Hi @pvuppala
If you make your PowerShell scripts to run without entering pop up credentials then you can use it in Azure Runbooks.
Ref - https://dataap.org/blog/2019/12/04/power-bi-rest-api-in-powershell-with-no-user-credentials-pop-up/
Ref - https://docs.microsoft.com/en-us/azure/automation/learn/powershell-runbook-managed-identity
Thanks
Hari
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 |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 3 | |
| 3 | |
| 2 |