Application code deployment to function app slot failing.

Hariprasad 5 Reputation points
2023-07-24T11:57:02.1666667+00:00

I do the code deployment to the deployment slot which has the the public key certificate added. Deployment to that deployment slot will timeout after 1hour without any error message, Same deployment will work for the slot with no public key certificate.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,398 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,266 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Hariprasad 5 Reputation points
    2023-07-25T10:57:03.52+00:00

    Issue is now resolved. With the powershell commands deployment works without any issues, the issue was with the azure devops task for the function app deployment. I am not sure why the azure devops task failed but azure powershell task with Publish-AzWebApp command worked.

    1 person found this answer helpful.
    0 comments No comments

  2. SnehaAgrawal-MSFT 22,181 Reputation points
    2023-07-25T09:41:12.9+00:00

    @Hariprasad

    Thanks for reaching here! Its possible that the public key certificate is causing the deployment to fail. When you add a public key certificate to a deployment slot, it can affect the deployment process because the certificate is used to encrypt and decrypt data during the deployment process.

    Suggest you try below things to resolve the issue:

    · Check the size of the certificate. If the certificate is too large, it can cause the deployment to fail. Try using a smaller certificate.

    · See if the permissions on the certificate. Make sure that the certificate has the correct permissions to be used during the deployment process.

    · Check the deployment logs. The deployment logs may provide more information about why the deployment is failing. You can view the deployment logs in the Azure portal or by using the Azure CLI.

    · Try deploying to a different deployment slot. If the deployment is successful in a slot without a public key certificate, try deploying to a different slot with a public key certificate to see if the issue is specific to that slot.

    Let us know.

    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.