Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Trying to deploy IPv6 NLB via the Cloud Shell script but it's not working - error 400 when pasting in NLB via the cloudshell script.

$
0
0

Hi.

I am trying out the deployment script to get an NLB with IPv6 working but when I get to the part of adding the NLB I get the below error message.

I am unable to copy and past the URL that I'm following as my account has not been verified but if you search for this you will find the MS URL "Deploy an IPv6 dual stack application in Azure - PowerShell (Preview)"

Part I'm stuck on is here - Create a load balancer.

PS Azure:\>
Azure:/
PS Azure:\> $lb = New-AzLoadBalancer `
>> -ResourceGroupName $rg.ResourceGroupName `
>> -Location $rg.Location  `
>> -Name "MyLoadBalancer" `
>> -Sku "Standard" `
>> -FrontendIpConfiguration $frontendIPv4,$frontendIPv6 `
>> -BackendAddressPool $backendPoolv4,$backendPoolv6 `
>> -LoadBalancingRule $lbrule_v4,$lbrule_v6
New-AzLoadBalancer: Resource /subscriptions/7c8d684f-5aee-4081-8c7b-09f4201940c3/resourceGroups/dsRG1/providers/Microsoft.Network/loadBalancers/MyLoadBalancer/probes/MyProbe referenced by resource /subscriptions/7c8d684f-5aee-4081-8c7b-09f4201940c3/resourceGroups/dsRG1/providers/Microsoft.Network/loadBalancers/MyLoadBalancer/loadBalancingRules/dsLBrule_v4 was not found. Please make sure that the referenced resource exists, and that both resources are in the same region.
StatusCode: 400
ReasonPhrase: Bad Request
ErrorCode: InvalidResourceReference
ErrorMessage: Resource /subscriptions/7c8d684f-5aee-4081-8c7b-09f4201940c3/resourceGroups/dsRG1/providers/Microsoft.Network/loadBalancers/MyLoadBalancer/probes/MyProbe referenced by resource /subscriptions/7c8d684f-5aee-4081-8c7b-09f4201940c3/resourceGroups/dsRG1/providers/Microsoft.Network/loadBalancers/MyLoadBalancer/loadBalancingRules/dsLBrule_v4 was not found. Please make sure that the referenced resource exists, and that both resources are in the same region.
OperationID : d7fc5e15-e811-4f51-839f-a3f463f369eb
Azure:/
PS Azure:\>

Can anybody shed some light on this?

Thanks in advance.



Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>