How to Configure an AI Model in Dynamics 365 CRM for Sales Prediction (Step-by-Step Guide)

By | March 17, 2026

Sales Prediction

Sales teams generate large volumes of data in Microsoft Dynamics 365 CRM, but turning that data into accurate sales predictions can be challenging. Using AI-powered predictive models, organizations can automatically forecast outcomes such as:

  • Whether a Lead will convert
  • The probability of closing an Opportunity
  • Lead qualification likelihood
  • Sales pipeline outcomes

This guide explains how to configure an AI model in Dynamics 365 CRM for sales prediction step-by-step, even if you are not a data scientist.

Key Takeaways

  • AI models in Dynamics 365 CRM predict sales outcomes using historical CRM data.
  • Predict4Dynamics enables users to configure predictive models without coding.
  • Predictions automatically run when records are created or updated.
  • Explainable AI helps users understand why predictions are generated.

What Is an AI Model in Dynamics 365 CRM?

An AI prediction model analyzes historical CRM data to identify patterns and predict future outcomes. For example:

CRM Entity Prediction Example
Leads Predict whether a lead will qualify
Opportunities Predict deal win probability
Accounts Predict the likelihood of churn

Once configured, the model automatically generates predictions whenever a record is created or updated.

How do you configure an AI model in Dynamics 365 CRM for sales prediction?

To configure an AI model in Dynamics 365 CRM for sales prediction:

  1. Navigate to Predict AI Models.
  2. Create a new predictive model.
  3. Select the CRM entity (such as Leads or Opportunities).
  4. Provide historical data using FetchXML.
  5. Choose the fields that influence predictions.
  6. Select the target column to predict.
  7. Configure prediction triggers (Create or Update).
  8. Train the AI model.
  9. View predictions directly on CRM records.

Once configured, the model automatically predicts outcomes whenever CRM records are created or updated.

Let’s dive in one by one.

Step-by-Step Guide to Configure an AI Model in Dynamics 365 CRM

Step 1: Open Predict AI Models

Select Predict AI Models from the left navigation

You can either:

  • Create a new AI model
  • Use an existing sample model

This section is where all prediction models are managed.

Step 2: Create a New AI Model

Click New Model and start defining the prediction settings.

Enter Model Name: Provide a unique name for your model.

Example:

  • Lead Conversion Predictor
  • Opportunity Win Predictor
  • Sales Probability Model

This name helps differentiate multiple predictive models in CRM.

Sales Prediction

Step 3: Select the Table (Entity) to Predict

Choose the Dynamics 365 table (entity) where predictions will run.

Examples:

  • Leads
  • Opportunities
  • Accounts
  • Custom Entities

Both Out-of-Box and custom entities are supported.

Once configured, predictions will appear automatically for records in this entity.

Sales Prediction

Step 4: Select Historical Data for Model Training

The AI model needs historical CRM data to learn patterns.

In this step:

  1. Provide a FetchXML query
  2. Ensure the query retrieves data from the selected entity
  3. Include relevant fields used for prediction

Example data used for training:

  • Lead source
  • Industry
  • Region
  • Deal value
  • Probability score

Cleaner data improves prediction accuracy.

Sales Prediction

Step 5: Choose Columns That Influence the Prediction

Select fields that impact the prediction outcome.

These columns act as input features for the AI model.

Examples:

  • Lead source
  • Budget
  • Sales region
  • Customer industry
  • Opportunity size

Choosing the right influencing columns significantly improves prediction accuracy.

Sales Prediction

Step 6: Select the Column to Predict

This is the target field the AI model will forecast.

Example predictions:

Entity Prediction Column
Lead Status (Qualified / Disqualified)
Lead Rating (Hot / Warm / Cold)
Opportunity Win Probability

This enables automated insights for sales decision-making.

Step 7: Configure Prediction Triggers

Define when predictions should run. Available options:

  • On Create – Prediction runs when a new record is created
  • On Update – Prediction runs when influencing fields change

Most organizations enable both triggers to keep predictions updated automatically.

Sales PredictionStep 8: Enable Prediction Explainability

You can enable Explainable AI (XAI).

Options:

Yes: Shows explanation of why the prediction was generated

No: Displays only the predicted value

Explainability helps users trust AI-generated predictions.

Sales Prediction

Step 9: Display Predictions on CRM Forms

Select the Dynamics 365 form where prediction results will appear.

This ensures users can view predictions directly on the record page without navigating elsewhere.

Sales Prediction

Step 10: Configure Azure OpenAI Settings

By default, the model uses:

  • Model Name: gpt-model
  • API Version: 2025-01-01-preview

If your organization uses a custom Azure deployment:

  1. Enable OpenAI Configuration Settings
  2. Enter your Azure OpenAI model name
  3. Provide the API version

This enables seamless integration with Azure AI services.

Sales Prediction

Training the AI Model

After configuration:

  1. Click Configure Model
  2. Start the model training process

During training:

  • Status may show Queued
  • Then Running

The system analyzes historical CRM data to build predictive intelligence.

Verify Model Training Status

Once training completes:

  • Model status changes to Ready

This indicates the AI model is fully trained and available for predictions.

Sales Prediction

How Predictions Work in Dynamics 365 CRM

After activation:

  1. Create or update a Lead or Opportunity
  2. Prediction triggers automatically
  3. Open the record
  4. View prediction results in the Predict4Dynamics side panel

The panel displays:

  • Predicted outcome
  • Confidence explanation
  • AI insights

This allows sales teams to prioritize high-probability deals and improve forecasting.

Sales Prediction

Best Practices Post-Deployment of AI Prediction Model

After deploying the AI model:

  • Verify Azure resources are deployed successfully
  • Ensure AI service is active
  • Monitor prediction accuracy
  • Update training data periodically

Organizations should retrain models regularly to maintain accuracy as CRM data grows.

Benefits of Using AI Sales Prediction in Dynamics 365 CRM

Using predictive AI in CRM helps organizations:

  • Improve sales forecasting accuracy
  • Identify high-value leads
  • Prioritize sales efforts
  • Automate decision-making
  • Increase revenue predictability

Bonus:

If you are also looking for ways to guide your sales and service teams toward the right actions at the right time, Inogic’s Next Best Action app extends the power of predictive intelligence inside Microsoft Dynamics 365. This AI-driven assistant analyzes historical CRM data, engagement signals, and activity patterns to recommend the most impactful next step for leads, opportunities, cases, and custom entities. Whether it’s scheduling a call, sending a follow-up email, re-engaging a stalled opportunity, or escalating a case, the solution learns from past outcomes and delivers contextual, explainable recommendations directly within CRM forms, helping teams move from reactive actions to proactive decision-making.

Final Thoughts

AI-powered sales prediction is transforming how organizations use CRM data. Instead of relying on manual forecasting, businesses can use predictive intelligence to identify winning opportunities and optimize sales strategies. By configuring AI models directly within Dynamics 365 CRM, organizations can turn historical data into actionable sales insights that improve decision-making and pipeline visibility.

Want to have a complete demonstration of a working AI model? Reach us at crm@inogic.com or get Predict4Dynamics from the Inogic Website or the Microsoft Marketplace.

Category: Dynamics 365 Predict4Dynamics Tags:

About Sam Kumar

Sam Kumar is the Vice President of Marketing at Inogic, a Microsoft Gold ISV Partner renowned for its innovative apps for Dynamics 365 CRM and Power Apps. With a rich history in Dynamics 365 and Power Platform development, Sam leads a team of certified CRM developers dedicated to pioneering cutting-edge technologies with Copilot and Azure AI the latest additions. Passionate about transforming the CRM industry, Sam’s insights and leadership drive Inogic’s mission to change the “Dynamics” of CRM.