Skip to content

Commit 5240ce5

Browse files
authored
Update data-loss-prevention.md
Add public review banner and update the description
1 parent 033c596 commit 5240ce5

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
@@ -11,12 +11,13 @@ ms.subservice: chat
1111
ms.custom: template-how-to
1212
---
1313
# How to integrate with Microsoft Teams Data Loss Prevention policies
14+
[!INCLUDE [Public Preview Disclaimer](../../includes/public-preview-include-document.md)]
1415

15-
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.
16+
Microsoft Teams administrator can configure policies for data loss prevention (DLP) to prevent leakage of sensitive information from Teams users during Teams meetings. Developers have the option to integrate chat functionality in Teams meetings with Azure Communication Services. This can be done either through the Azure Communication Services UI library or through a custom integration. This article describes how to incorporate data loss prevention without a UI library.
1617

17-
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.
18+
You need to set up your application to listen for real-time updates on message edits. If a Teams user sends a message containing sensitive content, the message will be automatically replaced with a blank message and flagged with a "policyViolation" result. Your application should update its user interface to reflect that the message has been blocked. For example, display a message such as "Message was blocked as it contains sensitive information." Be aware that there may be a brief delay, usually a couple of seconds, between when a message is sent and when a policy violation is detected and applied. You can find an example of such code below.
1819

19-
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.
20+
It's important to note that DLP policies apply only to messages sent by Teams users and do not prevent Azure Communications users from sending out sensitive information.
2021

2122
#### Data Loss Prevention with subscribing to real-time chat notifications
2223
```javascript

0 commit comments

Comments
 (0)