Hey <#C01PF3E1B8V|getting-started> I'm trying to ...
# getting-started
Hey #getting-started I'm trying to use Workload Identity Federation on Azure to authenticate with the Azure CLI and run a
pulumi preview
command. I used to have this working without any issues, but now I get an error:
Copy code
error: building auth config: Authenticating using the Azure CLI is only supported as a User (not a Service Principal).
      To authenticate to Azure using a Service Principal, you can use the separate 'Authenticate using a Service Principal'
      auth method - instructions for which can be found here: <https://www.pulumi.com/docs/intro/cloud-providers/azure/setup/#service-principal-authentication>
      Alternatively you can authenticate using the Azure CLI by using a User Account.
I'm not sure if I changed something I doni't know of, or something changed in the pulumi cli?