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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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