Run a classification scan
Run a classification scan to get tag suggestions for the columns in your tables that look like personal data. You set it up once as two jobs, then run them when you need or on a schedule.
Prerequisites
- Your role includes
tagging:manage. See Portal roles and permissions. - For an Auto Classification scan, at least one tag shows Ready for scan. See Create and manage tags.
How scans work
A scan uses two jobs on the query service of your Lakehouse:
| Job type | What it does |
|---|---|
| Metadata Ingestion | Reads the catalogs, schemas, tables, and columns. Run it first, and again after tables or columns change. |
| Auto Classification | Reads column names and sample rows, checks them with the recognizers of the tags that are ready for scan, and adds suggestions to Generated Suggestions. |
- Each service can have one Metadata Ingestion job and one Auto Classification job. Your Lakehouse may already have them. If a job of the type you need exists, edit it instead of creating one.
- An Auto Classification job runs only if at least one of the last 5 Metadata Ingestion runs succeeded. The Jobs & Configuration tab shows the latest success, for example
Last metadata success · 11/18/2026, 10:00:07 AM. - You cannot delete a job. You cannot change its Type or Service after you create it.
- An Auto Classification scan reads sample rows to classify them but does not store them.
Create a scan job
- In the left sidebar, select Tagging → Classification Scans.
- On the Jobs & Configuration tab, select Create Job.
- In Type, select Metadata Ingestion or Auto Classification.
- In Service, select the query service of your Lakehouse.
- Enter a Job name and, optionally, a Description.
- Optional: limit what the job reads with the include and exclude boxes. See the table below.
- Optional: enter a Schedule and check the Timezone.
- For an Auto Classification job, check Sample rows and Classification language.
- Select Create Job.

| Field | What to enter |
|---|---|
| Database includes, Database excludes | Catalogs to read or skip. One regular expression per line, for example ^sales$. Leave the box empty to read every catalog. |
| Schema includes, Schema excludes | Schemas to read or skip, in the same way. |
| Table includes, Table excludes | Tables to read or skip, in the same way. |
| Match on fully qualified name | Off by default, so the expressions match short names such as customers. Turn it on to match the full name of each object instead. |
| Include views | On by default. Turn it off to skip views. |
| Schedule | A cron expression in Timezone, for example 0 2 * * * for 02:00 every day. Leave it empty to run the job only with Run now. |
| Timezone | UTC by default. |
| Sample rows | Auto Classification only. The number of rows read from each table, 1 to 50. The default is 50. |
| Classification language | Auto Classification only. The default is en. With any, the scan runs every recognizer whatever its language. With a language code, it runs only the recognizers for that language. |
The portal checks Sample rows when you select Create Job. With a value outside 1 to 50, the field shows Sample rows must be a whole number from 1 to 50., the dialog stays open, and no job is created.
Deploy and run a job
The Jobs & Configuration tab lists each job with its Job name, Type, Service, Schedule, Scope, and Status. Schedule shows the cron expression, or Manual only for a job without a schedule. Scope sums up the include and exclude filters.

- In the row of the Metadata Ingestion job, select Deploy. Deploy makes the job ready to run with its current settings. It does not start a run.
- Select Run now, or wait for the schedule.
- Open the Run History tab and wait until the run shows Succeeded.
- In the row of the Auto Classification job, select Deploy.
- Select Run now, or wait for the schedule.
After the Auto Classification run succeeds, review its suggestions. See Review tag suggestions.
To change a job, select Edit, change the fields, then select Save changes. Type and Service are read-only in Edit Job.
Check the run history
- Open the Run History tab.
- Optional: type a job name, type, or run ID in Search runs.
- Optional: filter by Job or State.

The newest runs come first, 50 per page. Each row shows the Job / type, when the run Started, its Duration, its State, and the Operation / run IDs. You cannot filter by date.
| 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. Check the job settings and run it again. |
| Unknown | The portal could not confirm the outcome. This is not a success. |
When you cannot run a job
| Situation | What to do |
|---|---|
A run of this job is still in progress. The portal shows Pipeline already has active Portal operation <ID>, or Metadata Ingestion has an active Portal operation when you run the Auto Classification job. | Wait until the run ends in Run History, then run the job again. |
| The job finished a run less than 30 seconds ago. | Wait a moment, then select Run now again. |
| Auto Classification only: none of the last 5 Metadata Ingestion runs succeeded, or one is still running. | Run the Metadata Ingestion job and wait for Succeeded. |
| You try to create a second job of the same type for the service. | Edit the existing job instead. |