# How to setup Microsoft Azure monitoring - [Microsoft Azure - An Overview](https://www.manageengine.com/products/applications_manager/help/microsoft-azure.html#azureoverview) - [Monitoring Microsoft Azure - What we do](https://www.manageengine.com/products/applications_manager/help/microsoft-azure.html#whatwedo) - [Microsoft Azure Monitoring - What's New](https://www.manageengine.com/products/applications_manager/help/microsoft-azure.html#features) - [Creating a new Azure Monitor](https://www.manageengine.com/products/applications_manager/help/microsoft-azure.html#newmonitor) - [Monitored Parameters](https://www.manageengine.com/products/applications_manager/help/microsoft-azure.html#parameters) - [FAQs and Troubleshooting](https://www.manageengine.com/products/applications_manager/help/microsoft-azure.html#faq) ## Microsoft Azure - An Overview Microsoft Azure, formerly known as Windows Azure, is Microsoft's public cloud computing platform. It provides a range of cloud services, including those for computing, analytics, storage, and networking. Users can pick and choose from these services to develop and scale new applications, or run existing applications, in the public cloud. ## Monitoring Microsoft Azure - What we do Applications Manager connects with Microsoft Azure through Azure APIs to determine the health status and other performance counters. Users can now monitor several Microsoft Azure services, all under a single window. With Applications Manager's [Microsoft Azure monitoring tool](https://www.manageengine.com/products/applications_manager/microsoft-azure-monitoring.html), you can: - Discover and monitor Azure services such as virtual machines, SQL DBs, Storage Accounts, Service Buses, Kubernetes services, SQL Managed Instances, Load Balancer, etc., that are associated with an Azure subscription. - Find the number of VMs that are provisioned and running. - View the status and configuration information of all the discovered resources. - Collect and monitor performance metrics (CPU, Memory, Disk, Network, Thread & Process count). - Collect and monitor Disk Utilization, Disk IO statistics, and Network interface details by enabling Guest OS configuration. In this help document, you will learn how to get started with [Azure monitoring](https://www.manageengine.com/products/applications_manager/azure-monitoring.html) along with the list of parameters that are monitored using Applications Manager. ## Microsoft Azure Monitoring - What's New For a comprehensive list of all the Microsoft Azure monitoring features supported by Applications Manager, refer to the official documentation [here](https://www.manageengine.com/products/applications_manager/help/whats-new-in-microsoft-azure.html). ## Creating a new Microsoft Azure Monitor **Prerequisites for monitoring Azure metrics:** [Click here](https://www.manageengine.com/products/applications_manager/help/prerequisites-for-applications-manager.html#AzureVMs) **Using the REST API to add a new Azure monitor:** [Click here](https://www.manageengine.com/products/applications_manager/help/restapi-cloud-apps.html#MicrosoftAzure) To create a new Microsoft Azure monitor, follow the steps given below: 1. Click on the **New Monitor** link in the Applications Manager web client. 2. Select **Microsoft Azure** under the **Cloud Apps** category. 3. Specify the **Display Name** of the Microsoft Azure monitor. 4. Enter the **Subscription ID** for your Microsoft Azure subscription. 5. Select the **Azure Services** you wish to discover and monitor from the drop-down menu. [View services supported in Azure monitor](https://www.manageengine.com/products/applications_manager/help/microsoft-azure.html#supportedServices). 6. Choose the **Account Type**. The default account type when adding a new Azure monitor is **Azure Global**. Choose **Azure Gov Cloud** to monitor services in the [Azure Gov Cloud regions](https://azure.microsoft.com/en-in/global-infrastructure/government/index.html) and **Azure China** to monitor services in the [Azure China region](https://learn.microsoft.com/en-us/azure/china/overview-operations). 7. Choose the **Discovery mode**. The following are the three discovery modes available: - **Discovery using AD Application & Service Principal (Recommended):** Provide the Directory (Tenant) ID, Application (Client) ID, and Client Secret Value (Application Key) that were obtained in the prerequisite step on the **New monitor** page. Refer to the [Prerequisites section](https://www.manageengine.com/products/applications_manager/help/prerequisites-for-applications-manager.html#mode1). - **Discovery using OAuth:** Use the OAuth Provider that was obtained in the prerequisite step on the **New monitor** page. Refer to the [Prerequisites section](https://www.manageengine.com/products/applications_manager/help/prerequisites-for-applications-manager.html#mode2). - **Discovery using Azure Organizational Account (PowerShell):** Provide the User email and Password fields in the **New monitor** page with the Username & Password of the created Organizational account. Refer to the [Prerequisites section](https://www.manageengine.com/products/applications_manager/help/prerequisites-for-applications-manager.html#mode3). 8. Select the **Child Monitor Discovery** mode from any of the following options: - **Discover and unmanage:** Discovers and unmanages all the child monitors. - **Discover and monitor:** Discovers and monitors all the child monitors. - **Discover and monitor based on regex:** Specify the **Discovery Filter Regex** in the form of comma-separated values using which the resources will be discovered and monitored. [Learn more](https://www.manageengine.com/products/applications_manager/help/discovery-filters.html). 9. Specify the **Discovery Interval** in minutes for the automatic discovery and monitoring of child monitors. **Note:** The options related to child monitor discovery are based on the Discovery Interval. 10. If you choose to enable the **Advanced Settings** option: - Enable **Retry data collection API** if you wish to automatically retry failed API requests during data collection. - Enable **Alert on Resources Creation and Deletion** to receive notifications whenever a resource is created or deleted in the Azure Portal. - **Set health severity as:** Configure the health severity level (Critical or Warning). - **Raise alerts when Resources are:** Choose whether alerts should be raised when a resource is created, deleted, or both. - Select the action to perform on deleted resources under **Action on Deleted Resources**: - **Continue Alerting** - **Stop Alerting** - **Unmanage Resource** - **Delete Resource** - Select a service under **Services to Stop Discovery** (available only in the Edit Monitor page). 11. Specify the **polling interval** in minutes and timeout in seconds. 12. Choose the **Monitor Group** (optional). You can associate multiple groups. 13. Click **Add Monitor(s)**. **Note:** - Azure resources deployed using the **Azure Resource Manager (ARM)** model are supported. Classic model resources are not supported. - Ensure a working internet connection to fetch cloud data. - If required, configure proxy settings under [Settings](https://www.manageengine.com/products/applications_manager/help/configure-proxy.html). - Configure health severity and alerts under the [Performance Polling](https://www.manageengine.com/products/applications_manager/help/performance-polling.html#Cloud) section. - Applications Manager is migrating Azure authentication from ADAL to MSAL from Version 16320. Refer [here](https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/azure-ad-change-management-simplified/ba-p/2967456). ## Monitored Parameters Go to the **Monitors** tab → **Microsoft Azure** under **Cloud Apps**. Tabs available: - **Availability:** Availability history for the past 24 hours or 30 days. - **Performance:** Health status and events. - **List view:** Perform [bulk admin configurations](https://www.manageengine.com/products/applications_manager/help/bulk-config.html). Detailed monitored services and parameters are categorized under: - Supported Services - Monitor Information - Overview - Analytics - Compute - Containers - Database - Integration - Network - Security - Storage - Billing - Management > The full tables of supported services, monitor information, and detailed parameter tables for each Azure service (Analytics, Compute, Containers, Database, Integration, Network, Security, Storage, Billing, and Management) are available in the complete documentation: > > https://www.manageengine.com/products/applications_manager/help/microsoft-azure.html ## FAQs and Troubleshooting ### Error Messages and how to troubleshoot them: **1. Error:** "Authentication Failed. Access is denied for the provided Azure Organizational Account Credentials" Refer to: https://pitstop.manageengine.com/portal/kb/articles/microsoft-azure-troubleshooting **2. Error:** "Azure Services discovery failed for subscription . Invalid Application key" Refer to: - [Azure Organizational Account mode](https://pitstop.manageengine.com/portal/kb/articles/microsoft-azure-troubleshooting-on-invalid-application-key-error) - [AD Application & Service Principal mode](https://pitstop.manageengine.com/portal/kb/articles/microsoft-azure-troubleshooting-invalid-application-key-error-in-mode-2) **3. Error:** Azure SQL firewall-related access error. Refer to: https://pitstop.manageengine.com/portal/kb/articles/azure-sql-database-troubleshooting-add-client-ip-to-azure-firewall **4. Error:** TCP/IP connection failure on port 1433. Refer to: https://pitstop.manageengine.com/portal/kb/articles/azure-sql-database-tcp-ip-connection-to-the-host-azure-sql-server-on-port-1433-has-failed For more troubleshooting steps, refer to the full FAQ section: https://pitstop.manageengine.com/portal/en/kb/applications-manager/faq/cloud-apps-1/microsoft-azure