Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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!
Please elaborate on "couldn't perform the task". What have you tried, and where did you get stuck?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |