> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Defender for Cloud Apps

> Microsoft Defender for Cloud Apps is a comprehensive security solution designed to protect cloud-based applications, such as Microsoft 365 and Azure, from advanced threats. It provides real-time protection against malware, phishing attacks, and other malicious activities, helping organizations safeguard their data and maintain a secure cloud environment.

## Creating a Microsoft Defender For Cloud Apps connection[​](#creating-a-microsoft-defender-for-cloud-apps-connection "Direct link to Creating a Microsoft Defender For Cloud Apps connection")

To create the connection you need:

* An API Address
* An API Token

### Obtaining the credentials[​](#obtaining-the-credentials "Direct link to Obtaining the credentials")

1. Navigate to [Microsoft Security Portal](https://security.microsoft.com)

2. In the bottom of the page, click **Settings**

   <img src="https://mintcdn.com/blinkops-2/6JIG4C9X2ValYH_B/img/MicrosoftCloudAppsDefender/Untitled1.png?fit=max&auto=format&n=6JIG4C9X2ValYH_B&q=85&s=0304e9221b29015d93905c123e34195e" alt="Settings Section" width="524" height="630" data-path="img/MicrosoftCloudAppsDefender/Untitled1.png" />

3. Click **Cloud Apps**

   <img src="https://mintcdn.com/blinkops-2/6JIG4C9X2ValYH_B/img/MicrosoftCloudAppsDefender/Untitled2.png?fit=max&auto=format&n=6JIG4C9X2ValYH_B&q=85&s=36c42c2f3e1bacfd5ec8f3a1a92c667c" alt="Cloud Apps Section" width="1918" height="910" data-path="img/MicrosoftCloudAppsDefender/Untitled2.png" />

4. Click **API Tokens**

   <img src="https://mintcdn.com/blinkops-2/6JIG4C9X2ValYH_B/img/MicrosoftCloudAppsDefender/Untitled3.png?fit=max&auto=format&n=6JIG4C9X2ValYH_B&q=85&s=53915892a8426a0c966103137b0aeee3" alt="API Tokens Section" width="510" height="846" data-path="img/MicrosoftCloudAppsDefender/Untitled3.png" />

5. Click **Add token**

   <img src="https://mintcdn.com/blinkops-2/6JIG4C9X2ValYH_B/img/MicrosoftCloudAppsDefender/Untitled4.png?fit=max&auto=format&n=6JIG4C9X2ValYH_B&q=85&s=fc065d0507a348d3c5cd5d5a010cddac" alt="Add Token" width="456" height="246" data-path="img/MicrosoftCloudAppsDefender/Untitled4.png" />

6. Add a token name and click **Generate**

   <img src="https://mintcdn.com/blinkops-2/6JIG4C9X2ValYH_B/img/MicrosoftCloudAppsDefender/Untitled5.png?fit=max&auto=format&n=6JIG4C9X2ValYH_B&q=85&s=948db54fdd1bd6adb0b3adae9a053282" alt="Generate Token" width="1206" height="460" data-path="img/MicrosoftCloudAppsDefender/Untitled5.png" />

7. Copy your *API token* and *URL*

   <img src="https://mintcdn.com/blinkops-2/6JIG4C9X2ValYH_B/img/MicrosoftCloudAppsDefender/Untitled6.png?fit=max&auto=format&n=6JIG4C9X2ValYH_B&q=85&s=a1fb87948cebe709cbe126d6e8f93fa9" alt="Copy Token and URL" width="1198" height="530" data-path="img/MicrosoftCloudAppsDefender/Untitled6.png" />

### Creating your connection[​](#creating-your-connection "Direct link to Creating your connection")

1. In the Blink platform, navigate to the **Connections** page > **Add connection**. A New Connection dialog box opens displaying icons of external service providers available.

2. Select the **Microsoft Defender For Cloud Apps** icon. A dialog box with name of the connection and connection methods appear.

3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.

4. Select **API Key** as the method to create the connection.

5. Fill in the parameters:

   * The API Address
   * The API Token

6. (Optional) Click **Test Connection** to test it.

7. Click **Create connection**. The new connection appears on the **Connections** page.
