Tagging rules and limits
This page lists the rules the portal applies to tags, recognizers, and classification scan jobs. Use it when a value is rejected or when you look up a status or a message.
Field rules
Tag
| Field | Required | Rules |
|---|---|---|
| Classification | Yes | An existing classification. Cannot be changed after you create the tag. |
| Tag name | Yes | 1 to 128 characters. Starts with an ASCII letter, followed by letters, digits, underscores (_), or hyphens (-). No spaces. |
| Display name | No | Up to 256 characters. |
| Description | Yes | 1 to 4,000 characters. |
| Enable Auto Classification | No | Off by default. Needs a tag in the PII classification and at least one enabled recognizer. |
Valid tag names: Email, Contact_Email, tax-code.
Invalid tag names: 1Email (starts with a digit), Contact Email (space).
Recognizer
| Field | Required | Rules |
|---|---|---|
| Recognizer name | Yes | 1 to 256 characters. Unique within the tag, ignoring upper and lower case. |
| Type | Yes | Pattern, Deny list, or Context. |
| Target | No | Sample data (default) or Column name. |
| Language | No | 2 to 16 characters, for example en. |
| Supported entity | Yes | 1 to 256 characters, for example EMAIL_ADDRESS. |
| Enabled | No | Selected by default. |
| Regex | For Pattern | Up to 4,000 characters. |
| Score, Min score, Max score | No | A number from 0 to 1. Min score cannot be greater than Max score. |
| Deny list, Context words | For these types | 1 to 1,000 entries, one per line. |
Scan job
| Field | Required | Rules |
|---|---|---|
| Type | Yes | Metadata Ingestion (default) or Auto Classification. Cannot be changed after you create the job. |
| Service | Yes | The query service of your Lakehouse. Cannot be changed after you create the job. |
| Job name | Yes | 1 to 256 characters. |
| Description | No | Up to 4,000 characters. |
| Include and exclude boxes | No | One regular expression per line, up to 100 lines in each box. |
| Match on fully qualified name | No | Off by default. |
| Include views | No | On by default. |
| Schedule | No | A cron expression, up to 128 characters. Empty means Manual only. |
| Timezone | No | UTC by default. |
| Sample rows | Auto Classification | 1 to 50. The default is 50. |
| Classification language | Auto Classification | 2 to 16 characters. The default is en. |
Limits
| Item | Limit |
|---|---|
| Recognizers per tag | 100 |
| Destination tags in one copy | 50 |
| Scan jobs per service | 1 Metadata Ingestion job and 1 Auto Classification job |
| Before an Auto Classification run | 1 success within the last 5 Metadata Ingestion runs |
| Time between two runs of the same job | 30 seconds by default |
| Refresh of Generated Suggestions | Every 30 seconds while the tab is open |
| Rows per page in Tagging lists | 50 by default |
| Tag policies follow a change to a confirmed tag | Within 10 minutes when the system works normally |
You cannot delete a scan job, tag a whole table, or accept several suggestions at once.
Statuses
Auto Classification status of a tag
| Status | Meaning |
|---|---|
| Not configured | The tag has no recognizer. |
| Disabled | The tag has recognizers, but Auto Classification is off. |
| Ready for scan | Auto Classification is on and the tag has an enabled recognizer. |
Tags on a column
| Value | Meaning |
|---|---|
| Label type Manual | Someone added the tag by hand in Data Explorer. |
| Label type Generated | Someone accepted a suggestion from a classification scan. |
| State Confirmed | The tag shows in Data Explorer and tag policies use it. |
Suggestions that nobody has reviewed appear only in Generated Suggestions.
Run states
| State | Meaning |
|---|---|
| Queued | The run waits to start. |
| Running | The run is in progress. |
| Succeeded | The run finished. |
| Partial success | The run finished, but part of it failed. |
| Failed | The run did not finish. |
| Unknown | The portal could not confirm the outcome. This is not a success. |
Messages
Tags
| Message | Shown when | What to do |
|---|---|---|
Classification is required., Tag name is required., Description is required. | You select Create Tag with that field empty. | Fill in the field. |
Tag name must start with an ASCII letter and contain only letters, digits, underscores, or hyphens. | The Tag name breaks the naming rule, for example 1Email or Contact Email. | Change the name. See the field rules above. |
Auto Classification requires a runtime-eligible Classification and at least one enabled typed recognizer. | You turn on Enable Auto Classification for a tag that is not in the PII classification or has no enabled recognizer. The message shows under the switch. | Add or enable a recognizer first, or leave Auto Classification off. |
Policies that use this tag may stop applying after it is renamed or deleted. | You open Edit Tag or Delete Tag. It is the first sentence of a longer notice. | Check the tag policies that use the tag before you rename or delete it. |
No confirmed column assets found for this Tag. | No column has this tag as a confirmed tag. | Add the tag to a column, or accept a suggestion. |
Recognizers
| Message | Shown when | What to do |
|---|---|---|
Recognizer name is required. | Add initial Recognizer is on in Create Tag and Recognizer name is empty. | Enter a name, or turn Add initial Recognizer off. |
A recognizer with this name already exists on the tag. | The tag already has a recognizer with that name, ignoring upper and lower case. | Choose another name. |
Score must be between 0 and 1. | Score is lower than 0 or greater than 1. | Enter a number from 0 to 1. |
Min score must not be greater than max score. | In a Context recognizer, Min score is greater than Max score. The message shows under Max score. | Lower Min score or raise Max score. |
Auto Classification is on. Keep at least one enabled typed recognizer, or turn Auto Classification off in the same edit. | You try to turn off or remove the last enabled recognizer while Auto Classification is on. | Keep the recognizer enabled, or turn Auto Classification off first. |
Source recognizer type is not supported by the Portal | You try to copy a predefined recognizer. Nothing is copied. | Add the recognizer you need to the destination tag by hand. |
| Failed next to a tag under Copied destinations | The recognizer was not copied to that tag, for example because the tag already has a recognizer with the same name. | Fix the cause, then select Retry failed targets. |
Scan jobs
| Message | Shown when | What to do |
|---|---|---|
Each service can have one Metadata Ingestion job and one Auto Classification job. | Under Service in Create Job and Edit Job. | If a job of that type exists, edit it instead. |
Sample data storage is disabled. The workflow can still read sampled rows during classification. | You create or edit an Auto Classification job. | Nothing. Sample rows are read during the scan but not stored. |
Sample rows must be a whole number from 1 to 50. | You select Create Job with Sample rows outside 1 to 50. The message shows under the field. | Enter a whole number from 1 to 50. |
Run accepted | The portal sent your Run now request. The run has not finished. | Check the state in Run History. |
Pipeline already has active Portal operation <ID> | You select Run now while an earlier run of the job has not ended. | Wait until the run ends in Run History, then run the job again. |
Metadata Ingestion has an active Portal operation | You select Run now on the Auto Classification job while a Metadata Ingestion run has not ended. | Same as above. |
Columns and access
| Message | Shown when | What to do |
|---|---|---|
Service mapping error The catalog binding cannot resolve this table in the metadata catalog. Ask a platform administrator to review the binding. | The table is outside Tagging, for example a tpch sample table. | Contact your platform administrator. |
Entity changed; refresh and review | Someone changed the same tag, column, or suggestion after you opened it. | Select Refresh, check the latest values, and try again. |
Something went wrong | An action failed and the portal gives no reason. | Reload the page and try again. |
Metadata pending | No Metadata Ingestion run has read this table or column yet. You cannot tag it. | Run the Metadata Ingestion job, then try again. |
Tags temporarily unavailable | Tags cannot be loaded right now. Columns still show. | Wait a few minutes and reload the page. |
Access denied | Your role does not include tagging:manage. | Ask your Admin to add it to your role. |
Session expired | You were signed out. | Sign in again. |