Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #9

Open
vdias opened this issue Jan 23, 2024 · 0 comments
Open

Error #9

vdias opened this issue Jan 23, 2024 · 0 comments

Comments

@vdias
Copy link

vdias commented Jan 23, 2024

Job stream details
Get-AzResource : Could not convert string to DateTimeOffset: 1706089004. Path 'expires_on', line 1, position 1591. At line:104 char:23 + ... nResource = Get-AzResource -ResourceType Microsoft.Automation/Automat ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : CloseError: (:) [Get-AzResource], JsonReaderException + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.GetAzureResourceCmdlet

Cannot index into a null array. At line:140 char:5 + $state = ($vm.Statuses[1].DisplayStatus -split " ")[1] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArray

Get-AzVM : Could not convert string to DateTimeOffset: 1706089007. Path 'expires_on', line 1, position 1591. At line:137 char:11 + $vm = Get-AzVM -ResourceGroupName $rg -Name $name -Status -Defaul ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : CloseError: (:) [Get-AzVM], JsonReaderException + FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.GetAzureVMCommand

New-AzAutomationVariable : Cannot validate argument on parameter 'ResourceGroupName'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. At line:118 char:45 + New-AzAutomationVariable -ResourceGroupName $ResourceGroup -Automatio ... + ~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (:) [New-AzAutomationVariable], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Azure.Commands.Automation.Cmdlet.NewAzureAutomationVariable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant