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! Learn more

Reply
gadgetman4u
Frequent Visitor

PowerBI REST API to get dataset id does not work, keep getting forbidden error

I've been trying to use the PowerBI REST API Get datsets: https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasets, but when I run the GET request, I keep getting Forbidden.  But I've checked according to here (https://docs.microsoft.com/en-us/power-bi/developer/register-app) that all my permissions have been set for reading and writing.

 

Why is this the case?  Also, can you get the dataset id directly from the Push URL of a Power BI streaming dataset?

 

Thanks. 

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @gadgetman4u

Do you use Power BI REST APIs to push data to streaming dataset?

Please refer to this article.

Using Power BI REST APIs to push data

 

 

Best reagrds

maggie

Hi,

 

I used Flow to push the data to the Power BI streaming dataset which I had created in the Power BI portal.  

 

Alvin

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.

Top Kudoed Authors