azureblog.co.uk
← cd ~/roles
// roles/entra

Message Center Privacy ReaderMicrosoft Entra built-in role

Can read security messages and updates in Office 365 Message Center only.

Role IDac16e43d-7b2d-40e0-ac05-243ff356ab5b
PrivilegedNo
Permissions3

What it can do

PermissionWhat it allows
microsoft.office365.messageCenter/messages/readRead messages in Message Center in the Microsoft 365 admin center, excluding security messages
microsoft.office365.messageCenter/securityMessages/readRead security messages in Message Center in the Microsoft 365 admin center
microsoft.office365.webPortal/allEntities/standard/readRead basic properties on all resources in the Microsoft 365 admin center

Assign it

The role ID is the same in every tenant, so these work as they are. Make it eligible through PIM:

powershell13 lines
Connect-MgGraph -Scopes "RoleEligibilitySchedule.ReadWrite.Directory"
$user = Get-MgUser -UserId "jane.doe@contoso.com"
New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -BodyParameter @{
    Action           = "AdminAssign"
    Justification    = "Needs Message Center Privacy Reader for <reason>"
    RoleDefinitionId = "ac16e43d-7b2d-40e0-ac05-243ff356ab5b"
    DirectoryScopeId = "/"
    PrincipalId      = $user.Id
    ScheduleInfo     = @{
        StartDateTime = (Get-Date).ToUniversalTime().ToString("o")
        Expiration    = @{ Type = "afterDuration"; Duration = "P180D" }
    }
}

Who already has it?

powershell3 lines
Connect-MgGraph -Scopes "RoleManagement.Read.Directory"
Get-MgRoleManagementDirectoryRoleAssignment -Filter "roleDefinitionId eq 'ac16e43d-7b2d-40e0-ac05-243ff356ab5b'" -ExpandProperty Principal |
    ForEach-Object { $_.Principal.AdditionalProperties.displayName }

Related roles

Find the smallest role for a task →