Azure Web and Mobile built-in role

Azure Spring Apps Remote Debugging Role

Attaches a remote debugger to an Azure Spring Apps application deployment through a data-plane remote-debugging action. The role has no control-plane Actions. Azure Spring Apps disables remote debugging by default and retires on March 31, 2028.

Role-definition permissions are imported from Microsoft Learn. Practical scope, use cases, prerequisites, best practices, security considerations, assignment guidance, and relationships have been reviewed against the official sources below.

Role definition ID: a99b0159-1064-4c22-a57b-c9b3caa1c054

Control-plane actions (0)

None — this role grants no control-plane management actions.

Data-plane actions (1)

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Microsoft documents assignment on the existing Azure Spring Apps service instance. The assignment enables remote-debug connections to deployments in that instance; broader parent assignments are inherited by additional service instances and should be avoided.

Common use cases (2)

Prerequisites (2)

Best practices (3)

Security considerations (3)

Assignment guidance

Grant Azure Spring Apps Remote Debugging Role directly on the existing service instance to the named developer or incident responder only for an approved Java debugging session. Enable the endpoint just before use, then disable remote debugging and remove the assignment as soon as the session ends.

Common questions

When should I assign the Azure Spring Apps Remote Debugging Role Azure role?

Assign Azure Spring Apps Remote Debugging Role when you need to: Attach IntelliJ IDEA or Visual Studio Code to a supported Java app instance to investigate a defect that cannot be resolved from logs or managed diagnostics.; and Perform a tightly controlled final debugging session needed to stabilize an existing workload during migration from Azure Spring Apps.. Practical scope: Microsoft documents assignment on the existing Azure Spring Apps service instance. The assignment enables remote-debug connections to deployments in that instance; broader parent assignments are inherited by additional service instances and should be avoided.

What permissions does the Azure Spring Apps Remote Debugging Role Azure role grant?

The role definition grants 1 combined control-plane and data-plane actions. Representative operations include: Microsoft.AppPlatform/Spring/apps/deployments/remotedebugging/action. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Azure Spring Apps Remote Debugging Role Azure role?

Key considerations when assigning Azure Spring Apps Remote Debugging Role: Microsoft explicitly warns that Java remote debugging is dangerous because it permits remote code execution in the application process.; A debugger can inspect memory, variables, execution flow, and secrets available to the process and can alter runtime behavior.; and Leaving either remote debugging or the RBAC assignment enabled after the session extends unnecessary code-execution exposure.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (7)

Official Microsoft Learn documentation →