https://pulumi.com logo
Title
i

icy-jordan-58549

12/04/2020, 11:37 AM
Can anyone help me, changed my az user to SP and keep getting this:
error: building auth config: Authenticating using the Azure CLI is only supported as a User (not a Service Principal).
azure:clientId: 8dac446c-b304-4627-85ad-a1c9104323fe
  azure:clientSecret:
    secure: REDACTED
  azure:subscriptionId: 393dab78-686f-41be-b9d5-f244fb11eba7
  azure:tenantId: 9b62c0fc-ad42-4789-b7e9-0d9e03e1e11f
az ad sp show --id 8dac446c-b304-4627-85ad-a1c9104323fe
"appId": "8dac446c-b304-4627-85ad-a1c9104323fe",
  "appOwnerTenantId": "9b62c0fc-ad42-4789-b7e9-0d9e03e1e11f"
what am I missing here?
t

tall-librarian-49374

12/04/2020, 12:19 PM
Are you using
azure
or
azure-nextgen
?
i

icy-jordan-58549

12/04/2020, 2:23 PM
azure-nextgen
t

tall-librarian-49374

12/04/2020, 2:31 PM
Then prefix the configs with
azure-nextgen
azure-nextgen:clientId
etc
i

icy-jordan-58549

12/04/2020, 3:40 PM
oops 🙂
thanks @tall-librarian-49374