What is Azure AD (Active Directory)?
If you've reached this page but need a quick reminder of what Azure Active Directory is and why it's different from an Active Directory you may have installed locally, you may want to read this brief description first -Co to jest Azure Active Directory.
Why should you monitor Azure Active Directory?
I won't go into too much detail as to why you should monitor Azure Active Directory, but here are the top three reasons why we think everyone should monitor this service:
- Security - Proactive monitoring of login logs enables quick detection of malicious attacks such as brute-force attacks. Spikes or unusual patterns in the logs may indicate that your Azure AD is under attack. Proactively controlling users and permissions to remove unnecessary access or dormant user accounts will minimize your organization's attack surface.
- Compliance - The auditing features built into eG Enterprise are designed to ensure traceability processes are enforced. An audit report will help you demonstrate compliance with regulatory standards required by many industry sectors. Not only do you need to know who is accessing your cloud resources and from where, but you may need to prove that you collect this information and store it within the (often short) default retention timeframe for external Azure logins.
- End-user experience - Proactively monitoring components such as Azure AD and Azure Connect (which connects Active Directory to Azure AD) can prevent users from having sign-in issues by detecting sync issues. Monitoring the expiration dates of certificates and sensitive information can ensure that users do not encounter resource expiration issues.
Which Azure Active Directory monitoring tool to use?
Unlike Active Directory, the younger Azure Active Directory is currently not supported by various monitoring tools. You have two options:
- Monitor Azure– Azure Monitor is a service that provides a single dashboard to monitor all Azure resources. It allows you to collect data from multiple sources, including Azure Resource Manager, Azure services, and on-premises resources, and visualize that data in a unified way. Azure Monitor also provides built-in alerts and actions to take automatic corrective action when issues are detected.
- Third-party monitoring tools such as eG Enterprise, a comprehensive monitoring platform that monitors every layer of applications running in the cloud and on-premises infrastructure. Detects, diagnoses and fixes application performance issues before end users are affected.
Both options have advantages and disadvantages, which we will discuss in the next section.
Monitor Azure Active Directory with Azure Monitor
Azure Monitor is a native Azure monitoring solution, just likecloud watchis a local monitoring solution for AWS (Amazon Web Services). Do-it-yourself installation and configuration is quick and easy, but it can become increasingly complex and costly.
Microsoft provides extensive documentation on getting started.
Advantages of Azure Monitor Azure Active Directory monitoring
- Native tools available with your Azure subscription.
- A simple GUI suitable for beginners trying out Azure on a small scale.
- Exhaustivedocumentand a lotSocial self-helpAvailable, such as "Getting Started" blogs and "How To" videos.
Disadvantages of Azure monitoring
- All thresholds, metrics, and alerts must be manually configured or require significant investment in custom scripts and automation tools.
- It only provides visibility and visibility to the Azure tier, so if an issue occurs outside of Azure, you'll need additional monitoring tools. Azure AD is commonly used with on-premises or legacy Active Directory systems via Azure AD Connect. This introduces a layer of complexity as your IT team will have to manually toggle and correlate what Azure Monitor says with what your third-party monitoring tool says.
- Who are youAlert fee for monitored metricsThis means your monthly bill may go up or your finance team may ask you to lower your monitoring costs, so you face less visibility because you can't afford to monitor all the metrics you need. Azure Monitor relies on Azure Log Analytics, so storage charges are associated.
Monitor Azure Active Directory with third-party monitoring tools
At the time of writing, there are very few third-party monitoring tools available for Azure Active Directory.
Benefits of third-party monitoring tools for Azure Active Directory
- End-to-end monitoring provides visibility across your entire IT infrastructure to quickly diagnose and pinpoint the root cause of performance issues.
- Predictable costs. (we coverHow to estimate Azure Monitor costsin the previous article).
- Often more cost effective, especially if you want to retain data beyond the default Azure period of 7/30 days.
- Pre-built dashboards, reporting and support tools. The tool with an easy-to-use graphical user interface eliminates the need for scripts, trawl logs and KQL (Kusto Query Language) queries andAvailable to L1/L2 service personnelNo knowledge of a specific AVD (Azure Virtual Desktop) domain.
- Comprehensive monitoring options availableFor bot users, active testing and base login workflows can be used.
Disadvantages of third-party monitoring tools
- YAMT (One More Monitoring Tool) - Unless one tool replaces another or adds significant value, it adds budget and overhead for management, lifecycle, patching, and auditing additional tools.
- Integration of many third-party tools, especially open source tools, requires a lot of work and skills, such as custom scripts or configurations.
- Many third-party tools, especially open-source and free tools, do not have any support contracts or commitments compared to commercial solutions supported by Microsoft or enterprise vendors. If something goes wrong, it is likely that no one will receive a support ticket or may not be obligated to help or resolve the issue. OSS (Open Source Software) and free software challenges are discussed at the endThis article.
5 things you need to monitor in Azure Active Directory
In fact, there are literally hundreds of metrics, events, and log entries that you can monitor against Azure Active Directory. The more that can be traced, the faster the diagnosis of the root cause will be. However, if you have a limited budget to use Azure Monitor, it makes sense to prioritize tracked metrics. Actually,AIOps domain analysisTechnologies such as eG Enterprise (Artificial Intelligence for IT Operations) modify sampling criteria and prioritize certain metrics to reduce costs and avoid excessive noise caused by machine learning algorithms.
Here are five areas where we believe tracking should be prioritized. eG Enterprise does it all for you right out of the box, no manual setup required and all thresholds are preset (static and dynamic), so you don't have to spend time configuring everything.
1. Track and monitor users in Azure Active Directory
Identity management is a big challenge in cloud environments, especially when users can log in from anywhere. In addition, users can often sign in and access cloud-hosted resources using different types of devices. Without a central source of authentication and authorization, it's hard to manage who can log in to what and what they can do with cloud resources. In addition, there may be thousands of identical identities from different organizations trying to leverage cloud resources. Microsoft solves all of the above challenges with Azure Active Directory (Azure AD).
User accounts in Azure AD can grow rapidly depending on business/organizational requirements. Because Azure AD is in the cloud, tenants are vulnerable to ransomware, password scramble, brute force, and more. Examples of recent Azure AD attacks and known security issues include:
- How Azure AD is vulnerable to brute force and DOS attacks
- No fix for new Azure Active Directory password brute force vulnerability
Ideally, the Azure admin needs to know (better yet,active monitoring) of the following in Azure AD:
- How many users are created in Azure AD?
- How many users are synced from on-premises Active Directory, where are they synced, and when was the last sync?
- How many users use weak passwords?
- How many users have their passwords in the non-expiring state?
- Are there unlicensed users in my Azure tenant?
- Are there any disabled accounts in the Azure tenant?
- Are there user accounts that don't belong to any Azure AD groups?
- Are there any stale user accounts in my Azure tenant?
- Are there any malicious login attempts?
- Have you had any risky logins recently?
- Will any application registration on a client secret or SSL (Secure Sockets Layer) certificate expire?
- What are the roles and permissions for app registration?
- Has the tenant recently experienced a violent attack?
Figure 2: User data actively recorded and monitored by eG Enterprise. When a problem occurs, the green tick is automatically replaced with an alert and a detailed diagnostic icon (magnifying glass) appears to provide a deeper look into the details of the problematic user account.
For a detailed guide to tracking and monitoring Azure Active Directory users, see:Monitor and manage Azure Active Directory users.
2. Monitor Azure Active Directory audit logs for compliance and security
As an Azure cloud administrator, you need to know who accesses your cloud resources, how they access them, what they access, what changes when they access them, where they access them from, and more.
Azure AD (Azure Active Directory) provides the answer to the above question by storing information in two logs. The information stored in it is very valuable for troubleshooting, monitoring and general security work, the logs are:
- Azure AD audit logs
- Azure AD login logs
The "Azure" audit log gives you access to the history of every task performed in your tenant. For example, information about changes applied to the tenant, such as user and group management, updates applied to tenant resources, and so on.
Figure 3: The information available to eG Enterprise includes details of failed actions.
For more detailed guidance on monitoring Azure Active Directory audit logs for compliance and security, see:How to ensure compliance and security by monitoring Azure AD audit logs.
3. Login logs actively detect attacks
Azure login logs help identify who performed the tasks reported by Azure audit logs. Azure AD login logs are an essential tool for troubleshooting and investigating security incidents in your tenant. In addition, proactive and continuous monitoring of logins can prevent breaches, alert administrators to malicious attacks and unusual usage patterns, and reduce security vulnerabilities by ensuring systems are configured to only allow access to users and services that require access - the latest certification mechanism best practices etc.
Figure 4: eG Enterprise provides out-of-the-box dashboards that provide a user-friendly overview of Azure AD-related login log data
Figure 5: Sharp and sudden spikes in login failures often indicate service failures that typically affect users in a specific location. Daily work patterns, such as logging in at 9 am or returning from the lunch rush at 1 pm, become crystal clear. Unusual behavior, such as a user logging in at 3am from an unusual location, should trigger a red flag.
To learn more about Azure Compliance Monitoring and detecting attacks by monitoring log logs, refer to this article:How to monitor Azure AD login logs and proactively detect attacks.
4. Monitor application registrations and track customer secrets and certificate expiration
Azure Active Directory (Azure AD) is a cloud-based identity and access management (IAM) service and identity provider (IdP) from Microsoft. Azure AD is the foundation of authentication for Microsoft 365 and thousands of cloud-based SaaS (Software as a Service) applications.
One of the features provided by your organization's Azure AD is the Microsoft Identity Platform. This feature helps developers build apps where users and customers can sign in to apps with their Microsoft identities or social accounts and access the App API (Application Programming Interface) or Microsoft APIs such as "Microsoft Graph Authorize access .
You must register your application with Azure AD to prove your identity and programmatically access resources in Azure and Office 365. Infrastructure as Code (IaC) and DevOps pipelines require your application to be registered with Azure AD for automation.
Read our full guide on monitoring Azure Active Directory client secrets and certificate expiration -Azure AD application client secret and certificate expiration monitoring and alerts.
5. Monitor Azure AD Connect (if using)
Azure AD Connect is a Microsoft tool designed as a bridge solution between on-premises Active Directory and Azure AD. Allows IT admins to federate on-premises user identities with Azure so users can use the same credentials to access on-premises apps and cloud services such as Microsoft 365.
It's included for free with your Azure subscription. It provides a variety of features including synchronization, federated integration, and health monitoring. By default, sync is one-way: from on-premises AD to Azure AD. However, you can configure writeback to synchronize changes from Azure AD back to on-premises AD. This way, for example, if a user changes their password using Azure AD self-service password management, the password will be updated in on-premises AD.
Synchronization errors and failures can cause problems with access to resources and applications. eG Enterprise includes component monitoring for Azure AD Connect and on-premisesactive directory.
Figure 6: eG Enterprise captures, reports, and alerts about the aforementioned metrics and data from Azure AD Connect.
For more information on monitoring the Azure AD Connector, see "What is the Azure AD Connector" in the article,Co to jest Azure Active Directory.
This is just a quick guide to monitoring Azure Active Directory. The next step is to follow this guide orGet started with Azure Monitor,or request30 day trial periodeG Enterprises.
With eG Enterprise, you can get started in minutes with built-in metrics and thresholds!
Related information
- In-depth coverage of everything you need to know about Azure AD and the interdependent components of Azure deployment -Co to jest Azure Active Directory
- Microsoft Documentation -Co to jest Azure Active Directory? – Azure Active Directory | Dokumentacja Microsoft
- Use Azure AD with Citrix technology; currently in preview is support based on Azure Active Directory groups, read more:Citrix Innovations to Support Hybrid Cloud Migration Citrix Blog
- CloudSimple's Azure VMware Solution - Using Azure AD as a Private Cloud Identity Source | Microsoft documentation
- Reducing deployment size by identifying and rationalizing unused resources and interfaces can improve security - often with the added benefit of Azure cost savings, see:Save on Azure costs by finding unused, wasted and orphaned resources (eginnovations.com)IWhat is Azure Advisor? |eG Innovation
FAQs
How do I monitor Azure Active Directory? ›
To configure monitoring settings for Azure AD activity logs, first sign-in to the Azure portal, then select Azure Active Directory. From here, you can access the diagnostic settings configuration page in two ways: Select Diagnostic settings from the Monitoring section.
How do I monitor AVD usage? ›You can get the AVD Utilization Dashboard using Azure Monitor Insights. You will need to have appropriate access (Read-Only) to Azure Subscription, Resource Group, and Host Pool to show insights into the AVD environment. Navigate to Azure Portal – Azure Virtual Desktop.
How do I create a monitoring in Azure? ›- In the Azure portal, click All services. In the list of resources, type Monitor. As you begin typing, the list filters based on your input. Select Monitor.
- On the Monitor navigation menu, select Log Analytics and then select a workspace.
Navigate to the Log Analytics workspace
Sign in to the Azure portal. Select Azure Active Directory, and then select Logs from the Monitoring section to open your Log Analytics workspace.
DCDiag is a powerful command line tool used to diagnose problems with domain controllers in a Microsoft Windows Active Directory environment. We use it to check the health of domain controllers, identify errors or inconsistencies, and troubleshoot replication issues.
How do I Monitor changes in Active Directory? ›To track user account changes in Active Directory, open “Windows Event Viewer”, and go to “Windows Logs” ➔ “Security”. Use the “Filter Current Log” option in the right pane to find the relevant events.
How do I check my telemetry data in Azure? ›Under Monitoring, select Logs (Analytics), then copy the following telemetry query and paste it into the query window and select Run. This query returns the total memory usage at each sampled time.
How do I monitor Azure virtual machines? ›To begin exploring Azure Monitor, go to the Overview page for your virtual machine, and then select the Monitoring tab. You can see the number of active alerts on the tab.
Can virtual machines be monitored? ›VM monitoring software allows you to track and manage the performance of your virtual servers and desktops from one application or interface.
What is the monitoring tool in Azure? ›Microsoft combined three unique services—Azure Monitor, Log Analytics, and Application Insights—under the umbrella of Azure Monitor to provide powerful end-to-end monitoring of your applications and the components they rely on. Log Analytics and Application Insights are now features of Azure Monitor.
How does Azure Monitor work? ›
Azure Monitor achieves observability by correlating data from multiple pillars and aggregating data across the entire set of monitored resources. Azure Monitor provides a common set of tools to correlate and analyze the data from multiple Azure subscriptions and tenants, in addition to data hosted for other services.
What is monitoring in Azure? ›Azure Monitor.
Collects and analyzes performance metrics as well as diagnostic and activity logs from cloud environments to determine application availability and performance. Azure Monitor can also provide insight into the operation of applications, containers and VMs running in the cloud.
Sign in to the Azure portal and go to Azure AD and select Audit log from the Monitoring section. The audit activity report is available in all editions of Azure AD. If you have an Azure Active Directory P1 or P2 license, you can access the audit log through the Microsoft Graph API.
Does Azure have monitoring? ›Microsoft combined three unique services—Azure Monitor, Log Analytics, and Application Insights—under the umbrella of Azure Monitor to provide powerful end-to-end monitoring of your applications and the components they rely on. Log Analytics and Application Insights are now features of Azure Monitor.
How do I Monitor alerts in Azure? ›- On the Select a resource pane, set the scope for your alert rule. You can filter by subscription, resource type, or resource location. Note. ...
- Select Apply.
- Select Next: Condition at the bottom of the page.
- Cygna Auditor. Auditor is an interface that helps explain device access rights and user permissions that are part of an active directory. ...
- Bulk Password Control. ...
- IT Environment Health Scanner. ...
- AD360. ...
- ADmanager Plus. ...
- ADAudit Plus. ...
- ADSelfService Plus. ...
- ManageEngine Free Active Directory Tools.
PRTG Active Directory Monitor is a monitoring tool used to track and analyze the performance and health of Active Directory (AD) environments. This tool helps in detecting any issues in your AD environment, including authentication, account, and group management-related problems.
How to manage Active Directory users and computer remotely? ›Remote Active Directory Management
Active Directory can be managed remotely using Microsoft's Remote Server Administration Tools (RSAT). With RSAT, IT administrators can remotely manage roles and features in Windows Server from any up-to-date PC running Professional or Enterprise editions of Windows.
- Make sure that domain controllers are in sync and that replication is ongoing. ...
- Make sure that all the dependency services are running properly. ...
- Use the Domain Controller Diagnostic tool (DCDiag) to check various aspects of a domain controller. ...
- Detect unsecure LDAP binds.
How can I tell if Active Directory is functioning properly? Run dcdiag to check on the status of Active Directory. This tool provides 30 tests on domain controllers. You have to run it in a Command Prompt window that has been run as Administrator.
What is the difference between application Insights and Azure Monitor? ›
Application Insights is an extension of Azure Monitor and provides application performance monitoring (APM) features. APM tools are useful to monitor applications from development, through test, and into production in the following ways: Proactively understand how an application is performing.
What is the difference between Azure Monitor and Log Analytics? ›Azure Monitor builds on top of Azure Log Analytics, the platform service that gathers log and metrics data from all your resources. The easiest way to think about Azure Monitor vs Log Analytics is that Azure Monitor is the marketing name, whereas Azure Log Analytics is the technology that powers it.
What are the different types of telemetry in Azure? ›Application Insights supports two types of metric telemetry: single measurement and preaggregated metric.
How do I Monitor API performance in Azure? ›In the Azure portal, navigate to your API Management instance. On the Overview page, on the Monitor tab, review key metrics for your APIs. To investigate metrics in detail, select Metrics from the left menu. From the drop-down, select metrics you're interested in.
What is log analytics in Azure? ›Log Analytics is a tool in the Azure portal that's used to edit and run log queries against data in the Azure Monitor Logs store. You might write a simple query that returns a set of records and then use features of Log Analytics to sort, filter, and analyze them.
What is an example of a virtual machine monitor? ›The VMM kernel runs alongside the host OS, and calls for I/O are redirected to virtual drivers that call the native API of the host OS. Examples of OS-hosted VMMs are VMware Workstation, VMware Server, Parallels Workstation and Parallels Desktop for Mac.
How do I monitor uptime on Azure VM? ›Go to the menu for your virtual machine. Either click Go to Insights from the tile in the Overview page, or click on Insights from the Monitoring menu. If Azure Monitor for VMs has not yet been enabled for the virtual machine, click Enable.
Why is IT important to have metrics for your Azure VMs? ›VM availability metric (preview)
This metric value indicates whether a machine is currently running and available. You can use the metric to trend availability over time and to alert if the machine is stopped.
- Serverless360 (Best Overall)
- Site24x7.
- ManageEngine M365 Manager Plus.
- Application Insights.
- Azure Monitor.
- Service Bus Explorer.
- Cerebrata.
- CloudMonix.
Azure Advisor provides personalized recommendations to optimize Azure resources for performance, security, reliability, and cost-effectiveness. On the other hand, Azur Monitor provides a platform for collecting, analyzing, and acting on telemetry data generated by Azure resources and applications.
How many types of data does Azure Monitor collect? ›
Azure Monitor collects data from various sources. These sources include logs and metrics from the Azure platform and resources, custom applications, and agents running on virtual machines.
What is the role of monitoring reader in Azure AD? ›Monitoring Reader
This role is appropriate for users in an organization, such as support or operations engineers, who need to: View monitoring dashboards in the Azure portal. View alert rules defined in Azure alerts. Query for metrics by using the Azure Monitor REST API, PowerShell cmdlets, or cross-platform CLI.
Log Analytics and Application Insights are the two features or services can be integrated with azure monitor.
What are the two features that Azure AD provides? ›Azure Active Directory (Azure AD), part of Microsoft Entra, is an enterprise identity service that provides single sign-on, multifactor authentication, and conditional access to guard against 99.9 percent of cybersecurity attacks.
How do I check my Azure compliance? ›- Sign in to the Azure portal.
- Navigate to Defender for Cloud > Regulatory compliance.
- Select Compliance offerings.
- Enter a service in the search bar to view its compliance offering.
Visit https://developer.microsoft.com/en-us/graph/graph-explorer site and login with the global admin account. In the top, select the query operator as GET and API version as beta from the dropdown as shown. Note: You can also verify the custom attributes in Azure AD by selecting the API version as beta.
How do I check permissions in Azure AD? ›- Log in to your Azure Account through the Azure portal.
- Select Azure Active Directory.
- In Azure Active Directory, select User settings.
- Check the App registrations setting. ...
- Select Overview and Find a user from Quick tasks.
- Search for your account, and select it when you find it.
Retrieve metric definitions, dimension values, and metric values using the Azure Monitor API and use the data in your applications, or store in a database for analysis. You can also list alert rules and view activity logs using the Azure Monitor API.
How do I configure monitoring in Azure? ›From the Monitor menu in the Azure portal, select Virtual Machines > Overview > Monitored. Select Configure using Azure Monitor agent next to any machine that you want to enable. If a machine is currently running, you must start it to enable it.
How do I Monitor user activity in Azure? ›Access the activity logs in the portal
Go to Azure AD and select Audit logs, Sign-in logs, or Provisioning logs. Adjust the filter according to your needs. For more information on the filter options for audit logs, see Azure AD audit log categories and activities.
How do I get data from Azure Active Directory? ›
- Sign in to the Azure portal in the User Administrator role for the organization.
- Search for and select Azure Active Directory from any page.
- Select Users, and then select New user.
- On the User page, enter information for this user:
- Open “Active Directory Users and Computers”.
- Go to any Organizational Units whose permissions want to see.
- Right-click to open the “Properties” window, and select the “Security” tab.
- Click “Advanced” to see all the permissions in detail.
Azure Monitor achieves observability by correlating data from multiple pillars and aggregating data across the entire set of monitored resources. Azure Monitor provides a common set of tools to correlate and analyze the data from multiple Azure subscriptions and tenants, in addition to data hosted for other services.
What is the difference between Active Directory and Azure AD? ›Azure AD provides managed identities to run other workloads in the cloud. The lifecycle of these identities is managed by Azure AD and is tied to the resource provider and it can't be used for other purposes to gain backdoor access. Active Directory doesn't natively support mobile devices without third-party solutions.
What are the different types of Azure AD? ›Azure Active Directory comes in four editions—Free, Office 365 apps, Premium P1, and Premium P2. The Free edition is included with a subscription of a commercial online service, e.g. Azure, Dynamics 365, Intune and Power Platform.
How do I check Azure Active Directory permissions? ›- Log in to your Azure Account through the Azure portal.
- Select Azure Active Directory.
- In Azure Active Directory, select User settings.
- Check the App registrations setting. ...
- Select Overview and Find a user from Quick tasks.
- Search for your account, and select it when you find it.
- Login to ADAudit Plus.
- Select the required Domain from the dropdown list.
- Go to the Reports tab.
- Navigate to Account Management.
- Select Administrative User Actions.
- The following are some of the details you can get in this report:
Open the Control Panel from the Start menu (or press Win-X). Go to Programs > Programs and Features > Turn Windows features on or off. Go to Remote Server Administration Tools > Role Administration Tools > AD DS and AD LDS Tools. Check the AD DS Tools box and click OK.