1
  1. Does the service offer a specific API for getting a role assignments for a user and not for a resources group/resource?
  2. In a previous question that was asked here,are there any plans to make the CLI response and the API similar regarding getting the 'roleDefinitionName' property?
Moris
  • 135
  • 11

1 Answers1

0

Found a partial answer.

  1. For getting both role assigned for User and Group should use the following API: By adding the param $filter with the value of assignedTo('{userObjectId}'). Example:

    https://management.azure.com/{scope}/providers/Microsoft.Authorization/roleAssignments?$filter=assignedTo('{userObjectId}')&api-version=2015-07-01

  2. Haven't find an answer yet.

Moris
  • 135
  • 11