Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Powershell runbook PowerBI API connection with managed identity

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.

2 REPLIES 2
Anonymous
Not applicable

@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.

Anonymous
Not applicable

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.

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.