Skip to main content

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​

FieldRequiredRules
ClassificationYesAn existing classification. Cannot be changed after you create the tag.
Tag nameYes1 to 128 characters. Starts with an ASCII letter, followed by letters, digits, underscores (_), or hyphens (-). No spaces.
Display nameNoUp to 256 characters.
DescriptionYes1 to 4,000 characters.
Enable Auto ClassificationNoOff 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​

FieldRequiredRules
Recognizer nameYes1 to 256 characters. Unique within the tag, ignoring upper and lower case.
TypeYesPattern, Deny list, or Context.
TargetNoSample data (default) or Column name.
LanguageNo2 to 16 characters, for example en.
Supported entityYes1 to 256 characters, for example EMAIL_ADDRESS.
EnabledNoSelected by default.
RegexFor PatternUp to 4,000 characters.
Score, Min score, Max scoreNoA number from 0 to 1. Min score cannot be greater than Max score.
Deny list, Context wordsFor these types1 to 1,000 entries, one per line.

Scan job​

FieldRequiredRules
TypeYesMetadata Ingestion (default) or Auto Classification. Cannot be changed after you create the job.
ServiceYesThe query service of your Lakehouse. Cannot be changed after you create the job.
Job nameYes1 to 256 characters.
DescriptionNoUp to 4,000 characters.
Include and exclude boxesNoOne regular expression per line, up to 100 lines in each box.
Match on fully qualified nameNoOff by default.
Include viewsNoOn by default.
ScheduleNoA cron expression, up to 128 characters. Empty means Manual only.
TimezoneNoUTC by default.
Sample rowsAuto Classification1 to 50. The default is 50.
Classification languageAuto Classification2 to 16 characters. The default is en.

Limits​

ItemLimit
Recognizers per tag100
Destination tags in one copy50
Scan jobs per service1 Metadata Ingestion job and 1 Auto Classification job
Before an Auto Classification run1 success within the last 5 Metadata Ingestion runs
Time between two runs of the same job30 seconds by default
Refresh of Generated SuggestionsEvery 30 seconds while the tab is open
Rows per page in Tagging lists50 by default
Tag policies follow a change to a confirmed tagWithin 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​

StatusMeaning
Not configuredThe tag has no recognizer.
DisabledThe tag has recognizers, but Auto Classification is off.
Ready for scanAuto Classification is on and the tag has an enabled recognizer.

Tags on a column​

ValueMeaning
Label type ManualSomeone added the tag by hand in Data Explorer.
Label type GeneratedSomeone accepted a suggestion from a classification scan.
State ConfirmedThe tag shows in Data Explorer and tag policies use it.

Suggestions that nobody has reviewed appear only in Generated Suggestions.

Run states​

StateMeaning
QueuedThe run waits to start.
RunningThe run is in progress.
SucceededThe run finished.
Partial successThe run finished, but part of it failed.
FailedThe run did not finish.
UnknownThe portal could not confirm the outcome. This is not a success.

Messages​

Tags​

MessageShown whenWhat 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​

MessageShown whenWhat 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 PortalYou 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 destinationsThe 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​

MessageShown whenWhat 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 acceptedThe 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 operationYou select Run now on the Auto Classification job while a Metadata Ingestion run has not ended.Same as above.

Columns and access​

MessageShown whenWhat 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 reviewSomeone changed the same tag, column, or suggestion after you opened it.Select Refresh, check the latest values, and try again.
Something went wrongAn action failed and the portal gives no reason.Reload the page and try again.
Metadata pendingNo Metadata Ingestion run has read this table or column yet. You cannot tag it.Run the Metadata Ingestion job, then try again.
Tags temporarily unavailableTags cannot be loaded right now. Columns still show.Wait a few minutes and reload the page.
Access deniedYour role does not include tagging:manage.Ask your Admin to add it to your role.
Session expiredYou were signed out.Sign in again.

Next steps​