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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Powershell and Data Gateway Creation

Hey everyone;

 

I need to create a Data Source in Data Gateway in Power BI Service programmatically using PowerShell. I tried with standard cmdlets and using the Rest API cmdlet with a json object and I couldn't perform the task. I'm using Power BI Premium capacity.

 

How can I perform this task using Powershell? Thanks in advance!

1 REPLY 1
lbendlin
Super User
Super User

Please elaborate on "couldn't perform the task".  What have you tried, and where did you get stuck?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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