Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fdeveloper-portal%2Finfrastructure-as-code%2Fterraform-provider%2Fintegrations%2Fmicrosoft-365-collector.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fdeveloper-portal%2Finfrastructure-as-code%2Fterraform-provider%2Fintegrations%2Fmicrosoft-365-collector.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

# Microsoft 365

## Overview[​](#overview "Direct link to Overview")

Microsoft 365 provides detailed audit logs of user activities, such as file downloads, data access grants, configuration changes, and DLP event logs. Read these logs to detect and analyze suspicious activities and potential threats.

For more information about this integration, [click here](https://docs-docusaurus.kinsta.page/integrations/security/microsoft-365/.md).

## How to use with Terraform[​](#how-to-use-with-terraform "Direct link to How to use with Terraform")

To deploy this integration using Terraform, you can use the [`coralogix_integration`](https://registry.terraform.io/providers/coralogix/coralogix/latest/docs/resources/integration) resource provided by the Coralogix Terraform provider. Below is an example configuration:

```
resource "coralogix_integration" "microsoft-365-collector" {

  integration_key = "microsoft-365-collector"

  version         = "0.0.1"



  parameters = {

    IntegrationName = "Microsoft 365"

    ApplicationName = "<ApplicationName>"

    TenantId = "<TenantId>"

    ClientId = "<ClientId>"

    ClientSecret = "<ClientSecret>"

  }

}
```

Replace the placeholder values with your actual configuration parameters. Refer to the parameter table below for required fields and their descriptions.

## Revisions[​](#revisions "Direct link to Revisions")

0.0.1

| Name            | Type   | Required | Description                                                                            |
| --------------- | ------ | -------- | -------------------------------------------------------------------------------------- |
| ApplicationName | String | Yes      | The application name that the integration will be used with.                           |
| ClientId        | String | Yes      | Application ID used to authenticate and read logs from your Microsoft 365 environment. |
| ClientSecret    | String | Yes      | Secret value used to authenticate and read logs from your Microsoft 365 environment.   |
| IntegrationName | String | Yes      |                                                                                        |
| TenantId        | String | Yes      | Your Microsoft tenant ID to connect and read logs from.                                |
| SubsystemName   | String | No       | The subsystem name that the integration will be used with.                             |
