Briston12 Briston12 - 5 months ago 33
Java Question

Update User and Group attributes using Azure java sdk

I'm following this example to create a JAVA class to manage Azure AD Users and Groups.
It uses the following library:


I did not find a way to update some
attributes (like
for Users and
for Groups).

I see that I can do something like this:

user = client.getAuthenticated().activeDirectoryUsers()

but actually I can't change other attributes.

Any help with that please?


Answer Source

Based on my understanding, you want to update Azure AD Graph Users & Groups via Microsoft Azure SDK For Graph RBAC Management I reviewed the current javadocs of Azure Graph RBAC Management, it seems to not support these attributes update operations you want now.

So by now, the effective way is directly using the Azure AD Graph APIs, please refer to the offical reference to know how to use it. And there is an offical code sample active-directory-java-graphapi-web that you can refer to.

Hope it helps.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download