---
description: Integrate Email security with Microsoft 365.
title: Set up Microsoft Graph API
image: https://developers.cloudflare.com/og-docs.png
---

[Skip to content](#main-content)

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/learning-paths/llms.txt  
> Use this file to discover all available pages before exploring further.

# Set up Microsoft Graph API

Last updated Aug 24, 2026|Copy as Markdown|[View as Markdown](https://mchen-ai-models-sync.previews.developers.cloudflare.com/learning-paths/secure-your-email/get-started/setup-ms-graph-api/index.md)|[Agent setup](https://mchen-ai-models-sync.previews.developers.cloudflare.com/agent-setup/)

1. Log in to [Cloudflare One ↗](https://one.dash.cloudflare.com/).
2. Select **Email security** \> **Settings**.
3. Select **Connect an integration**, choose **Microsoft CASB + EMAIL**, then select **Select Integration**.
4. Enable **Microsoft Integration**:  
  1. **Configure policy**: Choose how you wannt [CASB](https://mchen-ai-models-sync.previews.developers.cloudflare.com/cloudflare-one/cloud-and-saas-findings/) to access the data from your integration.
  2. **Name integration**: Add your integration name, then select **Continue**.
  3. **Authorize integration**:  
    * Select **Authorize**. Selecting **Authorize** will take you to the Microsoft Sign in page where you will have to enter your email address.
    * Once you enter your email address, select **Next**.
    * After selecting **Next**, the system will show a dialog box with a list of requested permissions. Select **Accept** to authorize Email security. Upon authorization, you will be redirected to a page where you can review details and enroll integration.
  4. **Review details**: Review your integration details, then:  
    * Select **Complete Email security set up** where you will be able to connect your domains and configure auto-moves.
    * Select **Continue to Email security**.

Was this helpful?

YesNo

## On this page

[![](https://mchen-ai-models-sync.previews.developers.cloudflare.com/_astro/logo.te5VL_aD.svg)Docs](https://mchen-ai-models-sync.previews.developers.cloudflare.com/)

```json
{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/learning-paths/secure-your-email/get-started/setup-ms-graph-api/#page","headline":"Set up Microsoft Graph API · Cloudflare Learning Paths","description":"Integrate Email security with Microsoft 365.","url":"https://developers.cloudflare.com/learning-paths/secure-your-email/get-started/setup-ms-graph-api/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","dateModified":"2026-08-24","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
