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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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