If you are familiar with Terraform, you might have experience with terraform state import, which allows to import state of the already provisioned resources and generate an infra script. This blog explains about an error which occurred when trying do terraform state import and the fix for it.
When trying to import the state of Azure app service plan as shown in the following command, it gives a error.
Terraform command :
Terraform import azurerm_app_service_plan.serviceplan /subscriptions/mysubscription /resourceGroups/myresource group/providers/Microsoft.Web/serverFarms/myplanname