# getting-started


06/14/2022, 9:52 PM
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: <>
      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?