I created an Azure Function but didn't pay attention to the name of the App Service being created.
Is it possible to rename an Azure App Service from the Azure Portal? I couldn't find an obvious way to do it.
I created an Azure Function but didn't pay attention to the name of the App Service being created.
Is it possible to rename an Azure App Service from the Azure Portal? I couldn't find an obvious way to do it.
The easiest way is to create a new app service and then move the functions from the old app service to the one with the correct name.
Provided it's the same type of app service you can move functions between them freely.
As far as I know, it is by default not possible from the azure portal, but you can clone your existing app using a PowerShell script and give it a new name regarding Microsoft documentation. When you are confident, then you can delete your old one.
Another way I would suggest is using for instance terraform. When changing the app service in terraforms, it will automatically tear the old one and create a new one with the new name, with the same configuration.