This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello
Is it possible to connect to powerbi service from a powershell runbook using a managed identity ?
Now I am using a run as account connection.
@Anonymous thank you for your response, but I think the example above doesn't use a managed identity connection.
I had the idea to create a security group than add the managed identity of ADF than add the security group as an admin of the powerbi workspace.
Then, I don't know how to connect to powerbi service with a powershell runbook.
Hi @Anonymous ,
Please take a look at the following blog to see if it helps, Four things you need to do:
- Create automation account.
- Create credential asset.
- Import needed modules.
- Setup runbook with script and schedule it.
Integrating PowerShell with PowerBI: Automating in... - Microsoft Power BI Community
Best Regards,
Community Support Team _ Caitlyn
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Check out the May 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 |
|---|---|
| 14 | |
| 10 | |
| 10 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 35 | |
| 28 | |
| 26 | |
| 22 | |
| 16 |