-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botAuto assign by botGraph(doesn't work with label-triggered comments; use Graph.Microsoft instead) az ad(doesn't work with label-triggered comments; use Graph.Microsoft instead) az adService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Similar-Issuecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-requestidentity-squad
Milestone
Description
Related command
az ad app create
Is your feature request related to a problem? Please describe.
Currently it is very unintuitive to add a logo image to a app registration.
Describe the solution you'd like
--logo "@path/to/logo.png"
Describe alternatives you've considered
Using the (Power)shell's HTTP client because az rest does not seem to work with images.
$graphJwt = az account get-access-token --resource-type ms-graph | ConvertFrom-Json -Depth 100
$headers = @{
"Authorization" = "Bearer $($graphJwt.accessToken)"
"Content-Type" = "image/png"
}
$bytes = [System.IO.File]::ReadAllBytes($logo)
Invoke-RestMethod -Uri "https://graph.microsoft.com/v1.0/applications/$($app.id)/logo" -Method PUT -Body $bytes -Headers $headers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botAuto assign by botGraph(doesn't work with label-triggered comments; use Graph.Microsoft instead) az ad(doesn't work with label-triggered comments; use Graph.Microsoft instead) az adService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Similar-Issuecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-requestidentity-squad