Skip to content

Commit 6c23e4d

Browse files
authored
Update data-loss-prevention.md
Add next steps for enabling DLP
1 parent aadfb87 commit 6c23e4d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/communication-services/how-tos/chat-sdk/data-loss-prevention.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,14 @@ ms.service: azure-communication-services
1010
ms.subservice: chat
1111
ms.custom: template-how-to
1212
---
13-
# How to integrate with Microsoft Teams Data Loss Prevention policies by subscribing to Real-time Chat Notifications
13+
# How to integrate with Microsoft Teams Data Loss Prevention policies by subscribing to real-time chat notifications
1414

1515
Microsoft Teams administrator can configure policies for data loss prevention (DLP) to prevent leakage of sensitive information from Teams users in Teams meetings. Developers can integrate chat in Teams meetings with Azure Communication Services for Communication Services users via the Communication Services UI library or custom integration. This article describes how to incorporate data loss prevention without a UI library.
1616

1717
You need to subscribe to real-time notifications and listen for message updates. If a chat message from a Teams user contains sensitive content, the message content is updated to blank. The Azure Communication Services user interface has to be updated to indicate that the message cannot be displayed, for example, "Message was blocked as it contains sensitive information.". There could be a delay of a couple of seconds before a policy violation is detected and the message content is updated. You can find an example of such code below.
1818

1919
Data Loss Prevention policies only apply to messages sent by Teams users and aren't meant to protect Azure Communications users from sending out sensitive information.
2020

21-
For more information on enabling Microsoft Teams Data Loss Prevention, you can refer to [Data loss prevention and Microsoft Teams](/microsoft-365/compliance/dlp-microsoft-teams?view=o365-worldwide).
22-
2321
```javascript
2422
let endpointUrl = '<replace with your resource endpoint>';
2523

@@ -34,3 +32,6 @@ chatClient.on("chatMessageEdited", (e) => {
3432
// Show UI message blocked
3533
});
3634
```
35+
36+
## Next steps
37+
- [Learn how to enable Microsoft Teams Data Loss Prevention](/microsoft-365/compliance/dlp-microsoft-teams?view=o365-worldwide)

0 commit comments

Comments
 (0)