visual studio failed to release azure function

Talia 20 Reputation points
2025-12-03T02:41:35.6733333+00:00

Hello,

After creating an Azure Function project in Visual Studio 2022, I encountered an issue when attempting to publish it to Azure. Specifically, the action to create or export a publish profile fails. I have configured my account permissions according to the relevant documentation (as shown in the attached screenshot), but the problem persists. How can I resolve this? This issue has severely impacted our workflow progress.

My environment is Windows 11, and the Azure Function is built on .NET 8.0.

User's image

User's image

User's image

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
{count} votes

1 answer

Sort by: Most helpful
  1. Praveen Kumar Gudipudi 1,495 Reputation points Microsoft External Staff Moderator
    2025-12-08T04:08:49.7133333+00:00

    Hello Talia,

    Please check below points,

    1. The name shown in your screenshot looks auto-generated and contains uppercase letters(this alone will disable the Create button.) Rename it to something like: azurefunction112520251203103535 mycompany-func-app proj123api
    2. Storage account Exist in the same region as your Function App. Please confirm on above suggested steps.

    If this answer was helpful, please click "Accept the answer" and mark Yes, as this can help other community members.

    User's image

    If you have any other questions or are still experiencing issues, feel free to ask in the "comments" section, and I'd be happy to help.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.