Skip to content

Commit 6489fe2

Browse files
Merge pull request #291162 from vac0224/vc-region-data-consistent-2024-12-04
updated chat concepts
2 parents 0f47129 + 217758f commit 6489fe2

File tree

2 files changed

+29
-21
lines changed

2 files changed

+29
-21
lines changed

articles/communication-services/concepts/chat/concepts.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,22 @@ Chat conversations happen within **chat threads**. Chat threads have the followi
3737
### User access
3838
Azure Communication Services supports three levels of user access control, using the chat tokens. See [Identity and Tokens](../identity-model.md) for details. Participants don't have write-access to messages sent by other participants, which means only the message sender can update or delete their sent messages. If another participant tries to do that, they get an error.
3939

40-
### Chat Data
40+
### Chat Data
41+
4142
Azure Communication Services stores chat threads according to the [data retention policy](/purview/create-retention-policies) in effect when the thread is created. You can update the retention policy if needed during the retention time period you set. After you delete a chat thread (by policy or by a Delete API request), it can't be retrieved.
4243

4344
[!INCLUDE [chat-retention-policy.md](../../includes/chat-retention-policy.md)]
4445

4546
You can choose between indefinite thread retention, automatic deletion between 30 and 90 days via the retention policy on the [Create Chat Thread API](/rest/api/communication/chat/chat/create-chat-thread), or immediate deletion using the APIs [Delete Chat Message](/rest/api/communication/chat/chat-thread/delete-chat-message) or [Delete Chat Thread](/rest/api/communication/chat/chat/delete-chat-thread).
4647

47-
Any thread created before the new retention policy isn't affected unless you specifically change the policy for that thread. If you submit a support request for a deleted chat thread more than 30 days after the retention policy has deleted that thread, it can no longer be retrieved and no information about that thread is available. If needed, open a support ticket as quickly as possible within the 30 day window after you create a thread so we can assist you.
48+
Any thread created before the new retention policy isn't affected unless you specifically change the policy for that thread. If you submit a support request for a deleted chat thread more than 30 days after the retention policy deleted that thread, it can no longer be retrieved and no information about that thread is available. If needed, [open a support ticket](/azure/azure-portal/supportability/how-to-create-azure-support-request) as quickly as possible within the 30 day window after you create a thread so we can assist you.
4849

49-
Chat thread participants can use `ListMessages` to view message history for a particular thread. The `ListMessages` API can't return the history of a thread if the thread is deleted. Users that are removed from a chat thread are able to view previous message history but can't send or receive new messages. Accidentally deleted messages aren't recoverable by the system. To learn more about data being stored in Azure Communication Services chat service, refer to the [data residency and privacy page](../privacy.md).
50+
Chat thread participants can use `ListMessages` to view message history for a particular thread. The `ListMessages` API can't return the history of a thread if the thread is deleted. Users that are removed from a chat thread are able to view previous message history but can't send or receive new messages. Accidentally deleted messages aren't recoverable by the system. To learn more about data being stored in Azure Communication Services chat service, see [Region availability and data residency](../privacy.md).
5051

5152
For customers that use Virtual appointments, refer to our Teams Interoperability [user privacy](../interop/guest/privacy.md#chat-storage) for storage of chat messages in Teams meetings.
5253

5354
### Service limits
55+
5456
- The maximum number of participants allowed in a chat thread is 250.
5557
- The maximum message size allowed is approximately 28 KB.
5658
- For chat threads with more than 20 participants, read receipts and typing indicator features aren't supported.
@@ -59,7 +61,7 @@ For customers that use Virtual appointments, refer to our Teams Interoperability
5961
- Moreover, in Teams Interop scenarios, there are the following limitations:
6062
- The Teams user's display name in typing indicator event is blank.
6163
- Read receipt isn't supported.
62-
- Certain identities are not supported (i.e. [Bot users](/microsoftteams/platform/bots/what-are-bots), [Skype users](https://support.microsoft.com/en-us/office/use-skype-in-microsoft-teams-4382ea15-f963-413d-8982-491c1b9ae3bf), [non-enterprise users](https://support.microsoft.com/en-us/office/learn-more-about-subscriptions-for-microsoft-teams-free-1061bbd0-6d97-46a6-8ca0-21059be3eee3), etc.)
64+
- Certain identities aren't supported, such as [Bot users](/microsoftteams/platform/bots/what-are-bots), [Skype users](https://support.microsoft.com/en-us/office/use-skype-in-microsoft-teams-4382ea15-f963-413d-8982-491c1b9ae3bf), [non-enterprise users](https://support.microsoft.com/en-us/office/learn-more-about-subscriptions-for-microsoft-teams-free-1061bbd0-6d97-46a6-8ca0-21059be3eee3), and similar.
6365

6466
## Chat architecture
6567

@@ -90,13 +92,13 @@ System messages are generated when
9092
- a participant was added or removed
9193
- the chat thread topic was updated.
9294

93-
When you call `List Messages` or `Get Messages` on a chat thread, the result contains both kind of messages in chronological order. For user-generated messages, the message type can be set in `SendMessageOptions` when sending a message to chat thread. If no value is provided, Communication Services defaults to `text` type. Setting this value is important when sending HTML. When `html` is specified, Communication Services sanitizes the content to ensure that it's rendered safely on client devices.
95+
When you call `List Messages` or `Get Messages` on a chat thread, the result contains both kind of messages in chronological order. For user-generated messages, the message type can be set in `SendMessageOptions` when sending a message to chat thread. If no value is provided, Communication Services defaults to `text` type. Setting this value is important when sending HTML. When `html` is specified, Communication Services sanitizes the content to ensure that it rendered safely on client devices.
9496
- `text`: A plain text message composed and sent by a user as part of a chat thread.
9597
- `html`: A formatted message using html, composed and sent by a user as part of chat thread.
9698

9799
Types of system messages:
98100
- `participantAdded`: System message that indicates one or more participants are in the chat thread.
99-
- `participantRemoved`: System message that indicates a participant has been removed from the chat thread.
101+
- `participantRemoved`: System message that indicates a participant is removed from the chat thread.
100102
- `topicUpdated`: System message that indicates the thread topic is updated.
101103

102104
## Real-time notifications
@@ -122,13 +124,13 @@ The client app can subscribe to following events:
122124
123125
## Server events
124126

125-
This feature lets server applications listen to events such as when a message is sent and when a participant is joining or leaving the chat. Server applications can react to these events, adding/removing participants to the chat, archiving chats, performing analysis, and many other scenarios for orchestration. To see what kinds of chat events can be used by developers, see [Server Events](../../../event-grid/event-schema-communication-services.md?bc=/azure/bread/toc.json&toc=/azure/communication-services/toc.json).
127+
This feature lets server applications listen to events such as when a message is sent and when a participant is joining or leaving the chat. Server applications can react to these events, adding/removing participants to the chat, archiving chats, performing analysis, and many other scenarios for orchestration. To see which chat events are available to developers, see [Azure Communication Services as an Azure Event Grid source](../../../event-grid/event-schema-communication-services.md?bc=/azure/bread/toc.json&toc=/azure/communication-services/toc.json).
126128

127129
## Push notifications
128130

129-
Android and iOS Chat SDKs support push notifications. To send push notifications for messages missed by your participants while they were away, connect a Notification Hub resource with Communication Services resource to send push notifications. Doing this notifies your application participants about incoming chats and messages when the mobile app is not running in the foreground.
131+
Android and iOS Chat SDKs support push notifications. To send push notifications for messages missed by your participants while they were away, connect a Notification Hub resource with Communication Services resource to send push notifications. Doing so notifies your application participants about incoming chats and messages when the mobile app isn't running in the foreground.
130132

131-
IOS and Android SDK support the below event:
133+
IOS and Android SDK support the following events:
132134
- `chatMessageReceived` - when a participant sends a new message to a chat thread.
133135

134136
Android SDK supports extra events:

articles/communication-services/concepts/privacy.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.custom: references_regions
1414

1515
# Region availability and data residency
1616

17-
Azure Communication Services is committed to helping our customers meet their privacy and personal data requirements. As a developer using Communication Services with a direct relationship with humans using the application, you are potentially a controller of their data. Since Azure Communication Services is storing and encrypting this data at rest on your behalf, we are most likely a processor of this data. This page summarizes how the service retains data and how you can identify, export, and delete this data.
17+
Azure Communication Services is committed to helping our customers meet their privacy and personal data requirements. As a developer using Communication Services with a direct relationship with humans using the application, you're potentially a controller of their data. Since Azure Communication Services is storing and encrypting this data at rest on your behalf, we're most likely a processor of this data. This page summarizes how the service retains data and how you can identify, export, and delete this data.
1818

1919
## Data residency
2020

@@ -38,8 +38,6 @@ The list of geographies you can choose from includes:
3838
- United Kingdom
3939
- United States
4040

41-
42-
4341
## Data collection
4442

4543
Azure Communication Services only collects diagnostic data required to deliver the service.
@@ -60,13 +58,13 @@ There are two categories of Communication Service data:
6058

6159
### Identities
6260

63-
Azure Communication Services maintains a directory of identities, use the [DeleteIdentity](/rest/api/communication/communication-identity/delete?tabs=HTTP) API to remove them. Deleting an identity revokes all associated access tokens and deletes their chat messages. For more information on how to remove an identity [see this page](../quickstarts/identity/access-tokens.md).
61+
Azure Communication Services maintains a directory of identities. Use the [DeleteIdentity](/rest/api/communication/communication-identity/delete?tabs=HTTP) API to remove identities. If you remove an identity, it revokes all associated access tokens and deletes their chat messages. For more information on how to remove an identity, see [Create and manage access tokens](../quickstarts/identity/access-tokens.md).
6462

65-
- DeleteIdentity
63+
- `Delete Identity`
6664

6765
### Azure Resource Manager
6866

69-
Using the Azure portal or Azure Resource Manager APIs with Communication Services, can create personal data. [Use this page to learn how to manage personal data in Azure Resource Manager systems.](../../azure-resource-manager/management/resource-manager-personal-data.md)
67+
You can use the Azure portal or Azure Resource Manager APIs with Azure Communication Services to create personal data. For more information, see [Manage personal data associated with Azure Resource Manager](../../azure-resource-manager/management/resource-manager-personal-data.md).
7068

7169
### Telephone number management
7270

@@ -77,7 +75,15 @@ Azure Communication Services maintains a directory of phone numbers associated w
7775

7876
### Chat
7977

80-
Azure Communication Services stores chat messages indefinitely till they are deleted. Chat thread participants can use ListMessages to view message history for a particular thread. Users that are removed from a chat thread are able to view previous message history but cannot send or receive new messages. Accidentally deleted messages are not recoverable by the system.
78+
Azure Communication Services stores chat threads according to the [data retention policy](/purview/create-retention-policies) in effect when the thread is created. You can update the retention policy if needed during the retention time period you set. After you delete a chat thread (by policy or by a Delete API request), it can't be retrieved.
79+
80+
[!INCLUDE [chat-retention-policy.md](../includes/chat-retention-policy.md)]
81+
82+
You can choose between indefinite thread retention, automatic deletion between 30 and 90 days via the retention policy on the [Create Chat Thread API](/rest/api/communication/chat/chat/create-chat-thread), or immediate deletion using the APIs [Delete Chat Message](/rest/api/communication/chat/chat-thread/delete-chat-message) or [Delete Chat Thread](/rest/api/communication/chat/chat/delete-chat-thread).
83+
84+
Any thread created before the new retention policy isn't affected unless you specifically change the policy for that thread. If you submit a support request for a deleted chat thread more than 30 days after the retention policy has deleted that thread, it can no longer be retrieved and no information about that thread is available. If needed, [open a support ticket](/azure/azure-portal/supportability/how-to-create-azure-support-request) as quickly as possible within the 30 day window after you create a thread so we can assist you.
85+
86+
Chat thread participants can use `ListMessages` to view message history for a particular thread. The `ListMessages` API can't return the history of a thread if the thread is deleted. Users that are removed from a chat thread are able to view previous message history but can't send or receive new messages. Accidentally deleted messages aren't recoverable by the system.
8187

8288
Use [Chat APIs](/rest/api/communication/chat/chatthread) to get, list, update, and delete messages.
8389

@@ -92,7 +98,7 @@ For customers that use Virtual appointments, refer to our Teams Interoperability
9298

9399
### SMS
94100

95-
Sent and received SMS messages are ephemerally processed by the service and not retained.
101+
The service temporarily processes sent and received SMS messages and they are not retained.
96102

97103
### PSTN voice calling
98104

@@ -104,16 +110,16 @@ Audio and video communication is ephemerally processed by the service and no cal
104110

105111
### Call Recording
106112

107-
Call recordings are stored temporarily in the same geography that was selected for ```Data Location``` during resource creation for 24 hours. After this the recording is deleted and you are responsible for storing the recording in a secure and compliant location.
113+
Call recordings are stored temporarily in the same geography you selected for `Data Location` during resource creation for 24 hours. After this the recording is deleted, you are responsible for storing the recording in a secure and compliant location.
108114

109115
### Email
110-
Email message content is ephemerally stored for processing in the resource's ```Data Location``` specified by you during resource provisioning. Email message delivery logs are available in Azure Monitor Logs, where you are in control to define the workspace to store logs. Domain sender usernames (or MailFrom) values are stored in the resource's ```Data Location``` until explicitly deleted. Recipient's email addresses that result in hard bounced messages are temporarily retained for spam and abuse prevention and detection.
116+
Email message content is ephemerally stored for processing in the resource's `Data Location` specified by you during resource provisioning. Email message delivery logs are available in Azure Monitor Logs, where you are in control to define the workspace to store logs. Domain sender usernames (or MailFrom) values are stored in the resource's `Data Location` until explicitly deleted. Recipient's email addresses that result in hard bounced messages are temporarily retained for spam and abuse prevention and detection.
111117

112118
## Azure Monitor and Log Analytics
113119

114-
Azure Communication Services feed into Azure Monitor logging data for understanding operational health and utilization of the service. Some of these logs include Communication Service identities and phone numbers as field data. To delete any potentially personal data, [use these procedures for Azure Monitor](/azure/azure-monitor/logs/personal-data-mgmt). You may also want to configure [the default retention period for Azure Monitor](/azure/azure-monitor/logs/data-retention-configure).
120+
Azure Communication Services feed into Azure Monitor logging data for understanding operational health and use of the service. Some of these logs include Communication Service identities and phone numbers as field data. To delete any potentially personal data, [use these procedures for Azure Monitor](/azure/azure-monitor/logs/personal-data-mgmt). You may also want to configure [the default retention period for Azure Monitor](/azure/azure-monitor/logs/data-retention-configure).
115121

116-
## Additional resources
122+
## Related articles
117123

118124
- [Azure Data Subject Requests for the GDPR and CCPA](/microsoft-365/compliance/gdpr-dsr-azure)
119125
- [Microsoft Trust Center](https://www.microsoft.com/trust-center/privacy/data-location)

0 commit comments

Comments
 (0)