diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleBasedCalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleBasedCalls.json index 4651046b3edc..378c5e0d69e0 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleBasedCalls.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleBasedCalls.json @@ -1142,6 +1142,10 @@ "description": "The delgation flag used for creating a role assignment" } }, + "required": [ + "roleDefinitionId", + "principalId" + ], "description": "Role assignment properties." }, "RoleAssignmentCreateParameters": { @@ -1152,6 +1156,9 @@ "description": "Role assignment properties." } }, + "required": [ + "properties" + ], "description": "Role assignment create parameters." }, "Permission": { diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-09-01-preview/authorization-RoleBasedCalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-09-01-preview/authorization-RoleBasedCalls.json index 74f038bcd9c8..bbc46a6d4c92 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-09-01-preview/authorization-RoleBasedCalls.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-09-01-preview/authorization-RoleBasedCalls.json @@ -1162,6 +1162,10 @@ "description": "The delgation flag used for creating a role assignment" } }, + "required": [ + "roleDefinitionId", + "principalId" + ], "description": "Role assignment properties." }, "RoleAssignmentCreateParameters": { @@ -1172,6 +1176,9 @@ "description": "Role assignment properties." } }, + "required": [ + "properties" + ], "description": "Role assignment create parameters." }, "Permission": { diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-09-01-preview/examples/PutRoleAssignmentById.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-09-01-preview/examples/PutRoleAssignmentById.json index ddbaaea7afdb..8659ad8e2bef 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-09-01-preview/examples/PutRoleAssignmentById.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2018-09-01-preview/examples/PutRoleAssignmentById.json @@ -6,7 +6,7 @@ "properties": { "roleDefinitionId": "/subscriptions/4004a9fd-d58e-48dc-aeb2-4a4aec58606f/providers/Microsoft.Authorization/roleDefinitions/de139f84-1756-47ae-9be6-808fbbe84772", "principalId": "d93a38bc-d029-4160-bfb0-fbda779ac214", - "principalType": "User", + "principalType": "User", "canDelegate":false } }, diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization.json index 6db03a407311..3a80520e1ca2 100644 --- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization.json +++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization.json @@ -1121,6 +1121,10 @@ "description": "The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group." } }, + "required": [ + "roleDefinitionId", + "principalId" + ], "description": "Role assignment properties." }, "RoleAssignmentCreateParameters": { @@ -1130,6 +1134,9 @@ "description": "Role assignment properties." } }, + "required": [ + "properties" + ], "description": "Role assignment create parameters." }, "RoleDefinitionProperties": {