Question

alexandru.mocanu on Tue, 06 Jun 2017 07:40:56


Hi,

I have an issue recreating an App Service Plan that was deleted previously. 

I get an error saying that "Server farm with name {0} not found."

Has anyone found a workaround for this issue?

Regards,

Alex



Sponsored



Replies

Ashok Kumar .P on Tue, 06 Jun 2017 16:20:12


To clarify, are you trying to create an App Service plan using the Azure portal or template? provide more details about your scenario to understand better.

Are there any App Services associated with the plan? Could you check once again and confirm whether the App Service plan has been deleted completely or not?

You may check the resources through Azure Resource Explorer.

Also, you may try the below PowerShell cmdlet to delete the App Service plan and then recreate the plan with the same name.

Remove-AzureRmAppServicePlan -Name YourAppServicePlanName -ResourceGroupName YourAzureResourceGroupName

-----------------------------------------------------------------------------------------------
Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.

alexandru.mocanu on Tue, 27 Jun 2017 09:36:45


App service plan was deleted completely, I found no traces of it in our subscription. However I was able to recreate the app service plan with the same name after a couple of days. Thanks for your help. 

Ashok Kumar .P on Tue, 27 Jun 2017 12:20:50


Glad to hear that your issue is resolved!