You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On point 1) above all the code to speak to the graph API is already there. I hacked in the following 4 lines into azure/cli/command_modules/role/commands.py:
cli_command(__name__, 'ad group create', 'azure.graphrbac.operations.groups_operations#GroupsOperations.create', factory)
cli_command(__name__, 'ad group list-members', 'azure.graphrbac.operations.groups_operations#GroupsOperations.get_group_members', factory)
cli_command(__name__, 'ad group add-member', 'azure.graphrbac.operations.groups_operations#GroupsOperations.add_member', factory)
cli_command(__name__, 'ad group remove-member', 'azure.graphrbac.operations.groups_operations#GroupsOperations.remove_member', factory)
And the commands worked, but the interface wasn't the cleanest so it will need a tiny bit of custom wrapping to make the params consistent.
az ad group
, to be in parity with xplat'sgroup list
, add--display-name
filteringThe text was updated successfully, but these errors were encountered: