You can use the below Azure cli commands to set the terraform remote backend, or you can do it via the portal
#!/bin/bash
## The Storage account name must be unique, and the values below should match your backend.tf
RESOURCE_GROUP_NAME=demo-resources
STORAGE_ACCOUNT_NAME=techtutorialswithpiyush
CONTAINER_NAME=prod-tfstate
# Create resource group
az group create --name $RESOURCE_GROUP_NAME --location canadacentral
# Create storage account
az storage account create --resource-group $RESOURCE_GROUP_NAME --name $STORAGE_ACCOUNT_NAME --sku Standard_LRS --encryption-services blob
# Create blob container
az storage container create --name $CONTAINER_NAME --account-name $STORAGE_ACCOUNT_NAME
az login --use-device-code
alias tf=terraform
tf init
tf plan
tf apply --auto-approve