I am unable to spin up internal load balancers in AKS

Desmond Sindatry 91 Reputation points
2022-02-02T21:13:42.277+00:00

Error syncing load balancer: failed to ensure load balancer: Retriable: false, RetryAfter: 0s, HTTPStatusCode: 403, RawError: Retriable: false, RetryAfter: 0s, HTTPStatusCode: 403, RawError: {"error":{"code":"AuthorizationFailed","message":"The client '58f5fcf9-1167-4999-9c38-a8b34a3f10b5' with object id '58f5fcf9-1167-4999-9c38-a8b34a3f10b5' does not have authorization to perform action 'Microsoft.Network/virtualNetworks/subnets/read' over scope '/subscriptions/1783aec1-4a5f-4d3c-8a12-d4a052ab85cb/resourceGroups/azuse-sas-ssod-sdmgt-dev-vpn-rg/providers/Microsoft.Network/virtualNetworks/azuse-sas-ssod-sdmgt-dev-vpn-vnet/subnets/azuse-sas-ssod-sdmgt-dev-node-subnet' or the scope is invalid. If access was recently granted, please refresh your credentials."}}

I have tried to add Netowrk contributor role to my managedIdentity on the resourcegroup and the route "azuse-node-route" I dont see options for doing it on subnet

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,462 questions
{count} votes

1 answer

Sort by: Most helpful
  1. shiva patpi 13,366 Reputation points Microsoft Employee Moderator
    2022-02-03T00:17:01.297+00:00

    Hello @Desmond Sindatry ,
    Can you try giving contributor role to that clientID 58f5fcf9-1167-4999-9c38-a8b34a3f10b5 over the scope of resource group azuse-sas-ssod-sdmgt-dev-vpn-rg

    Regards,
    Shiva.

    1 person found this answer helpful.

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.