Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 2.14 KB

sys-dm-server-external-policy-principals-transact-sql.md

File metadata and controls

46 lines (36 loc) · 2.14 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
sys.dm_server_external_policy_principals (Transact-SQL)
Reference documentation to explain sys.dm_server_external_policy_principals (Transact-SQL) dynamic management view.
srdan-bozovic-msft
srbozovi
11/07/2022
sql
system-objects
reference
dm_server_external_policy_principals_TSQL
sys.dm_server_external_policy_principals
dm_server_external_policy_principals
sys.dm_server_external_policy_principals_TSQL
sys.dm_server_external_policy_principals dynamic management view
TSQL

sys.dm_server_external_policy_principals (Transact-SQL)

[!INCLUDE sqlserver2022]

Lists all database and server principals created from Microsoft Entra ID (formerly Azure Active Directory) which are given connect permissions through external policies.

Column name Data type Description
sid varbinary(85) SID (Security-IDentifier) of the principal.
aad_object_id nvarchar(72) Microsoft Entra Object ID of the principal. Is unique within an Azure tenant.
type nvarchar(4) Principal type: Z=External policy.
type_desc nvarchar(60) Description of the principal type: RBAC_ASSIGNED_USER.
authentication_type int Authentication type: 5.
authentication_type_desc nvarchar(60) Description of the authentication type: 5=AZURE_IAM_RBAC.

Permissions

Principals must have the VIEW SERVER SECURITY STATE permission.

See also

sys.dm_server_external_policy_principal_assigned_actions (Transact-SQL)