Not able to publish .net 8 files to Azure Linux Function app using Publish-AzWebApp command from powershell.

Aditya Parcha 0 Reputation points
2024-07-25T15:22:12.8333333+00:00

I am trying to deploy .net 8 published files to Linux Azure function app from Linux using Publish-AzWebApp.

Deployment is not giving any error but files are not getting deployed. The same working for Windiows function app.

Could you please help!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,099 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,592 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,905 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pinaki Ghatak 4,610 Reputation points Microsoft Employee
    2024-07-26T11:13:08.74+00:00

    Hello @Aditya Parcha

    It seems like you are trying to deploy .NET 8 published files to a Linux Azure Function App using the Publish-AzWebApp`command from PowerShell, but the deployment is not working.

    Before we proceed, can you please confirm if you have followed the steps mentioned in the document for deploying .NET 8 published files to a Linux Azure Function App? If not, please follow the steps mentioned in the document and try again. If you have followed the steps and are still facing issues, can you please provide more information about the error you are facing?

    Are you seeing any error messages or logs? Also, please make sure that you have the necessary permissions to deploy to the Azure Function App. You can check this by running the following command in PowerShell:

    Get-AzWebAppPublishingProfile -Name -ResourceGroupName 
    

    This command will retrieve the publishing profile for the Azure Function App and display the necessary credentials for deployment.

    If you are still facing issues, please provide more information about the error you are facing, and we will be happy to help you further.

    0 comments No comments

Your answer

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