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

Message Center ReaderMicrosoft Entra built-in role

Can read messages and updates for their organization in Office 365 Message Center only.

Role ID790c1fb9-7f7d-4f88-86a1-ef1f95c05c1b
PrivilegedNo
Permissions2

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.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 Reader for <reason>"
    RoleDefinitionId = "790c1fb9-7f7d-4f88-86a1-ef1f95c05c1b"
    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 '790c1fb9-7f7d-4f88-86a1-ef1f95c05c1b'" -ExpandProperty Principal |
    ForEach-Object { $_.Principal.AdditionalProperties.displayName }

Related roles

Find the smallest role for a task →