Azure Logic App 'ststv2_vms_Scheduled_start' runs without errors but doesn't start the VM

MichelGingueneADMCH1-0562 0 Reputation points
2024-08-27T08:53:29.1166667+00:00

Hello,

The logic app "ststv2_vms_Scheduled_start" doesn't work.
Everything seems ok, the log is without errors, but the VM doesn't start.
I did the troubleshooting : https://video2.skills-academy.com/en-us/azure/azure-functions/start-stop-vms/troubleshoot?source=recommendations
User's image

PLease help !

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,087 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Cruz, Paulo Jorge 0 Reputation points
    2024-09-03T09:27:02.3166667+00:00

    Hello,

    Same error here.
    We have been using the schedulled Start/Stop logic apps for a long time, and starting in 20/08 it suddenly stopped working,

    Noticed that on 20/08, SSV2_AutomationUpdateGA automated deployment failed, with error details:

    The resource write operation failed to complete successfully, because it reached terminal provisioning state 'failed'. (Code: ResourceDeploymentFailure)
    
        Package deployment failed
      

    ARM-MSDeploy Deploy Failed: 'Microsoft.Web.Deployment.DeploymentDetailedUnauthorizedAccessException: Unable to perform the operation ("Delete File") for the specified directory ("C:\home\site\wwwroot\bin\Azure.Storage.Blobs.dll"). This can occur if the server administrator has not authorized this operation for the user credentials you are using. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER. ---> Microsoft.Web.Deployment.DeploymentException: The error code was 0x80070005. ---> System.UnauthorizedAccessException: Access to the path 'C:\home\site\wwwroot\bin\Azure.Storage.Blobs.dll' is denied.

      
    I wonder if its related to the Log Analytics agent retiring.
    
    Any help is very much appreciated.
    
    
    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.