You need static web app cli. You need a .env file with with 2 var: AZURE_SUBSCRIPTION_ID=9xx32373-xxxx-xxxx-a6b1-34d84739xxxx AZURE_TENANT_ID=a792xx5d-xxxx-xxxx-b1dd-0d4f9becxxxx You need to create an empty static web app in azure to deploy to.