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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Use MS Graph API for multiple requests in one call - JSON batching

Hi Team

 

I am looking to use the MS Graph API to bring up "events" for multiple users in one call.

 

I want all the events from all the users availible.

 

There is some documentation about how to do it but since leaves no good examples how to call using JSON batching

 

https://docs.microsoft.com/en-us/graph/json-batching

 

However, this doesnt offer any examples or detail on how this is done. I am currently using a call like this on a per user basis:

 

let
  Source = OData.Feed(#"Azure Graph API Url" & "/users/USERID/events", [Authorization = "Bearer " & AzureAccessToken]),

in 

  Source

 

This brings back the events for one user but not able to do multiple users in one call.

 

Ive tried to send one request per user iterated but the API blocks my call and I get locked out as there are thousands of users that I try to process.

 

My published enpoint on Azure that sends me back the AzureAccessToken has all the Azure rights possible applied to the endpoint as well as Oath = True in the Manifests already.

 

Any clues anyone please ? 

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

You may check if the following post helps.

https://community.powerbi.com/t5/Desktop/Connect-to-a-Web-Service-sending-parameters/td-p/225510

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.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.