You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--sdk-authis actually deprecated, but is still available to support GitHub Actions (see Azure/azure-cli#21219). The output of az ad sp create-for-rbac is different from --sdk-auth, so I'm surprised that this has worked for -- unless GH actions now support the new condensed JSON output.
az ad sp create gave all the info needed for the secrets (copying single values to the respective fields in the secrets template, e.g. appID -> clientID). It's fine to have the deprecated warning.
Die Zeile
az ad sp create-for-rbac --sdk-auth --name ContosoAds-CICD --role contributor --scopes "/subscriptions/$subscription_id"
zeigt zumindest bei mir (kann auch einer etwas instabilen Ubuntu-distro liegen) die Warnung
"Option '--sdk-auth' has been deprecated and will be removed in a future release."
an und gibt zudem nicht das benötigte JSON aus.
Erst wenn ich es ohne den SDK-Parameter mache, funktioniert's mit der JSON-Ausgabe:
The text was updated successfully, but these errors were encountered: