Lesson 5 of 5 ALM for AI Solutions

Designing ALM for AI in Dynamics 365 Apps

This lesson explains how features, configuration, extensions and customizations move across environments.

Learning outcomes

After completing this lesson, you will be able to:

  • Identify the component types to manage.
  • Distinguish ALM for customer engagement and finance and operations apps.
  • Explain how to prepare for Microsoft updates.

What must be managed

AI in Dynamics 365 apps consists of several kinds of component, each moved differently. Microsoft features, such as Copilot capabilities and prebuilt agents, are delivered by Microsoft and enabled or configured in each environment. Configuration, such as Copilot settings, experience profiles, business terms, routing rules and agent settings, is stored as data or settings. Extensions, such as Copilot Studio topics, knowledge and tools added to Copilot in Sales, Customer Service or finance and operations apps, are solution components. App customizations, such as new fields or processes that AI depends on, follow each app's development lifecycle.

The ALM design must keep all four aligned across environments, because an extension tested against one configuration can fail in production if the configuration differs.

Customer experience and service apps

For Sales, Customer Service and Contact Center, which run on Dataverse, extensions and customizations move in solutions through pipelines, like other Power Platform components. Configuration that is stored as data, such as some Copilot and agent settings, may need to be moved with configuration data migration or reapplied as documented steps, and the design should list each setting and how it reaches each environment. Features enabled in the Power Platform admin center and the Copilot Service admin center are set per environment, so a release checklist records which features are on in test and production.

Finance and supply chain apps

Finance and operations apps have their own development lifecycle: code customizations in X++ are built and deployed as deployable packages to their environments, managed through Lifecycle Services or, increasingly, through unified environments in the Power Platform admin center. AI extensions to the Copilot chat and in-app help are made in the linked Dataverse environment, in the Copilot for finance and operations apps agent, and should be managed in solutions. Features are switched on through feature management in each environment.

The following table summarizes how each component type moves.

ComponentCustomer experience and service appsFinance and supply chain apps
Copilot Studio extensionsSolutions through pipelinesSolutions in the linked Dataverse environment
App customizationsSolutions through pipelinesDeployable packages
Feature enablementAdmin center settings per environmentFeature management per environment
Configuration dataConfiguration migration or documented stepsData management packages or documented steps

Microsoft updates

Microsoft updates Dynamics 365 apps continuously and in two major release waves each year, and AI features change particularly quickly. The ALM process should use early access to enable upcoming changes in a test environment, run the AI regression and end-to-end suites against them, and plan configuration changes before the update reaches production. Preview features should be enabled only in environments where their status is acceptable.

Worked example

Aligning a service extension across environments

A company extended Copilot in Dynamics 365 Customer Service with a Copilot Studio tool that checks warranty status, and set custom instructions and experience profiles in test. After deployment to production, representatives see no warranty information and Copilot ignores the company's tone. The tool's solution was imported successfully. What is the likely cause, and what should the ALM process include?

The solution moved the extension, but the configuration did not: Extend agent with Copilot Studio, the custom instructions and the experience profiles are settings in each environment and were not applied in production. The ALM process should include a release checklist or configuration migration for every Copilot setting and profile, verified after deployment, together with the solution pipeline for the extension and an end-to-end test in production after release.

Check yourself

How are X++ customizations in finance and operations apps moved between environments?

Show answer

As deployable packages, rather than as Power Platform solutions.

Exam Tips

Remember for the exam

  • Manage Microsoft features, configuration, extensions and app customizations together.
  • Customer engagement extensions move in solutions; settings per environment need checklists or migration.
  • Finance and operations code moves in deployable packages; chat extensions live in the linked Dataverse environment.
  • Use early access to test release wave changes against AI regression suites.