Hello @Kim Strasser
It looks like the error you're encountering is due to invalid characters in the resource name. Azure has specific naming rules for resources, and violating these rules can cause errors during deployment. Here are some common guidelines for naming Azure resources:
- Resource Group Names: Can contain alphanumeric characters, periods, underscores, hyphens, and parentheses. They must be between 1 and 90 characters in length.
App Service Plan Names: Can contain alphanumeric characters and hyphens. They must be between 1 and 40 characters in length.
Storage Account Names: Must be between 3 and 24 characters in length and can contain only lowercase letters and numbers.
Function App Names: Must be between 1 and 60 characters in length and can contain alphanumeric characters and hyphens. They must be unique within Azure.
In your case, it seems like the function app name Newazurefunctionappdistribution
might be causing the issue. Here are a few things to check:
Ensure that the name does not exceed 60 characters.
Avoid using special characters or spaces in the name.
Make sure the name is unique within Azure.
You can find more information on naming rules and conventions for Azure resourcesIt looks like the error you're encountering is due to invalid characters in the resource name. Azure has specific naming rules for resources, and violating these rules can cause errors during deployment. Here are some common guidelines for naming Azure resources:
Resource Group Names: Can contain alphanumeric characters, periods, underscores, hyphens, and parentheses. They must be between 1 and 90 characters in length.
App Service Plan Names: Can contain alphanumeric characters and hyphens. They must be between 1 and 40 characters in length.
Storage Account Names: Must be between 3 and 24 characters in length and can contain only lowercase letters and numbers.
Function App Names: Must be between 1 and 60 characters in length and can contain alphanumeric characters and hyphens. They must be unique within Azure.
In your case, it seems like the function app name Newazurefunctionappdistribution
might be causing the issue. Here are a few things to check:
Ensure that the name does not exceed 60 characters.
Avoid using special characters or spaces in the name.
Make sure the name is unique within Azure.
You can find more information on naming rules and conventions for Azure resources https://learn.microsoft.com/en-us/answers/questions/483876/azure-functions-runtime-error
And your last question about which select depends on your requirements:
.NET 8 Isolated (Recommended for most cases)
- It's a stable, long-term support (LTS) version, meaning Microsoft will provide support and updates for a longer period.
- Ideal for production applications that need long-term reliability.
- It's a preview or short-term support (STS) version. - Suitable for testing new features but not recommended for production environments.
If you're deploying a function app for production, go with .NET 8 Isolated. If you're experimenting with the latest features and can handle potential instability, then .NET 9 Isolated might be an option.
If you found it helpful, could you kindly click the “Accept Answer and upvote” on the post.
If you have any further queries, please let us know we are glad to help you.