Skip to content

Commit 0921567

Browse files
Merge pull request #4873 from MicrosoftDocs/main
Auto Publish – main to live - 2026-04-20 22:05 UTC
2 parents 4b95e82 + 8614752 commit 0921567

3 files changed

Lines changed: 18 additions & 20 deletions

File tree

articles/cosmos-db/dynamic-data-masking.md

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Dynamic Data Masking (DDM) (Preview)
2+
title: Dynamic Data Masking (DDM)
33
description: Learn how to configure Dynamic Data Masking (DDM) in Azure Cosmos DB to protect sensitive data like personal data and protected health information with policy-based security features.
44
author: skhera
55
ms.author: skhera
@@ -11,14 +11,10 @@ appliesto:
1111
- ✅ NoSQL
1212
---
1313

14-
# Dynamic Data Masking in Azure Cosmos DB for NoSQL (preview)
14+
# Dynamic Data Masking in Azure Cosmos DB for NoSQL
1515

1616
This article explains how to configure Dynamic Data Masking on your Azure Cosmos DB account.
1717

18-
> [!IMPORTANT]
19-
> Dynamic Data Masking is in public preview.
20-
> This feature is provided without a service level agreement.
21-
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
2218

2319
## Overview
2420

@@ -50,6 +46,8 @@ Email | Only the first letter of the username and the domain ending (such as .co
5046

5147
Dynamic Data Masking can be configured for an account via the **Features** tab located under the **Settings** navigation pane.
5248

49+
:::image type="content" source="media/dynamic-data-masking/features.png" lightbox="media/dynamic-data-masking/features.png" alt-text="Screenshot of a dynamic data masking feature enablement in the Azure portal.":::
50+
5351
> [!NOTE]
5452
> Once Dynamic Data Masking is enabled on an account, it can't be turned off. Enabling this feature could require up to 15 minutes before it's ready in Azure Cosmos DB.
5553
@@ -179,8 +177,7 @@ In the Azure portal, go to your Azure Cosmos DB account, select **Container**, t
179177
{
180178
"path": "/projects/[]/details/technologies"
181179
}
182-
],
183-
"isPolicyEnabled": true
180+
]
184181
}
185182
```
186183

@@ -296,18 +293,19 @@ Applying masking rules requires extra processing to mask sensitive fields before
296293
- **Other Scenarios:**
297294
For queries that don't involve masked columns, Dynamic Data Masking has no effect on compute usage.
298295
299-
## Limitations and restrictions
300-
301-
1. Dynamic data masking is limited to the NoSQL API in Azure Cosmos DB.
302-
1. Once data masking is enabled at the account level, it remains active and can't be turned off.
303-
1. Enabling masking by itself doesn’t add cost, unless a masking policy is applied to a container.
304-
1. In the MaskSubstring strategy, only positive start positions are allowed. Reverse indexing isn’t allowed.
305-
1. Exclude paths can be used only when all paths(/) are included in the policy.
306-
1. Masking values on specific array indexes isn’t supported.
307-
1. If either the ID or the Partition Key is masked, the document view in Data Explorer (portal) doesn't work.
308-
1. Change feed (both Latest and AllVersionsAndDeletes) isn’t available for low-privileged users.
309-
1. Fabric Mirroring, materialized views, and backups (periodic or continuous) operate on unmasked data.
310-
1. Complex queries could occasionally expose unmasked data or enable inference of sensitive values. Dynamic Data Masking is intended to minimize data exposure for unauthorized users, not to prevent direct database access, or exhaustive queries.
296+
## Limitations and considerations
297+
298+
1. Dynamic Data Masking is limited to the NoSQL API in Azure Cosmos DB.
299+
1. Once dynamic data masking is enabled at the account level, it remains active and cannot be turned off. Removing all paths from the masking policy prevents masking from being applied.
300+
1. Enabling dynamic data masking does not incur additional cost, unless a masking policy is applied to a container.
301+
1. In the MaskSubstring strategy, only positive start positions are supported. Reverse indexing is not supported.
302+
1. Excluded paths are supported only when all paths (/) are included in the masking policy.
303+
1. Masking values on specific array indexes is not supported.
304+
1. If the ID or the Partition Key is masked, the document view in Data Explorer (portal) is not available.
305+
1. Change feed (Latest and AllVersionsAndDeletes) is not available for users without unmask permissions.
306+
1. Materialized views and backups (periodic or continuous) operate on original unmasked data.
307+
1. Fabric mirroring and Analytical store are not supported by default for accounts with Dynamic Data Masking enabled. To enable these capabilities, contact Microsoft Support.
308+
1. Complex queries may expose unmasked data or allow inference of sensitive values. Dynamic Data Masking is designed to minimize data exposure for unauthorized users and is not a substitute for restricting direct database access.
311309
312310
## Related content
313311
52.5 KB
Loading
-21.8 KB
Loading

0 commit comments

Comments
 (0)