Skip to content

Commit 4e9fbac

Browse files
Add warnings/alerts about the breaking change related to BSUID
1 parent 9b85187 commit 4e9fbac

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

articles/communication-services/concepts/advanced-messaging/whatsapp/whatsapp-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ The key features of Azure Communications Services Advanced Messaging for WhatsAp
3333

3434
WhatsApp is launching usernames in 2026, allowing users to display a username instead of their phone number. To support this change, Meta introduces a new identifier called the **business-scoped user ID (BSUID)**. BSUIDs begin appearing in webhook payloads and can be used as recipient identifiers in send requests.
3535

36-
> [!IMPORTANT]
37-
> The `from` and `to` fields in Advanced Messaging events may now be empty when a user hides their phone number. Update your event handlers to use the new `fromBSUID` and `toBSUID` fields. For more information, see [WhatsApp usernames and BSUIDs](./whatsapp-usernames-business-scoped-user-identifier.md).
36+
> [!WARNING]
37+
> **Breaking change:** The `from` and `to` fields in Advanced Messaging events may now be empty when a user hides their phone number. Update your event handlers to use the new `fromBSUID` and `toBSUID` fields. For more information, see [WhatsApp usernames and BSUIDs](./whatsapp-usernames-business-scoped-user-identifier.md).
3838
3939
## Next steps
4040

articles/communication-services/concepts/advanced-messaging/whatsapp/whatsapp-usernames-business-scoped-user-identifier.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ Meta provides a Contact Book feature that automatically stores WhatsApp user con
151151

152152
## How to prepare
153153

154+
> [!WARNING]
155+
> **Breaking change:** The `from` and `to` fields in Advanced Messaging events may now be empty or null. Any code that assumes these fields always contain a phone number will break. You must update your event handlers to use the new `fromBSUID` and `toBSUID` fields.
156+
154157
To prepare your integration for WhatsApp usernames and BSUIDs:
155158

156159
1. **Stop assuming `from` and `to` always contain phone numbers.** Review any logic that parses, validates, or formats these fields as E.164 numbers. These fields may now be empty or null.

articles/communication-services/quickstarts/advanced-messaging/whatsapp/handle-advanced-messaging-events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ With the introduction of WhatsApp usernames, Advanced Messaging events now inclu
9696
- **`AdvancedMessageReceived`** events include a `fromBSUID` field with the sender's BSUID.
9797
- **`AdvancedMessageDeliveryStatusUpdated`** events include a `toBSUID` field with the recipient's BSUID.
9898

99-
> [!IMPORTANT]
100-
> The existing `from` and `to` fields may now be empty or null when a WhatsApp user has adopted a username and hidden their phone number. Update your event handlers accordingly. For more information, see [WhatsApp usernames and BSUIDs](../../../concepts/advanced-messaging/whatsapp/whatsapp-usernames-business-scoped-user-identifier.md).
99+
> [!WARNING]
100+
> **Breaking change:** The existing `from` and `to` fields may now be empty or null when a WhatsApp user has adopted a username and hidden their phone number. Update your event handlers accordingly. For more information, see [WhatsApp usernames and BSUIDs](../../../concepts/advanced-messaging/whatsapp/whatsapp-usernames-business-scoped-user-identifier.md).
101101
102102
## Next steps
103103

articles/event-grid/communication-services-advanced-messaging-events.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ Example scenario: A WhatsApp user sends a WhatsApp message to a WhatsApp Busines
3636

3737
#### Attribute list
3838

39+
> [!WARNING]
40+
> **Breaking change:** The `from` field may now be empty when a WhatsApp user has adopted a username and hidden their phone number. Update your event handlers to use the new `fromBSUID` field instead of relying solely on `from`. For more information, see [WhatsApp usernames and BSUIDs](/azure/communication-services/concepts/advanced-messaging/whatsapp/whatsapp-usernames-business-scoped-user-identifier).
41+
3942
Details for the attributes specific to `Microsoft.Communication.AdvancedMessageReceived` events.
4043

4144
| Attribute | Type | Nullable | Description |
@@ -347,6 +350,9 @@ Example scenario: Contoso uses an active Advanced Messaging channel connected to
347350

348351
#### Attribute list
349352

353+
> [!WARNING]
354+
> **Breaking change:** The `to` field may now be empty when the message was sent to a BSUID. Update your event handlers to use the new `toBSUID` field instead of relying solely on `to`. For more information, see [WhatsApp usernames and BSUIDs](/azure/communication-services/concepts/advanced-messaging/whatsapp/whatsapp-usernames-business-scoped-user-identifier).
355+
350356
Details for the attributes specific to `Microsoft.Communication.AdvancedMessageReceived` events.
351357

352358
| Attribute | Type | Nullable | Description |

0 commit comments

Comments
 (0)