azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Invoke-AzVMRunCommand taking 1.30 hours to execute a script.

Open ziaul-siddiqui-bzy opened this issue 1 year ago • 5 comments

Type of issue

Other (describe below)

Feedback

I've around 300 VM in Azure, and i am trying to get last login information using script.ps1 file. when i try to execute .ps1 file in Invoke-AzVMRunCommand. usually it takes a minute to complete on one VM. But randomly some VMs it is taking 1.5 hours which is leading failed to my GitHub workflow.

Page URL

https://learn.microsoft.com/en-us/powershell/module/az.compute/invoke-azvmruncommand?view=azps-11.3.0&viewFallbackFrom=azps-11.0.0

Content source URL

https://github.com/Azure/azure-powershell/blob/main/src/Compute/Compute/help/Invoke-AzVMRunCommand.md

Author

@mikefrobbins

Document Id

e7d2f266-0b25-3b15-6278-40c58d41600d

ziaul-siddiqui-bzy avatar Feb 14 '24 14:02 ziaul-siddiqui-bzy

@ziaul-siddiqui-bzy thanks for the feedback. I'll loop in the Compute team. At the same time it would be helpful if you could provide more context such as the content of the script ran on your VMs, the logs of the run, the version of Az modules.

isra-fel avatar Feb 18 '24 03:02 isra-fel

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @TravisCragg-MSFT, @nikhilpatel909, @sandeepraichura, @hilaryw29, @GabstaMSFT.

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @TravisCragg-MSFT, @nikhilpatel909, @sandeepraichura, @hilaryw29, @GabstaMSFT.

thanks for reporting, we'll look into it.

sandeepraichura avatar Mar 07 '24 16:03 sandeepraichura

@ziaul-siddiqui-bzy are you still experiencing this issue? If so can you easily reproduce the issue?

GabstaMSFT avatar Jun 27 '24 16:06 GabstaMSFT

@ziaul-siddiqui-bzy are you able to reproduce this issue? Can you provide steps you take to reproduce it?

GabstaMSFT avatar Jul 25 '24 14:07 GabstaMSFT

@ziaul-siddiqui-bzy I haven’t been able to reach you in my last few attempts. Perhaps this is a bad time for you right now due to other obligations or you no longer need assistance. To avoid further ‘spam’ from me trying to contact you I will be closing your issue for now.

Your issue is important to us, and we want to ensure you do get the help you need so if at any time you want to continue working on this issue, please reopen the issue and we would be happy to continue to assist you.

GabstaMSFT avatar Aug 06 '24 15:08 GabstaMSFT