Lesson 1 of 5 ALM for AI Solutions

Designing ALM for Data Used by AI

This lesson explains how to version, promote and trace the data that AI solutions depend on.

Learning outcomes

After completing this lesson, you will be able to:

  • Identify the types of data AI solutions depend on.
  • Describe how each type is versioned and promoted.
  • Explain the role of traceability.

Data as a managed asset

Application lifecycle management (ALM) is the set of practices that move a solution from development through testing to production in a controlled, repeatable way. For AI solutions, ALM must cover data, because changing a knowledge source or a training set changes behaviour as surely as changing code. An agent that passed testing against one version of a policy library can give different answers when the library changes, and a model retrained on new data can behave differently from the one that was approved.

The data that AI solutions depend on falls into several types, each with its own lifecycle.

  • Knowledge content: documents, pages and records that ground answers.
  • Configuration data: business terms, glossary entries, Copilot settings, experience profiles and routing rules stored as data rather than as solution components.
  • Test and evaluation data: test sets, expected answers and evaluation results.
  • Training and tuning data: labelled examples used to train or fine-tune models.
  • Operational data: transcripts, telemetry and feedback, which feed the backlog and future training.

Designing the process

An ALM process for AI data applies the same disciplines as code ALM: versioning, environments, promotion and traceability. The following table shows how each type of data is typically handled.

Data typeVersioning and promotionKey control
Knowledge contentOwned in its source system, with versions and approval; environment-specific sources selected with environment variablesTest agents against a test copy or test site before content goes live
Configuration dataExported and imported with configuration migration tools or included in solutions where supportedKeep test and production configuration consistent
Test and evaluation dataStored under version control with the solutionThe same test set gates every release
Training and tuning dataVersioned data sets with lineage to the models trained on themHeld-out test sets never used in training
Operational dataRetained according to policy; anonymized before reusePrivacy and retention compliance

Power Platform pipelines deploy solutions with their connections, connection references and environment variables, but they do not move Dataverse table data. Data that an agent needs in each environment, such as reference records, must therefore be moved with separate data migration tooling, and personal data should be masked or replaced with synthetic data in non-production environments.

Traceability

Traceability links each production behaviour back to the data that produced it: which knowledge version an agent used on a date, which data set trained a model version, which test set approved a release. It supports troubleshooting, because a regression can be traced to a content change, and it supports audit, because the organization can show what data an AI decision relied on. Traceability is also the foundation for the audit trails required by governance.

Worked example

Controlling knowledge changes

A pharmaceutical company's medical information agent answers health professionals from approved product documents in SharePoint. Last month, an author uploaded a draft document to the production library, and the agent quoted it before anyone noticed. The company must show regulators which approved content the agent used. What ALM process should you design for the knowledge data?

The production knowledge library should accept only approved documents, published through a controlled step such as an approval workflow, while drafts stay in a separate authoring library. Environment variables point the development and test agents at test libraries and the production agent at the production library. Each approved document version is recorded with its approval date, so that the company can show which versions were live on any date, and the regression test set runs whenever a significant document change is approved.

Check yourself

Do Power Platform pipelines move Dataverse table data between environments?

Show answer

No. They move solutions with connections, connection references and environment variables; table data needs separate tooling.

Exam Tips

Remember for the exam

  • ALM for AI covers knowledge, configuration, test, training and operational data.
  • Pipelines move solutions, connections, connection references and environment variables, not table data.
  • Use environment variables to point each environment's agent at its own sources.
  • Traceability links production behaviour to data versions for troubleshooting and audit.