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

Wouter de Kort
21
Reputation points
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?
Hello, @Wouter de Kort !
Quick update: I haven't heard back from the AKS product group yet (it's been a very busy month) but it sounds like it may be a good idea to reach out to the Visual Studio community:
https://developercommunity.visualstudio.com/spaces/8/index.html