9.5 Ensure that Register with Azure Active Directory is enabled on App Service

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Managed service identity in App Service makes the app more secure by eliminating secrets from the app, such as credentials in the connection strings. When registering with Azure Active Directory in the app service, the app will connect to other Azure services securely without the need of username and passwords.

Rationale:

App Service provides a highly scalable, self-patching web hosting service in Azure. It also provides a managed identity for apps, which is a turn-key solution for securing access to Azure SQL Database and other Azure services.

Solution

From Azure Console

Login to Azure Portal using https://portal.azure.com

Go to App Services

Click on each App

Under Setting section, Click on Identity

Set Status to On

Using Azure Command Line Interface
To set Register with Azure Active Directory feature for an existing app, run the following command:

az webapp identity assign --resource-group <RESOURCE_GROUP_NAME> --name <APP_NAME>

See Also

https://workbench.cisecurity.org/files/3459