Microsoft Graph PowerShell 2.41.2 command metadata
Command
Module
Request
Least-privileged permissions
Invoke-MgBetaScheduleRoleManagementDirectory
Microsoft.Graph.Beta.Identity.Governance
GET /roleManagement/directory/roleScheduleInstances(directoryScopeId='@directoryScopeId',appScopeId='@appScopeId',principalId='@principalId',roleDefinitionId='@roleDefinitionId')
GET /roleManagement/enterpriseApps/{rbacApplication-id}/roleScheduleInstances(directoryScopeId='@directoryScopeId',appScopeId='@appScopeId',principalId='@principalId',roleDefinitionId='@roleDefinitionId')
GET /roleManagement/entitlementManagement/roleScheduleInstances(directoryScopeId='@directoryScopeId',appScopeId='@appScopeId',principalId='@principalId',roleDefinitionId='@roleDefinitionId')
Not listed
Install with Install-Module Microsoft.Graph.Beta.Identity.Governance. Permissions come from the SDK's metadata; check Microsoft's API page before granting them.