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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
pdesmarais
Frequent Visitor

Powerbi - Graph.microsoft.com

Im trying to get details in PowerBI from the Graph API, im able to connect, but the data return is always empty?

I need a lot of Graph info just like this secure score
https://graph.microsoft.com/stagingBeta/reports/getTenantSecureScores(period=1)/content
DataFormat.Error: OData: The given URL neither points to an OData service or a feed: 'https://graph.microsoft.com/stagingBeta/reports/getTenantSecureScores(period=1)/content'.
Details:
https://graph.microsoft.com/stagingBeta/reports/getTenantSecureScores(period=1)/content

Issue: Examples return just a 3bytes files.
let
token = "eyJMX1",
Source = OData.Feed("https://graph.microsoft.com/v1.0/reports/getOneDriveUsageAccountDetail(period='D7')", null, [Headers = [Authorization = "Bearer " & token] ])
in
Source


This one Works:
let
token = "eyJMX1",
Source = OData.Feed("https://graph.microsoft.com/v1.0/users", null, [Headers = [Authorization = "Bearer " & token] ])
in
Source

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@pdesmarais,

 

You may take a look at link below.

https://stackoverflow.com/questions/48708196/getting-microsoft-graph-api-report-data-into-power-bi-u...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This doesn't work.

 

Everything is getting out of Office 365 Report to Graph.Microsoft.Com and nobody can make it work in PowerBI

Do you have a sample file or real article that is recent enough.

 

In powershell everything works like magic, my Token is working, etc.

Powerbi Desktop and Services Fails

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.