What permissions are required to attach the Snapshot debugger to AKS?

Wouter de Kort 21 Reputation points
2022-01-31T15:39:47.343+00:00

I'm trying to attach the Snapshot debugger to my .NET 5 app running on AKS. I'm following these instructions: https://learn.microsoft.com/en-us/visualstudio/debugger/debug-live-azure-kubernetes?view=vs-2022 but I keep getting the following error:

Error: Failed to get response from URL: https://management.azure.com//subscriptions/<..>/resourceGroups/devtest-aks/providers/Microsoft.ContainerService/managedClusters/<...>/accessProfiles/clusterUser?api-version=2017-08-31  
Error: Unable to Start Snapshot Debugger - Attach Snapshot Debugger failed: System.Net.WebException: The remote server returned an error: (403) Forbidden.  

What permissions do I need to make this work?

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,846 questions
{count} votes