Azure Storage Account for Terraform State File

Is it possible to create Azure blob storage account for Terraform state file with the very first “terraform apply”. I am trying to write the Terraform script to include Azure blob storage account so that I can run ‘terraform apply’ which will create the Azure storage account and store the Terraform state file in Azure during the first time Terraform run. Azure documentation says to create the Azure storage account before running Terraform.

From Azure DevOps you can use a plugins that will do that in your pipelines

I was not able to do it like you ask.