Connectors
...
Actions
Create Identity Directory Role Management
5 min
description creates a new directory role in microsoft graph api with specified display name, status, and permissions endpoint url /v1 0/rolemanagement/directory/roledefinitions method post inputs json body (object) – required json body displayname (string) – required the display name for the role definition isenabled (boolean) – required flag indicating if the role is enabled for assignment if false , the role is not available for assignment rolepermissions (array) – required list of permissions included in the role allowedresourceactions (array) set of tasks that can be performed on a resource condition (string) optional constraints that must be met for the permission to be effective excludedresourceactions (array) set of tasks that may not be performed on a resource description (string) the description for the unifiedroledefinition id (string) the unique identifier for the role definition key, not nullable, read only inherited from entity isbuiltin (boolean) flag indicating whether the role definition is part of the default set included in azure active directory (azure ad) or a custom definition resourcescopes (array) list of the scopes or permissions the role definition applies to templateid (string) custom template identifier that can be set when isbuiltin is false but is read only when isbuiltin is true this identifier is typically used if one needs an identifier to be the same across different directories version (string) indicates version of the role definition output output parameters status code (number) reason (string) json body (object) error (object) code (string) message (string) innererror (object) date (string) request id (string) client request id (string) response headers header type cache control string transfer encoding string content type string content encoding string vary string strict transport security string request id string client request id string x ms ags diagnostic string x ms resource unit string date string