<user-object-id>
, <role-name>
, and <resource-scope>
with the appropriate values specific to your environment.
azure-mgmt-authorization
package to manage Azure AD Conditional Access Policies.PolicyDefinitionsOperations
and PolicyAssignmentsOperations
classes to define and assign policies respectively.displayName
, conditions
, grantControls
, and sessionControls
for the policies.azure-mgmt-authorization
package to manage Azure RBAC.RoleDefinitionsOperations
and RoleAssignmentsOperations
classes to define and assign roles respectively.roleName
, description
, permissions
, and assignableScopes
for the roles.azure-mgmt-authorization
package to manage Azure AD PIM.PimRoleAssignmentsOperations
class to manage PIM role assignments.roleId
, principalId
, resourceId
, and assignmentState
for the role assignments.