[BUG] Audience https://azuresre.dev is not a supported MSI token audience.

Offen
#655 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
azure, powershell

Rechercherichtung

Start by reproducing with az account get-access-token --resource https://azuresre.dev/ inside Cloud Shell; the error text says the audience is not a supported MSI token audience. Check whether this repository holds the list of allowed MSI audiences or only the container image, since the allowlist may live in a service outside this repo. Done means the command returns a token, or the issue is confirmed as belonging to the owning service and routed there.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug Triage-needed

To Reproduce

az account get-access-token --resource https://azuresre.dev/ --query accessToken -o tsv

Observed Behavior

A Cloud Shell credential problem occurred. When you report the issue with the error below, please mention the hostname 'SandboxHost-639292599309734718'
Audience https://azuresre.dev/ is not a supported MSI token audience.

Expected behavior

Get the token successfully

Is this specific to Cloud Shell?

Yes

Interface information

https://portal.azure.com, Edge on Windows 11

Vorherrschende Sprache
PowerShell
Sterne
273
Forks
116
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Azure/CloudShell

Alle Issues in Azure/CloudShell

Ähnliche Issues

Weitere Issues zu Security

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.