← cd ~/graph-permissions
// graph-permissions · ServiceMessageViewpoint
ServiceMessageViewpoint.WriteMicrosoft Graph permission · Medium risk
Allows the app to update service announcement messages' user status on behalf of the signed-in user. The message status can be marked as read, archive, or favorite.
Delegated permission
Medium riskUpdate user status on service announcement messages. Allows the app to update service announcement messages' user status on behalf of the signed-in user. The message status can be marked as read, archive, or favorite.
| ID | 636e1b0b-1cc2-4b1c-9aa9-4eeed9b9761b |
|---|---|
| Consent | Needs admin consent |
| Risk | Can make changes. Check the scope is as narrow as possible. |
Ask for it when signing in
Delegated permissions act as the signed-in user, so the app can never do more than that user can.
Connect-MgGraph -Scopes "ServiceMessageViewpoint.Write"Which apps already have it?
# Apps with delegated consent for ServiceMessageViewpoint.Write
Connect-MgGraph -Scopes "Application.Read.All", "Directory.Read.All"
$graph = Get-MgServicePrincipal -Filter "appId eq '00000003-0000-0000-c000-000000000000'"
Get-MgOauth2PermissionGrant -All |
Where-Object { $_.ResourceId -eq $graph.Id -and ($_.Scope -split " ") -contains "ServiceMessageViewpoint.Write" } |
Select-Object ClientId, ConsentType, PrincipalId