---
title: >-
  Publicly accessible Azure App Service app has an assigned managed identity
  with administrator-equivalent RBAC rights
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > Publicly accessible Azure App Service
  app has an assigned managed identity with administrator-equivalent RBAC rights
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Publicly accessible Azure App Service app has an assigned managed identity with administrator-equivalent RBAC rights

## Description{% #description %}

A publicly accessible Azure App Service app has an assigned managed identity with administrator-equivalent Azure RBAC rights at the tenant root, a management group, or a subscription. If the app is compromised, an attacker could use the managed identity to control resources and security settings within that scope.

## Remediation{% #remediation %}

1. Restrict public network access to the app by configuring access restrictions or a private endpoint. See [Azure App Service access restrictions](https://learn.microsoft.com/en-us/azure/app-service/overview-access-restrictions).
1. Remove administrator-equivalent role assignments from the managed identity and grant only the permissions required by the workload. See [Remove Azure role assignments](https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-remove).
