Azure-Samples / active-directory-dotnet-graphapi-console

A .NET console application that performs various queries against the Azure AD Graph API using both user identities and application identities.
79 stars 77 forks source link

Still Can't Remove User from Group #46

Open PPreamble opened 7 years ago

PPreamble commented 7 years ago

Can't remove a user from a group, although add works fine.

        User oUser = FindUser(UserUPN);
        Group oGroup = FindGroup(GroupName);

        await RemoveUserFromGroup(oGroup, oUser);