You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using your powershell scripts and i get an error when launching it
Invoke-RestMethod : {"error":{"code":"ResourceNotFound","message":"The Resource 'Microsoft.ContainerService/managedClusters/aks-eoltoppool0-33389392-vmss' under resource group 'MC_eolementhe-top-resource-group_eolementhe-top-kubernetes-cluster_westeurope' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}} At line:19 char:9 + Invoke-RestMethod -Method Post -Uri $URI -ContentType "applic ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
I did double check name resource group and subscription and everything seems to be ok.
I think you've got the input parameters wrong, those look like the cluster's underlying VMSS. You want the name and RG of the cluster resource itself, eg my-cluster in k8s-clusters.
Hi,
I'm using your powershell scripts and i get an error when launching it
Invoke-RestMethod : {"error":{"code":"ResourceNotFound","message":"The Resource 'Microsoft.ContainerService/managedClusters/aks-eoltoppool0-33389392-vmss' under resource group 'MC_eolementhe-top-resource-group_eolementhe-top-kubernetes-cluster_westeurope' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}} At line:19 char:9 + Invoke-RestMethod -Method Post -Uri $URI -ContentType "applic ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
I did double check name resource group and subscription and everything seems to be ok.
Reading the web, it might be related to TLS issue (https://blogs.inframon.com/2018/03/forcing-tls1-2-when-using-azure-hybrid-runbook-workers/) . Do you think this may be related ? i did try without success
Have you experienced such an error using runbooks ?
thanks a lot for this great script
The text was updated successfully, but these errors were encountered: