Microsoft credentials
FortiDLP can be integrated with Microsoft to:
- sync users from Entra ID (see Entra ID users),
- sync Microsoft sensitivity labels (see Microsoft sensitivity labels), and/or
- collect user activity events from SharePoint and OneDrive (see Microsoft SharePoint and OneDrive Connector).
A single Entra ID app registration can be used to enable all or any of these features in FortiDLP, so we have therefore provided one set of instructions and indicated where you can optionally grant access for a feature.
A summary of the setup steps is as follows.
Step | Description | ||
---|---|---|---|
How to create and retrieve credentials for an Entra ID app registration |
First, you need to register an Entra ID application and configure it with integration permissions which correspond to the features you want to enable. This will allow FortiDLP to make authorized calls to Microsoft APIs. | ||
Next, you need to add the credentials to the Microsoft credentials modal, accessible from any Microsoft feature configuration section in the FortiDLP Console's Admin settings.
|
|||
Finally, depending on which integration permissions you have added to the app, you need to configure and enable each feature in the relevant section of the FortiDLP Console's Admin settings. |
Multiple sets of app credentials
If you have multiple Microsoft Entra tenants, you can register an app with each tenant and then add each set of app credentials to FortiDLP. However, there are some limitations:
- You can only sync sensitivity labels from one tenant, so if you have added multiple sets of app credentials, you must select which set you want to use for the configuration.
Each time a label sync occurs, all of the labels previously synced are replaced. Therefore, you should ensure that all of the labels you need are associated with the app credentials you choose to sync with.
- Microsoft only allows a single management API webhook to be configured per tenant, so if it is already being used by another third-party integration, FortiDLP will not be able to connect.
How to create and retrieve credentials for an Entra ID app registration
- Log in to the Microsoft Azure Portal.
- In the left-hand panel, click MicrosoftEntra ID.
- Under Manage, click App registrations.
- Click New registration.
- In the Name field, type
Fortinet
. - Click Register.
- When the page refreshes, note the Application (client) ID and Directory (tenant) ID. You will need these values later.
- Click API permissions.
- To grant permissions for syncing Entra ID users and/or sensitivity labels, do the following:
- Click Add a permission.
- In the Request API permissions panel, do the following:
- Click MicrosoftGraph.
- Click Application permissions.
Permissions must be configured as "application permissions" and not "delegated permissions", which is the default.
- Do at least one of the following:
- To allow FortiDLP to sync Entra ID users, search for and select the checkboxes of all of the following permissions:
- Group.Read.All
- GroupMember.Read.All
- User.Read.All.
- To allow FortiDLP to sync sensitivity labels, search for and select the check box of of the following permission:
- InformationProtectionPolicy.Read.All
- To allow FortiDLP to sync Entra ID users, search for and select the checkboxes of all of the following permissions:
- Click Add permissions.
- To grant permissions for collecting SharePoint and OneDrive events, do the following:
- Click Add a permission.
- In the Request API permissions panel, do the following:
- Select APIs my organization uses.
- Search for and select Office 365Management APIs.
- Click Application permissions.
Permissions must be configured as "application permissions" and not "delegated permissions", which is the default.
- Search for and select the checkboxes of all of the following permissions:
- ActivityFeed.Read
- ServiceHealth.Read
- Click Add permissions.
- Under Configured permissions, click Grant admin consent for <your directory>.
- In the confirmation dialog that displays at the top of the panel, click Yes.
- In the second left-hand panel, click Certificates & Secrets.
- Click New client secret.
- In the Description field, type
Reveal secret
. - In the Expiry section, click the Never check box.
- Click Add.
- In the Client secrets section, note the client secret that displays in the Value column. You will need this later.
The client secret will only display once. Ensure you save a copy of it for future reference. |
How to add the Entra ID app credentials to FortiDLP
The same Microsoft credentials modal is used across all Microsoft features, so credentials only need to be added once from any feature section.
- In the FortiDLP Console, on the left-hand side bar, click .
- Do one of the following:
- To add the credentials to the Entra ID user directory section:
- Do one of the following:
- Under Users, select MicrosoftEntra ID.
- Under Integrations > Microsoft, select Entra ID.
- On the top-right corner of the page, click Add new directory.
- Under Authentication settings, click Manage credentials.
- Do one of the following:
- To add the credentials to the sensitivity labels section:
- Under Integrations >Microsoft, select Sensitivity labels.
- Under Sensitivity labels, click Manage credentials.
- To add the credentials to the Microsoft SharePoint and OneDrive Connector section:
- Under Integrations >Microsoft, select Connectors.
- On the top-right corner of the page, click Add new connector.
- Under Authentication, click Manage credentials.
- To add the credentials to the Entra ID user directory section:
- Click Create new.
- In the Name field, enter a name to identify the credentials, such as "Microsoft credentials".
- In the Microsoft Directory (tenant) ID field, paste the Directory (tenant) ID retrieved in
How to create and retrieve credentials for an Entra ID app registration . - In the Microsoft Application (client) ID field, paste the Application (client) ID retrieved in
How to create and retrieve credentials for an Entra ID app registration . - In the Microsoft Application (client) Secret field, paste the client secret retrieved in
How to create and retrieve credentials for an Entra ID app registration . - Click Verify.
FortiDLP will indicate whether the connection is successful and what feature permissions are granted. - Click Save.
- Click Cancel to close the modal.
How to integrate Microsoft features with FortiDLP
Depending on which permissions you added to the app registration, do the following:
- To sync users from Entra ID to FortiDLP, follow the instructions in Adding an Entra ID directory configuration to complete the integration.
- To sync sensitivity labels to FortiDLP, follow the steps in Syncing Microsoft sensitivity labels to complete the integration.
- To collect SharePoint and OneDrive events, follow the instructions in Enabling the Microsoft SharePoint and OneDrive Connector to complete the integration.