Share via

How to submit a batch request using directoryObject: getByIds - question attempt 2

Haneef Mohd Fairuz 0 Reputation points
2025-02-21T08:50:09.4366667+00:00

I submitted this question once before but no follow-up... So I'll try again with different wording and hope the meaning gets through.

My application uses Microsoft Graph API. We'd like to perform batch requests to grab a large number of AD users via the getByIds API.

Meaning I'd like to put forth in a batch - multiple getByIds requests each containing 1000 object ID's.

Wasn't successful despite sticking to the syntax provided in the examples. The examples provided in the batch request tutorial do not show getByIds being used.

Is it bugged? Can someone confirm the correct way to do this? Please show a working example in response if possible.

Thanks

Microsoft Security | Microsoft Graph
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.