last sync: 2025-Jun-30 17:25:56 UTC

[Deprecated]: Managed identity should be used in your API App

Azure BuiltIn Policy definition

Source Azure Portal
Display name [Deprecated]: Managed identity should be used in your API App
Id c4d441f8-f9d9-4a9e-9cef-e82117cb3eef
Version 2.0.0-deprecated
Details on versioning
Versioning Versions supported for Versioning: 1
2.0.0 (2.0.0-deprecated)
Built-in Versioning [Preview]
Category App Service
Microsoft Learn
Description Use a managed identity for enhanced authentication security. We recommend all customers who are still using API Apps to implement the built-in policy called 'App Service apps should use managed identity', which is scoped to include API apps in addition to Web Apps.
Cloud environments AzureCloud = true
AzureUSGovernment = unknown
AzureChinaCloud = unknown
Available in AzUSGov Unknown, no evidence if Policy definition is/not available in AzureUSGovernment
Assessment(s) Assessments count: 1
Assessment Id: cc6d1865-7617-3cb2-cf7d-4cfc01ece1df
DisplayName: Managed identity should be used in API apps
Description: Using a managed identity in API apps on Azure significantly enhances authentication security.
Managed identities provide an identity for the Azure resource in Azure AD, which is used to obtain Azure AD tokens, eliminating the need for developers to manage credentials.
Without this, the management of credentials could become complex and potentially lead to security vulnerabilities.
Therefore, we recommend to use managed identities in API apps to ensure secure and efficient authentication.

Remediation description: To create a managed identity for your API app:
1. Go to the App Service for your API app 2. Scroll to the Settings group in the left navigation 3. Select Identity 4. Use System assigned or User assigned identity following the steps described in this doc: https://aka.ms/managed-identity
Categories: AppServices
Severity: Medium
preview: True
Mode Indexed
Type BuiltIn
Preview False
Deprecated True
Effect Default
AuditIfNotExists
Allowed
AuditIfNotExists, Disabled
RBAC role(s) none
Rule aliases THEN-ExistenceCondition (2)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Web/sites/config/managedServiceIdentityId Microsoft.Web sites/config properties.managedServiceIdentityId True False
Microsoft.Web/sites/config/xmanagedServiceIdentityId Microsoft.Web sites/config properties.xManagedServiceIdentityId True False
Rule resource types IF (1)
Compliance
The following 2 compliance controls are associated with this Policy definition '[Deprecated]: Managed identity should be used in your API App' (c4d441f8-f9d9-4a9e-9cef-e82117cb3eef)
Control Domain Control Name MetadataId Category Title Owner Requirements Description Info Policy#
K_ISMS_P_2018 2.10.1 K_ISMS_P_2018_2.10.1 K ISMS P 2018 2.10.1 2.10 Establish Procedures for Managing the Security of System Operations Shared n/a Establish and implement operating procedures for managing the security of system operations such as designating system administrators, updating policies, changing rulesets, monitoring events, managing policy implementations or exceptions. 455
K_ISMS_P_2018 2.10.2 K_ISMS_P_2018_2.10.2 K ISMS P 2018 2.10.2 2.10 Establish Protective Measures for Administrator Privileges and Security Configurations Shared n/a Establish and implement protective measures with regard to administrator privileges and security configurations to ensure that important information and personal information are not exposed as a result of unauthorized access by service type or misconfigurations. 431
Initiatives usage
Initiative DisplayName Initiative Id Initiative Category State Type polSet in AzUSGov
K ISMS P 2018 e0782c37-30da-4a78-9f92-50bfe7aa2553 Regulatory Compliance GA BuiltIn unknown
History
Date/Time (UTC ymd) (i) Change type Change detail
2022-07-01 16:32:34 change Version remains equal, new suffix: deprecated (2.0.0 > 2.0.0-deprecated)
2021-02-17 14:28:42 change Major (1.0.0 > 2.0.0)
2019-10-29 23:04:36 add c4d441f8-f9d9-4a9e-9cef-e82117cb3eef
JSON compare
compare mode: version left: version right:
JSON
api-version=2021-06-01
EPAC