SQL Flow Field Guide

ALTER APPLICATION ROLE

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

changes a application role

What changes

Input
catalog
Output or change
security catalog: application role

Syntax at a glance

ALTER APPLICATION ROLE application_role_name WITH <set_item> [ , ...n ]

Work example

An application role needs a new default schema or password rotation.

Check the application's activation path and secret rotation plan before changing the role.

Check your work The application still activates the role and can access only its approved schema.

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