Lab 02a - Manage Subscriptions and RBAC
Task 1: View and assign roles
{
"authorization": {
"action": "Microsoft.Authorization/roleAssignments/write",
"scope": "/subscriptions/b3845b4e-806b-40b4-8169-593a9eda360a/resourceGroups/AZ-104-M2A-6MRFF72IHY/providers/Microsoft.Authorization/roleAssignments/811e274f-3fde-4c10-a283-624ff1ded704"
},
"caller": "3ec9b232-b3dc-44ef-b5ed-b386b06c280f",
"channels": "Operation",
"claims": {
"aud": "https://management.azure.com/",
"iss": "https://sts.windows.net/2f154508-d7c6-4f67-8532-243014325649/",
"iat": "1742104065",
"nbf": "1742104065",
"exp": "1742107965",
"aio": "k2RgYNiQEzN9+aSfi7fu2F/Hc8IhAAA=",
"appid": "14c532aa-04f7-4732-b21d-fa5da61a49e9",
"appidacr": "1",
"groups": "04dd24bb-6a16-481d-a507-923eb0c04f28,62016c6f-1ee4-4431-9ea4-c9fa795af150",
"http://schemas.microsoft.com/identity/claims/identityprovider": "https://sts.windows.net/2f154508-d7c6-4f67-8532-243014325649/",
"idtyp": "app",
"http://schemas.microsoft.com/identity/claims/objectidentifier": "3ec9b232-b3dc-44ef-b5ed-b386b06c280f",
"rh": "1.AUEBCEUVL8bXZ0-FMiQwFDJWSUZIf3kAutdPukPawfj2MBNCAQBBAQ.",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "3ec9b232-b3dc-44ef-b5ed-b386b06c280f",
"http://schemas.microsoft.com/identity/claims/tenantid": "2f154508-d7c6-4f67-8532-243014325649",
"uti": "ww-bUymjU0yBoELCjNClAA",
"ver": "1.0",
"xms_idrel": "7 12",
"xms_tcdt": "1730655880"
},
"correlationId": "2e752289-6263-4617-ab52-e5e8c038a558",
"description": "",
"eventDataId": "0cc1d07b-c1c7-4821-b09a-6571e2f5938c",
"eventName": {
"value": "BeginRequest",
"localizedValue": "Begin request"
},
"category": {
"value": "Administrative",
"localizedValue": "Administrative"
},
"eventTimestamp": "2025-03-16T06:24:33.9684695Z",
"id": "/subscriptions/b3845b4e-806b-40b4-8169-593a9eda360a/resourceGroups/AZ-104-M2A-6MRFF72IHY/providers/Microsoft.Authorization/roleAssignments/811e274f-3fde-4c10-a283-624ff1ded704/events/0cc1d07b-c1c7-4821-b09a-6571e2f5938c/ticks/638777030739684695",
"level": "Informational",
"operationId": "2e752289-6263-4617-ab52-e5e8c038a558",
"operationName": {
"value": "Microsoft.Authorization/roleAssignments/write",
"localizedValue": "Create role assignment"
},
"resourceGroupName": "AZ-104-M2A-6MRFF72IHY",
"resourceProviderName": {
"value": "Microsoft.Authorization",
"localizedValue": "Microsoft.Authorization"
},
"resourceType": {
"value": "Microsoft.Authorization/roleAssignments",
"localizedValue": "Microsoft.Authorization/roleAssignments"
},
"resourceId": "/subscriptions/b3845b4e-806b-40b4-8169-593a9eda360a/resourceGroups/AZ-104-M2A-6MRFF72IHY/providers/Microsoft.Authorization/roleAssignments/811e274f-3fde-4c10-a283-624ff1ded704",
"status": {
"value": "Started",
"localizedValue": "Started"
},
"subStatus": {
"value": "",
"localizedValue": ""
},
"submissionTimestamp": "2025-03-16T06:25:50Z",
"subscriptionId": "b3845b4e-806b-40b4-8169-593a9eda360a",
"tenantId": "2f154508-d7c6-4f67-8532-243014325649",
"properties": {
"requestbody": "{\"Properties\":{\"RoleDefinitionId\":\"/subscriptions/b3845b4e-806b-40b4-8169-593a9eda360a/resourceGroups/AZ-104-M2A-6MRFF72IHY/providers/Microsoft.Authorization/roleDefinitions/6f09af3f-3f65-4b5d-b2cb-bc5a894a3b0a\",\"PrincipalId\":\"f77b40f4-c6aa-44b6-a100-682dc6d79351\",\"Scope\":null,\"Type\":null},\"Id\":null,\"Name\":null,\"Type\":null}",
"eventCategory": "Administrative",
"entity": "/subscriptions/b3845b4e-806b-40b4-8169-593a9eda360a/resourceGroups/AZ-104-M2A-6MRFF72IHY/providers/Microsoft.Authorization/roleAssignments/811e274f-3fde-4c10-a283-624ff1ded704",
"message": "Microsoft.Authorization/roleAssignments/write",
"hierarchy": "2f154508-d7c6-4f67-8532-243014325649/7ba6fd0c-f046-4022-971a-e5798d3166e9/a7025294-e84c-49af-972d-0037c47ca107/b3845b4e-806b-40b4-8169-593a9eda360a"
},
"relatedEvents": []
}
留言
張貼留言