Event type
Azure AD Role Assignment
Add Member to Role - Privilege Escalation
Records Azure Active Directory role assignment operations, particularly additions to privileged roles like Global Administrator, which represent privilege escalation and potential security risks
Overview
What this event covers
Captures Azure Active Directory role assignment operations where users are added to administrative roles. Global Administrator assignments are the highest risk as they grant complete control over the tenant. This event is critical for detecting privilege escalation attacks and unauthorized administrative access.
When generated
- ›Administrator assigns user to Azure AD administrative role
- ›New administrator account provisioned with elevated privileges
- ›Attacker escalates privileges via compromised admin account
- ›Emergency administrative access granted
- ›Privileged Identity Management (PIM) activation
Security relevance
CriticalCompliance
Frequency notes
Very low frequency under normal operations (1 event/hour baseline). Role assignments should be rare, planned, and approved. Off-hours activity is extremely suspicious (5x night multiplier, 4x weekend). Global Administrator assignments require immediate investigation. Rapid successive assignments or assignments to newly created accounts are high-priority alerts.
Resources
Docs and tools
Generation
Configuration
- Base frequency
- 1 events/hour
- Time patterns
- business_hours night_hours
- Business hours
- 2.0x
- Night hours
- 5.0x
- Weekend
- 4.0x
Schema
Field definitions
Field reference for this event type — types, requirements, examples, and allowed values.
CreationTime
Timestamp when the role assignment occurred
Source: now() | iso8601
ISO 86012024-12-15T16:08:52ZId
Unique identifier for this audit record
Source: random_guid()
GUIDe7f8a9b0-c1d2-3e4f-5a6b-7c8d9e0f1a2bOperation
Azure AD operation performed
Source: Static value 'Add member to role'
Add member to roleOrganizationId
Microsoft 365 tenant identifier
Source: Derived from organization domain
GUIDb4c5d6e7-8f9a-0b1c-2d3e-4f5a6b7c8d9eRecordType
Office 365 audit log record type (8 = AzureActiveDirectory)
Source: Static value 8
8-
8AzureActiveDirectory - Azure AD events including role assignments
ResultStatus
Outcome of the role assignment operation
Source: random_choice(['Success', 'Success', 'Success', 'Failed'])
Success-
SuccessRole assignment completed successfully -
FailedRole assignment failed (insufficient permissions or validation error)
UserKey
Unique identifier for the user who performed the role assignment
Source: registry.get_random_user().email
admin@contoso.comUserType
Type of user performing the action
Source: random_choice([0, 2])
2-
0Regular user (unusual for role assignments) -
2Administrator (expected)
Workload
Office 365 service where the operation occurred
Source: Static value 'AzureActiveDirectory'
AzureActiveDirectoryUserId
User principal name of the administrator account
Source: registry.get_random_user().email
Email/UPNadmin@contoso.comClientIP
IP address from which the operation was performed
Source: random_choice([random_public_ip(), random_private_ip()])
IPv4203.0.113.92ObjectId
Object identifier for the role assignment (User_GUID format)
Source: User_ prefix with random_guid()
User_a1b2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6dActor
Array containing actor information (user performing the assignment)
Source: Array with user ID and hex identifier
Actor[].ID
Actor identifier (email or hex ID)
Source: User email or hex identifier
admin@contoso.comActor[].Type
Actor type identifier
0-
0User principal -
5Other identifier type
ActorContextId
Tenant context of the actor
Source: Derived from organization domain
GUIDb4c5d6e7-8f9a-0b1c-2d3e-4f5a6b7c8d9eActorIpAddress
IP address of the actor
Source: random_choice([random_public_ip(), random_private_ip()])
IPv4203.0.113.92Target
Array containing target user information (user receiving the role)
Source: Array with target user identifiers
Target[].ID
Target user identifier
Source: User email or User_GUID format
newadmin@contoso.comTarget[].Type
Target type identifier
2-
2User object -
5Other identifier type
ApplicationId
Application that facilitated the role assignment
Source: Known Azure AD application GUIDs
GUIDc44b4083-3bb0-49c1-b47d-974e53cbdf3c-
c44b4083-3bb0-49c1-b47d-974e53cbdf3cAzure AD PowerShell -
00000002-0000-0000-c000-000000000000Azure AD Graph API -
00000003-0000-0000-c000-000000000000Microsoft Graph
DeviceProperties
Properties of the device used for the role assignment
Source: Array with browser, compliance, and management status
DeviceProperties[].Name
Property name (BrowserType, IsCompliant, IsManaged)
IsCompliantDeviceProperties[].Value
Property value
Source: Context-specific values for device properties
TrueExtendedProperties
Additional properties including user type and user agent
Source: Array with additional context
ModifiedProperties
Role details including role name and template ID
Source: Array showing role assignment details
ModifiedProperties[].Name
Property name (Role.WellKnownObjectName, Role.DisplayName, Role.TemplateId, Role.ObjectID)
Role.DisplayNameModifiedProperties[].NewValue
Role being assigned
Source: Azure AD role name or GUID
Global Administrator-
Global AdministratorHighest privilege - complete tenant control (TemplateId: 62e90394-69f5-4237-9190-012177145e10) -
User AdministratorManage users and groups (TemplateId: fe930be7-5e62-47db-91af-98c3a49a38b1) -
Privileged Role AdministratorManage role assignments (TemplateId: e8611ab8-c189-46e8-94e1-60213ab1f814) -
Security AdministratorManage security settings (TemplateId: 194ae4cb-b126-40b2-bd5b-6091b380977d) -
Helpdesk AdministratorReset passwords for non-admins (TemplateId: 729827e3-9c14-49f7-bb1b-9608f156bbb8)
ModifiedProperties[].OldValue
Previous value (empty for new role assignments)
Source: Empty string
ExternalAccess
Indicates if the operation was performed from outside the corporate network
Source: random_choice(['true', 'false', 'false']) - weighted toward internal
trueAzureActiveDirectoryEventType
Type of Azure AD event
Source: Static value 1
1UserAgent
Browser user agent string
Source: Random user agent string
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36