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
Greetings,
Can we create a dataset from a WEB/API data source using the Power BI rest APIs?
The Data source API requires token authentication to get the data.
From the Power BI desktop, we are able to get this API data using the power query, want to confirm if same can be achieved from the Power bi rest APIs ( create Datasource / Push data set APIs).
If it is possible, can you share a sample for reference? Thanks in advance!
Regards,
Shalini
Solved! Go to Solution.
Hi,
Thank you team, I got the required information.
I hope this will help others:
Best Regards,
Shalini
Hi,
Thank you team, I got the required information.
I hope this will help others:
Best Regards,
Shalini
How to use the Rest API to create a push dataset?
Hi @shalini-ms ,
Regarding the Dataset in the rest api, you can only go to get or change, but not to create.
Datasets - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI REST API is designed to interact with the Power BI Service. You can use OAUTH2 or AAD. If your API endpoint is different then you need to use whatever auth mechanism it requires.
Please provide more details, documentation for the API etc.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.