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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Singh_10
Frequent Visitor

Microsoft Graph API to be consumed in Power bi to get the Storage usage in Azure apps

Microsoft Graph API to be consumed in Power bi to get the Storage usage in Azure apps

 

 

3 REPLIES 3
Singh_10
Frequent Visitor

Hi @v-heq-msft 

 

Thank you for the reply, Actually the main requirement is to fetch the details of the Storage usage details for M365, sharepoint, one drive etc..

 

I fround this link https://learn.microsoft.com/en-us/microsoft-365/admin/usage-analytics/connect-to-gcc-data-with-usage... 

v-heq-msft
Community Support
Community Support

Hi @Singh_10 ,
According to your description, I looked up related documents, of which these two documents you can use as reference.
One of the documents mentions creating a custom connector in Power BI to connect directly to Microsoft Graph. this usually involves creating an app registration in Azure and getting the necessary Tenant ID, Client ID, etc.
Use Power BI's M-functions to generate an access token, and then use this token to get data from the Graph API.
This approach may need to deal with some permissions issues, as not all Graph operations support application permissions
Another document mentions accessing Graph API data through Logic Apps (or Power Automate).
Create an app registration in Azure and set the appropriate permissions.
Create a Logic App that uses HTTP requests to call the Graph API and return JSON data to Power BI.
In Power BI, you can use Power Query to send POST HTTPS requests to the Logic App and process the returned data.
You can choose the method that suits your needs. For more details on using the Microsoft Graph API, including browsing available endpoints and testing queries, you can also use the Graph Explorer .

Use Graph API data in Power BI using Logic Apps - JanBakker.tech
Connecting Power BI to Microsoft Graph – Tech Peanuts (tech-peanuts.com)

 

Best regards,

Albert He

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Thank you for the reply, Actually the main requirement is to fetch the details of the Storage usage details for M365, sharepoint, one drive etc..

 

I fround this link https://learn.microsoft.com/en-us/microsoft-365/admin/usage-analytics/connect-to-gcc-data-with-usage... 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.