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

Viva Goals AdministratorMicrosoft Entra built-in role

Manage and configure all aspects of Microsoft Viva Goals.

Role ID92b086b3-e367-4ef2-b869-1de128fb986e
PrivilegedNo
Permissions3

What it can do

PermissionWhat it allows
microsoft.office365.supportTickets/allEntities/allTasksCreate and manage Microsoft 365 service requests
microsoft.office365.webPortal/allEntities/standard/readRead basic properties on all resources in the Microsoft 365 admin center
microsoft.viva.goals/allEntities/allProperties/allTasksManage all aspects of Microsoft Viva Goals

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 Viva Goals Administrator for <reason>"
    RoleDefinitionId = "92b086b3-e367-4ef2-b869-1de128fb986e"
    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 '92b086b3-e367-4ef2-b869-1de128fb986e'" -ExpandProperty Principal |
    ForEach-Object { $_.Principal.AdditionalProperties.displayName }

Related roles

Find the smallest role for a task →