SQL Flow Field Guide

DROP APPLICATION ROLE

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

removes a application role

What changes

Input
catalog
Output or change
security catalog: application role

Syntax at a glance

DROP APPLICATION ROLE rolename

Work example

An application role is being retired after its callers have migrated.

Identify application deployments, permissions, sessions, and secret references tied to the role.

Check your work The application no longer activates the role and no required permission depends on it.

Open Microsoft Learn for full syntax, permissions, and details for your version.