← cd ~/graph-permissions
// graph-permissions · Printer
Printer.CreateMicrosoft Graph permission · Low risk
Allows the application to create (register) printers on behalf of the signed-in user.
Delegated permission
Low riskRegister printers . Allows the application to create (register) printers on behalf of the signed-in user.
| ID | 90c30bed-6fd1-4279-bf39-714069619721 |
|---|---|
| Consent | Needs admin consent |
| Risk | Read access, limited to what the signed-in user can see. |
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 "Printer.Create"Which apps already have it?
# Apps with delegated consent for Printer.Create
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 "Printer.Create" } |
Select-Object ClientId, ConsentType, PrincipalId