Share via

Creating users in batch mode using JDK

Jarque, Ruben (EXT) 1 Reputation point
2021-06-08T08:44:55.543+00:00

Hello,

We are trying to do the initial migration of users, but we have a huge list of users to migrate so we have to use batchmode for it.

I was reading through the documentation, and the example provided in https://learn.microsoft.com/en-us/graph/sdks/batch-requests?tabs=java but it's too specific and I'm not sure how to create multiple users using the SDK (if possible).

I was able to create a user using "normal" non-batch mode, using objectIdentity and then using the graphClient.users().buildRequest().post(user).

It would be great to have one example on how to create a user using batch mode.

Thanks!

Microsoft Security | Microsoft Graph

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.