Interview Prep/Azure/Identity and Authorization Errors

`LinkedAuthorizationFailed: The client has permission to perform action 'Microsoft.Network/networkInterfaces/write' ... however, it does not have permission to perform action 'Microsoft.Network/virtualNetworks/subnets/join/action' on the linked scope(s)`.

IntermediateTroubleshootingIdentity and Authorization Errors
Answer

Likely causes → The identity can create resources in its RG but the subnet is in another RG (often the network team's) where it has no rights.

Diagnose → Read the linked scope in the error; check assignments there.

Fix →

  1. Grant a role with subnets/join/action on the subnet (Network Contributor, or a custom "Subnet Joiner" role)
  2. Retry the deployment

Prevent → Provide a custom least-privilege subnet join role for app teams in hub-spoke designs.

Azure All Azure questions Roadmap: Azure core services

More on Identity and Authorization Errors