# Microsoft 365 and Azure

In today's digital landscape, the utilization of **cloud** solutions has become increasingly prevalent, with organizations frequently opting for either **Software-as-a-Service (SaaS)** offerings to facilitate collaborative activities or Cloud computing solutions. These cloud-based options offer unparalleled convenience and seamless integration for both end users and IT teams, effectively alleviating the burden of infrastructure management.

However, it is crucial to recognize that even though **Microsoft 365** and **Azure** ease the burden of managing underlying infrastructure, they demand careful consideration in terms of exposure, attack surface, and potential malicious activities. To address these concerns, Microsoft provides a plethora of settings and tools designed to assist companies in achieving compliance and attaining an optimal level of security. As a professional working in this field, it is essential to comprehend the capabilities offered by these platforms and learn how to effectively leverage them.

Before delving deeper into the security aspects of the Microsoft cloud environment, it is imperative to address a commonly asked question that arises during my work: **What sets Microsoft 365, Azure, and Entra ID (formerly Azure AD) apart from one another?** Understanding the distinctions between these platforms will serve as a solid foundation for exploring the security considerations inherent to the **Microsoft cloud ecosystem**.

## Azure

Microsoft Azure is the cloud computing service provided by **Microsoft**.  
It allows organization to access, store and manage a multiple range of data on Microsoft services to suit needs :

==- Compute service
- Virtual Machines (**IaaS**) 
- **App Services** and other **PaaS**
- **Containers** and **Kubernetes**
==- Identities and Access Management
- **Microsoft Entra ID** (formerly Azure Active Directory), but more on that later
- **External Identities**
- B2C, replaced by **Entra External ID**: it is not sold to new customers anymore since May 2025[^1]
- Microsoft Entra Domain Services (formerly **AADDS**)
- **Entra ID Protection** (formerly Azure AD Identity Protection)
- **Entra Privileged Identity Management** (PIM)
==- Networking
- Firewall, WAF & Load Balancers
- DNS
- CDN
==- Data Management, storage and Messaging
- Several DB services and **Azure datalake**
- Blob, Table and queue services for example
==- Devops & Management
- **Automation** & **functions**
- **Application Insight**
- **Azure Devops**
==- AI services 
- **Azure OpenAI** and the other AI services to build your own applications and agents
===

!!! About cloud computing
This list is not exhaustive but offers a better understanding of what is Azure Cloud computing.
!!!

Azure also provide specific security services such as **Microsoft Defender For Cloud** or Identities related services, onpremises integration to monitor and manage infrastructures and Active Directory.

To access Azure cloud computing ressources, you need to have a **subscription**. A **subscription** is a logical container to host create ressources and process the associated billing. These subscriptions have at least one trust relationship with an **Entra ID** (formerly Azure Active directory) instance. This allows to **authenticate**, **authorize security principals** and **devices access**.

## Microsoft 365

**Microsoft 365** is a cloud based (SaaS) platform that regroups productivity, collaboration and communication tools available to user anywhere, anytime. It also offers multiple way to manage devices, compliance and security and support the administrators and decision makers to reach their objectives.

==- Applications
- **Office** applications
- Collaboration and employee experience platform (**Microsoft Viva**, **Viva Engage** formerly Yammer, and more)
- **Microsoft 365 Copilot**, the AI assistant integrated in the apps
- **Onedrive** and **Sharepoint**
==- Security & compliance
- Native **Email and collaboration security**
- Data **protection** and **governance**
- **Unified detection, investigation and response** accross identities, email, devices and applications
==- Device
- MDM (Mobile Device Management) with **Intune**
==- Communications
- Microsoft **Teams**
===

As a special note regarding the security capabilities of Microsoft 365 with the **Microsoft Defender** portal (**Defender XDR**, formerly Microsoft 365 Defender). It offers a wide range of capabilities and observability along the kill chain from email to post compromise action on a device or Active Directory activities.  
Microsoft Sentinel can now be onboarded in the same portal, so the SIEM and the XDR share the same incidents and the same hunting (KQL).

## Entra ID (formerly Azure AD)

Part of Microsoft **Entra**, the identity and multicloud access platform, **Entra ID** (formerly Azure AD) is the focus point for **authentication** and **authorization** accross Microsoft platforms like **Azure** and **Microsoft 365**.
As said for Azure, subscription access is linked to a trusted Entra ID instance and for **Microsoft 365**, Entra ID enables the **creation of users and manage the access** to all ressources accross the platform.  
  
This cloud based service empowers users to access cloud ressources, Microsoft or third party SaaS applications. It is also a service that grant IT administrator fine grained control regarding access, audit and protect identities and credentials while meeting with global business requirements. Entra ID integrate modern authentication workflows such as **OpenID Connect** (**OIDC**), including **Oauth2.0**, or **SAML** (Security Assertion Markup Language) to access underlying data accross the Microsoft ecosystem.  
The Entra family also grew around it: **ID Governance**, **External ID**, **Global Secure Access** (Internet Access and Private Access) and, more recently, **Agent ID** for the identities of AI agents.

## Security platforms

These cloud services offer a wide range of capabilities but can they can be not used or put aside due to lack of knowledge or misunderstanding within IT Teams and decision makers.
Regarding the specifics of cybersecurity, you'll find below a mind map to help you understand the main cybersecurity tools across Microsoft Cloud services.

### Microsoft 365

<div class="mw-map" style="--c: #e8734a">
<ul>
<li><span>Microsoft 365</span><ul>
  <li><span>Microsoft Defender XDR <em>Defender portal</em></span><ul>
    <li><span>Defender for Office 365 (MDO)</span><ul>
      <li><span>Plan 1</span><ul>
        <li><span>Anti-phishing</span></li>
        <li><span>Safe Links</span></li>
        <li><span>Safe Attachments</span></li></ul></li>
      <li><span>Plan 2</span><ul>
        <li><span>Threat Explorer</span></li>
        <li><span>Attack simulation training</span></li>
        <li><span>AIR (automated investigation and response)</span></li>
        <li><span>Advanced hunting</span></li></ul></li></ul></li>
    <li><span>Defender for Endpoint (MDE)</span><ul>
      <li><span>Plan 1</span><ul>
        <li><span>Next-generation antivirus</span></li>
        <li><span>Attack surface reduction</span></li></ul></li>
      <li><span>Plan 2</span><ul>
        <li><span>EDR</span></li>
        <li><span>Device discovery</span></li>
        <li><span>AIR</span></li>
        <li><span>Threat analytics</span></li>
        <li><span>Advanced hunting</span></li></ul></li></ul></li>
    <li><span>Defender for Cloud Apps (ex MCAS)</span><ul>
      <li><span>App governance</span></li></ul></li>
    <li><span>Defender for Identity (MDI)</span><ul>
      <li><span>Active Directory</span></li>
      <li><span>AD FS and AD CS</span></li>
      <li><span>Entra Connect</span></li></ul></li>
    <li><span>Defender Vulnerability Management</span></li>
    <li><span>Defender Threat Intelligence (Defender TI)</span></li>
    <li><span>Security Exposure Management</span></li>
    <li><span>Automatic attack disruption</span></li>
    <li><span>Security for AI agents</span></li>
    <li><span>Microsoft Sentinel <em>see Azure</em></span></li></ul></li>
  <li><span>Security Copilot</span><ul>
    <li><span>Embedded in Defender, Entra, Purview and Intune</span></li>
    <li><span>Agents (Conditional Access Optimization Agent, ...)</span></li></ul></li>
  <li><span>Exchange Online</span><ul>
    <li><span>Exchange Online Protection</span><ul>
      <li><span>Anti-spam</span></li>
      <li><span>Anti-malware</span></li>
      <li><span>Anti-spoofing</span></li>
      <li><span>ZAP (Zero-hour Auto Purge)</span></li></ul></li>
    <li><span>Mail flow rules (transport rules)</span></li>
    <li><span>Message trace</span></li>
    <li><span>Mailbox audit log</span><ul>
      <li><span>Owner</span></li>
      <li><span>Admin</span></li>
      <li><span>Delegate</span></li></ul></li></ul></li>
  <li><span>SharePoint Online and OneDrive</span><ul>
    <li><span>Sharing settings</span></li>
    <li><span>Built-in virus protection</span></li></ul></li>
  <li><span>Teams</span></li>
  <li><span>Microsoft 365 Copilot</span></li>
  <li><span>Agent 365 <em>control plane for AI agents</em></span><ul>
    <li><span>Agent registry</span></li>
    <li><span>Governance with Entra, Purview and Defender</span></li></ul></li>
  <li><span>Power Platform</span><ul>
    <li><span>Power Apps</span></li>
    <li><span>Power Automate</span></li>
    <li><span>Power BI</span></li>
    <li><span>Copilot Studio</span></li></ul></li>
  <li><span>Dynamics 365</span></li>
  <li><span>Intune (MDM and MAM)</span><ul>
    <li><span>Intune Suite</span><ul>
      <li><span>Endpoint Privilege Management</span></li>
      <li><span>Cloud PKI</span></li>
      <li><span>Remote Help</span></li></ul></li></ul></li>
  <li><span>Microsoft Purview</span><ul>
    <li><span>Information Protection <em>replaces AIP</em></span></li>
    <li><span>Data Loss Prevention</span></li>
    <li><span>Data Lifecycle Management</span></li>
    <li><span>Insider Risk Management</span></li>
    <li><span>Audit and eDiscovery</span></li>
    <li><span>DSPM and DSPM for AI</span></li>
    <li><span>Data Security Investigations</span></li></ul></li></ul></li>
</ul>
</div>

### Microsoft Entra

<div class="mw-map" style="--c: #3fa7a0">
<ul>
<li><span>Microsoft Entra</span><ul>
  <li><span>Entra ID (formerly Azure AD)</span><ul>
    <li><span>Sign-in logs</span></li>
    <li><span>Audit logs</span></li>
    <li><span>Conditional Access</span></li>
    <li><span>Authentication methods (passkeys, Authenticator, ...)</span></li>
    <li><span>SSPR</span></li>
    <li><span>Privileged Identity Management (PIM) <em>Entra ID P2</em></span></li></ul></li>
  <li><span>Entra ID Protection <em>Entra ID P2</em></span><ul>
    <li><span>Risky sign-ins</span><ul>
      <li><span>Atypical travel</span></li>
      <li><span>Token (anomalous, issuer, etc.)</span></li>
      <li><span>Suspicious browser, IP or mailbox operation</span></li>
      <li><span>Threat intelligence</span></li>
      <li><span>Admin confirmed user compromised</span></li></ul></li>
    <li><span>Risky users</span><ul>
      <li><span>Leaked credentials</span></li>
      <li><span>Threat intelligence (known attack pattern)</span></li>
      <li><span>Primary Refresh Token</span></li></ul></li>
    <li><span>Risk policies <em>enforced by Conditional Access</em></span></li></ul></li>
  <li><span>ID Governance</span><ul>
    <li><span>Access reviews</span></li>
    <li><span>Entitlement management</span></li>
    <li><span>Lifecycle workflows</span></li></ul></li>
  <li><span>External ID <em>replaces Azure AD B2C</em></span></li>
  <li><span>Global Secure Access</span><ul>
    <li><span>Internet Access</span></li>
    <li><span>Private Access</span></li></ul></li>
  <li><span>Workload ID</span></li>
  <li><span>Agent ID <em>identities of AI agents</em></span></li>
  <li><span>Verified ID</span></li></ul></li>
</ul>
</div>

### Azure

<div class="mw-map" style="--c: #e0a030">
<ul>
<li><span>Azure</span><ul>
  <li><span>Microsoft Defender for Cloud</span><ul>
    <li><span>Cloud Workload Protection Platform (CWPP)</span><ul>
      <li><span>Defender for Servers</span></li>
      <li><span>Defender for Containers</span></li>
      <li><span>Defender for App Service</span></li>
      <li><span>Defender for Storage</span></li>
      <li><span>Defender for Key Vault</span></li>
      <li><span>Defender for Resource Manager</span></li>
      <li><span>Defender for Databases</span></li>
      <li><span>Defender for APIs</span></li>
      <li><span>Defender for AI Services</span></li>
      <li><span>Security alerts</span></li>
      <li><span>External integration (SIEM, SOAR, XDR)</span></li></ul></li>
    <li><span>Cloud Security Posture Management (CSPM)</span><ul>
      <li><span>Foundational CSPM</span><ul>
        <li><span>Secure score</span></li>
        <li><span>Recommendations</span></li></ul></li>
      <li><span>Defender CSPM <em>paid plan</em></span><ul>
        <li><span>Attack path analysis</span></li>
        <li><span>Cloud security explorer</span></li>
        <li><span>Regulatory compliance</span></li>
        <li><span>Agentless scanning</span></li></ul></li></ul></li>
    <li><span>DevOps security</span></li>
    <li><span>Multicloud</span><ul>
      <li><span>Azure Arc (hybrid resources)</span></li>
      <li><span>AWS</span></li>
      <li><span>GCP</span></li></ul></li></ul></li>
  <li><span>Microsoft Sentinel <em>also in the Defender portal</em></span><ul>
    <li><span>SIEM</span><ul>
      <li><span>Detection</span></li>
      <li><span>Hunting</span></li>
      <li><span>Response (SOAR)</span></li></ul></li>
    <li><span>Platform</span><ul>
      <li><span>Data lake</span></li>
      <li><span>Graph</span></li>
      <li><span>MCP server</span></li>
      <li><span>Security Store</span></li></ul></li></ul></li>
  <li><span>Network security</span><ul>
    <li><span>Azure Firewall</span></li>
    <li><span>Web Application Firewall</span></li>
    <li><span>DDoS Protection</span></li>
    <li><span>Azure Bastion</span></li></ul></li>
  <li><span>Microsoft Foundry <em>AI apps and agents</em></span></li>
  <li><span>Microsoft Defender for IoT</span><ul>
    <li><span>IoT/OT discovery</span></li>
    <li><span>Risk assessments</span></li>
    <li><span>External integration (SIEM, SOAR, XDR)</span></li></ul></li>
  <li><span>Microsoft Defender EASM (External Attack Surface Management)</span></li></ul></li>
</ul>
</div>

*Mind map by frog (Olivier Mathieu), first drawn in 2023 and updated in November 2026.*

You'll tell me that's quite a lot of tools, but there's fewer consoles to manage them that you can think of. For example, the **Microsoft Defender portal** hosts most of the security process and settings related to **Microsoft 365**.
Regarding Azure, Defender for cloud can be integrated with Defender for Endpoint, allowing a unified management of ressources between differents endpoints.

For starter and to help reference most of the links to access Azure and Microsoft 365 consoles, you may bookmark this website made by  Merill Fernando, a senior product manager @ Microsoft : [!ref target="blank" text="CMD.MS"](https://cmd.ms/)
  
Anyway, as practices makes perfect, I would recommend reviewing your Microsoft 365 and Azure consoles at work or if you have yourself a dedicated tenant. Also, There is a great deal of contents from webinar, documentations to formations and certifications to help you with mastering Microsoft. For this matter, you can take a look at Microsoft Learn learning path and documentations.

## Going further

On this blog, I propose some specific use cases throughout my articles, some related to cloud and some other personal projects that matters to me.  
To go further on the topic, you can check out the M365 attack matrix and related investigations and hardening posts available there.
[!ref text="Explore Microsoft 365 common attacks"](../attack-matrix/index.md)

To keep learning and becoming a real Microsoft ninja, you can always check these awesome ressources and training courses :

==- Microsoft Defender Ninja trainings
[!ref icon=":rocket:" target="blank" text="Become a Microsoft Defender XDR Ninja"](https://techcommunity.microsoft.com/blog/microsoftthreatprotectionblog/become-a-microsoft-defender-ninja/1789376)
[!ref icon=":rocket:" target="blank" text="Become a Microsoft Defender for Cloud Ninja"](https://techcommunity.microsoft.com/t5/microsoft-defender-for-cloud/become-a-microsoft-defender-for-cloud-ninja/ba-p/1608761)
[!ref icon=":rocket:" target="blank" text="Become a Microsoft Defender for Identity Ninja"](https://techcommunity.microsoft.com/t5/security-compliance-and-identity/microsoft-defender-for-identity-ninja-training/ba-p/2117904)
[!ref icon=":rocket:" target="blank" text="Become a Microsoft Defender for Endpoint Ninja"](https://techcommunity.microsoft.com/t5/microsoft-defender-for-endpoint/become-a-microsoft-defender-for-endpoint-ninja/ba-p/1515647)
[!ref icon=":rocket:" target="blank" text="Become a Microsoft Defender for Office365 Ninja"](https://techcommunity.microsoft.com/t5/microsoft-defender-for-office/become-a-microsoft-defender-for-office-365-ninja-june-2022/ba-p/2187392)
[!ref icon=":rocket:" target="blank" text="Become a Microsoft Defender for CloudApps Ninja"](https://techcommunity.microsoft.com/t5/security-compliance-and-identity/microsoft-defender-for-cloud-apps-ninja-training-june-2022/ba-p/2751518)
[!ref icon=":rocket:" target="blank" text="Become a Microsoft Defender Threat Intelligence Ninja"](https://techcommunity.microsoft.com/t5/microsoft-defender-threat/become-a-microsoft-defender-threat-intelligence-ninja-the/ba-p/3656965)
===

## References

- [What is Microsoft Entra?](https://learn.microsoft.com/en-us/entra/fundamentals/whatis)
- [The Azure Solution Architect Map](https://techcommunity.microsoft.com/t5/azure-developer-community-blog/the-azure-solution-architect-map/ba-p/689700)
- [What is Microsoft Defender XDR?](https://learn.microsoft.com/en-us/defender-xdr/microsoft-365-defender)
- [Microsoft Sentinel in the Microsoft Defender portal](https://learn.microsoft.com/en-us/azure/sentinel/microsoft-sentinel-defender-portal)

[^1]: https://learn.microsoft.com/en-us/entra/external-id/customers/faq-customers
