Dynamics 365 interview questions for consultants and developers

Dynamics 365 interview questions depend on which side of the product you work on. Customer engagement roles (Sales, Customer Service, Field Service) are asked about Dataverse tables, security roles and business units, model-driven forms, plug-ins, JavaScript and Power Automate. Finance and operations roles are asked about legal entities, financial dimensions, posting, X++ extensions and data entities. Both ask how you move work through solutions and environments without breaking production.

By Published 9 min read

How Dynamics 365 shows up in interviews

Most interviews are for functional consultants, technical consultants and developers at Microsoft partners, or for in-house CRM and ERP teams. Functional rounds walk through a business process, such as lead to cash in Sales or case handling in Customer Service, and ask how you would configure it. Technical rounds go into plug-ins, form scripts, integrations and application lifecycle management. Finance and operations interviews are a different conversation: ledgers, dimensions, procurement and inventory setups, and X++ development. Say early which app family you know best, because many candidates claim both and interviewers test that claim quickly.

Fundamentals: Dataverse and the model-driven apps

Customer engagement basics
QuestionWhat it testsWhat a strong answer shows
What is Dataverse?PlatformThe data platform under Dynamics 365 customer engagement apps and Power Apps: tables, columns, relationships, business logic and security in one managed store, exposed through the Web API and the SDK.
Customer engagement versus finance and operations apps?Product mapSales, Customer Service, Field Service and Customer Insights run on Dataverse and are customized with the Power Platform. Finance, Supply Chain Management and related apps have their own database and X++ code, and connect to Dataverse through features such as dual-write or virtual tables. Business Central is a separate product for smaller businesses, customized with AL.
Which relationship types exist between tables?Data modelOne-to-many, many-to-one and many-to-many. One-to-many relationships have behaviors for assign, share, delete and reparent (parental, referential, restrict delete, or custom), which decide what happens to child rows.
What is a choice column?ColumnsA column with a fixed list of options (formerly an option set). A global choice is shared across tables, a local one belongs to one column. Values are stored as integers, so reports need the labels.
What are business units?SecurityContainers that group users and data for access. Security role privileges are granted at levels such as user, business unit, parent: child business units, or organization, which define how far a user's access reaches.
Owner teams versus access teams?SecurityOwner teams can own records and hold security roles, so their members get the team's access. Access teams hold no roles and grant access to individual records, which suits ad hoc collaboration on deals or cases.
What is a field security profile?Column-level securityA profile that grants read, update or create on secured columns, such as salary or national ID numbers, to specific users or teams, on top of their record access.
Business rule versus JavaScript?Form logicBusiness rules set values, requirement levels, visibility and validation without code, and some can run on the server too. JavaScript handles what rules cannot, such as calling the Web API, complex conditions or dynamic filtering of lookups.
Customer engagement basics. Scroll sideways on a small screen.

Intermediate: plug-ins, scripts and automation

  • What are the plug-in pipeline stages? Pre-validation runs before the main operation and before most security checks, and can run outside the database transaction. Pre-operation runs inside the transaction before the write, so changes to the target are saved without another update. Post-operation runs after the write, still inside the transaction when synchronous.
  • Synchronous or asynchronous plug-in? Synchronous when the user must see the result or an error immediately, or when data must stay consistent within the transaction. Asynchronous for slower work that can happen afterwards, such as calling another system.
  • What are pre-images and post-images? Snapshots of the record before or after the operation, registered on the step, so the plug-in can compare old and new values without querying the database again.
  • How do you prevent a plug-in from triggering itself in a loop? Check the execution context's Depth, filter the step to only the columns that matter, and avoid updating the same record in post-operation when a pre-operation change would do.
  • What does throwing InvalidPluginExecutionException do? In a synchronous step it rolls back the transaction and shows its message to the user, which is how a plug-in enforces a rule such as blocking a duplicate.
  • Why use formContext instead of Xrm.Page? Xrm.Page is deprecated. Handlers receive the execution context, and getFormContext() gives the form's data and controls, which also works in subgrids and quick view forms.
  • Power Automate, classic workflow or plug-in? Power Automate suits most asynchronous automation and integration with other services. Plug-ins suit real-time validation and logic inside the transaction. Classic real-time workflows still exist in older solutions, and many teams are replacing them.
  • How do you call Dataverse from outside? The Web API, an OData v4 REST endpoint with $select, $filter, $expand and paging, or the .NET SDK with IOrganizationService. Both authenticate with Microsoft Entra ID, typically through an application user for integrations.
var Contoso = Contoso || {};
Contoso.Account = {
    onCreditHoldChange: function (executionContext) {
        var formContext = executionContext.getFormContext();
        var onHold = formContext.getAttribute("creditonhold").getValue() === true;
        formContext.getAttribute("contoso_creditholdreason").setRequiredLevel(onHold ? "required" : "none");
        if (onHold) {
            formContext.ui.setFormNotification("Account is on credit hold. New orders need finance approval.", "WARNING", "credit-hold");
        } else {
            formContext.ui.clearFormNotification("credit-hold");
        }
    },

    onLoad: function (executionContext) {
        var formContext = executionContext.getFormContext();
        var id = formContext.data.entity.getId().replace(/[{}]/g, "");
        if (!id) {
            return; // new record, nothing to count yet
        }
        Xrm.WebApi.retrieveMultipleRecords(
            "opportunity",
            "?$select=name&$filter=_parentaccountid_value eq " + id + " and statecode eq 0"
        ).then(function (result) {
            if (result.entities.length > 0) {
                formContext.ui.setFormNotification(result.entities.length + " open opportunities on this account.", "INFO", "open-opps");
            }
        }, function (error) {
            console.log(error.message);
        });
    }
};
Account form script: a required reason when credit hold is set, and a count of open opportunities on load through Xrm.WebApi. Syntax-checked with Node.
using System;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Query;

// Step: Create of contact, PreOperation stage, synchronous.
public class ContactDuplicateEmailCheck : IPlugin
{
    public void Execute(IServiceProvider serviceProvider)
    {
        var context = (IPluginExecutionContext)serviceProvider.GetService(typeof(IPluginExecutionContext));
        var factory = (IOrganizationServiceFactory)serviceProvider.GetService(typeof(IOrganizationServiceFactory));
        var tracing = (ITracingService)serviceProvider.GetService(typeof(ITracingService));

        if (!context.InputParameters.Contains("Target") || !(context.InputParameters["Target"] is Entity target))
            return;

        var email = target.GetAttributeValue<string>("emailaddress1");
        if (string.IsNullOrWhiteSpace(email))
            return;

        email = email.Trim().ToLowerInvariant();
        target["emailaddress1"] = email; // pre-operation: saved with the record, no extra update

        var service = factory.CreateOrganizationService(context.UserId);
        var query = new QueryExpression("contact")
        {
            ColumnSet = new ColumnSet("contactid"),
            TopCount = 1
        };
        query.Criteria.AddCondition("emailaddress1", ConditionOperator.Equal, email);
        query.Criteria.AddCondition("statecode", ConditionOperator.Equal, 0);

        if (service.RetrieveMultiple(query).Entities.Count > 0)
        {
            tracing.Trace("Duplicate email blocked: {0}", email);
            throw new InvalidPluginExecutionException("An active contact with this email already exists.");
        }
    }
}
A pre-operation plug-in on Create of contact that normalizes the email and blocks an active duplicate. Not compiled here; it follows the documented IPlugin pattern.

Solutions, ALM and data

Deployment and integration questions
QuestionWhat it testsWhat a strong answer shows
Managed versus unmanaged solutions?ALMUnmanaged solutions are for development, where components can be edited. Managed solutions are the deployable, locked version for test and production, and removing one removes its components. Production should receive only managed solutions.
What is solution layering?TroubleshootingEach managed solution adds a layer on top of the system layer, with unmanaged changes on top of all. The top layer wins, so an unmanaged edit in production can hide a fix you deployed. The solution layers view shows which layer is active.
What is a publisher prefix?NamingThe prefix every custom table and column gets from the solution's publisher, such as contoso_. Use one publisher per organization so components do not end up with mixed prefixes.
How do you handle settings that differ per environment?ConfigurationEnvironment variables for values such as URLs and feature switches, and connection references for the connections flows use, so the same managed solution deploys everywhere.
How do you automate deployments?DevOpsExport from development with source control, then build and deploy with Power Platform pipelines or the Power Platform Build Tools in Azure DevOps or GitHub Actions, with solution checker in the pipeline.
What is FetchXML?QueryingDataverse's XML query language, used by views, reports, the Web API and the SDK. It supports filters, linked tables, aggregates and paging, and is what Advanced Find builds behind the scenes.
What is dual-write?F&O integrationA near real-time, two-way sync between finance and operations apps and Dataverse, so records such as customers, vendors and products stay aligned between the ERP and the customer engagement apps.
Deployment and integration questions. Scroll sideways on a small screen.
<fetch top="50">
  <entity name="opportunity">
    <attribute name="name" />
    <attribute name="estimatedvalue" />
    <attribute name="estimatedclosedate" />
    <filter>
      <condition attribute="statecode" operator="eq" value="0" />
      <condition attribute="estimatedclosedate" operator="next-x-days" value="30" />
    </filter>
    <link-entity name="account" from="accountid" to="parentaccountid" alias="acct">
      <attribute name="name" />
    </link-entity>
    <order attribute="estimatedvalue" descending="true" />
  </entity>
</fetch>
FetchXML: open opportunities closing in the next 30 days with their account name, largest first (parsed as valid XML).

Finance and operations questions

  • What is a legal entity? A company in the system with its own books, currency and fiscal setup. Many settings and transactions are per legal entity, while shared data such as products can be released to several.
  • What are financial dimensions? Extra attributes such as department, cost center or project attached to ledger postings, combined with main accounts through account structures. They drive reporting and are easier to change than adding more main accounts.
  • Why can you not overlayer standard code any more? Customization is done through extensions so Microsoft can update the standard application without merge conflicts. Chain of Command wraps standard methods: your extension calls next to run the original logic, adding behavior before or after it.
  • What are data entities? Abstractions over one or more tables used for imports, exports, OData and integrations through the Data management framework, so outside systems work with business concepts instead of raw tables.
  • What is a posting profile? A setup that maps customer, vendor or inventory transactions to the ledger accounts they post to, which is a frequent cause when postings land on the wrong account.

Senior and scenario questions

  • Sales reps in one region must not see another region's accounts, but managers see all. Model regions as business units, give reps a role with business unit-level read on accounts, give managers parent: child business units access, and use owner teams or sharing for cross-region deals.
  • A form takes seconds to load. How do you investigate? Count the tabs, subgrids and quick views loading on open, look for synchronous Web API calls or heavy onLoad scripts, collapse rarely used tabs so they load on demand, and use the browser tools and the form's performance insights to find the slow parts.
  • A fix deployed to production does not appear. Why? An unmanaged customization sits above the managed layer and wins. Check solution layers for the component, remove the unmanaged layer, and agree that production is changed only through deployments.
  • Design an integration between Dynamics 365 Sales and an external ERP for orders. Choose the system of record for each entity, use alternate keys for upserts, publish changes through webhooks, Azure Service Bus or Power Automate depending on volume, make every message safe to process twice, and monitor failures with alerts and a retry queue.
  • Data migration from another CRM: how do you plan it? Map tables and choices, cleanse and deduplicate before loading, load reference data first, then accounts, contacts and activities in dependency order with alternate keys, and reconcile counts and samples with the business before cutover.
  • When would you push back on a plug-in request? When a business rule, a calculated or rollup column, or a flow does the job and the team maintaining it has no developers. Code adds testing and deployment cost, so it should earn its place.

Fictional example

Answering "Cases must be escalated if a premium customer waits too long"
Interviewer
Premium customers' cases must go to a senior queue if nobody responds within four hours. How would you build it in Customer Service?
Candidate
I would not write code for this. Customer tier lives on the account as a choice column, and the case inherits it through the customer lookup. An SLA with a first response KPI applies when the customer tier is premium, using the support calendar so nights and weekends count correctly. On the SLA's warning and failure actions, a flow moves the case to the senior queue, notifies its members and adds a note to the timeline so the history is clear. I would also check routing rules so new premium cases start in the right queue in the first place. Testing covers a premium case answered in time, one that breaches, and one created outside business hours. Everything ships in one managed solution, with the queue referenced through an environment variable so test and production can differ.

How to prepare for Dynamics 365 interview questions

  1. Get a trial or developer environmentUse a Dynamics 365 trial or the Power Apps developer plan so you can customize tables, forms and security without risk.
  2. Build a small solutionA custom table with relationships, a form with a business rule and a script, a security role, a flow and a plug-in, all inside one solution with your own publisher.
  3. Move it between environmentsExport it as managed, import it elsewhere, then make an unmanaged change on top and see how layering hides your next deployment.
  4. Practice process walkthroughsLead to opportunity to quote to order, or case to resolution with SLAs and queues, explained with the configuration behind each step.
  5. Prepare one integration storyWhich system owned the data, how records matched, how failures surfaced and how you reconciled them.

Dynamics 365 projects overlap with other Microsoft and enterprise tools: SharePoint interview questions covers document storage that model-driven apps link to, Power BI interview questions covers reporting on Dataverse, and Salesforce interview questions is useful when an interviewer asks you to compare the two CRMs. For the HR system that often feeds employees and departments, see Workday interview questions.

Security and plug-in questions get easier once you have answered them aloud a few times. Natively, an AI interview assistant for Mac and Windows, transcribes a mock functional or developer round, can offer suggested answer points in real time, and in practice reads a form script, a plug-in registration or a solution error from a screenshot. Your résumé and the job description (Pro or the free trial) shape its suggestions, and each session's transcript and notes stay for later review.

Questions people ask

What are common Dynamics 365 interview questions?

Dataverse tables and relationships, business units and security roles, owner versus access teams, business rules versus JavaScript, plug-in stages and images, managed versus unmanaged solutions, FetchXML and, for finance roles, legal entities and financial dimensions.

What are the plug-in stages in Dynamics 365?

Pre-validation runs before the main operation and can run outside the transaction, pre-operation runs inside the transaction before the write, and post-operation runs after the write.

What is the difference between managed and unmanaged solutions?

Unmanaged solutions are for development, where components can be edited. Managed solutions are locked packages for test and production, and removing one removes its components.

How do I prepare for a Dynamics 365 interview?

Use a trial or developer environment, build a small solution with a table, form script, security role, flow and plug-in, move it as managed to another environment, and practice process walkthroughs such as lead to order.

Where to go next

Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.

Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.

Keep reading

Put it on your own machine.

A live-conversation assistant that runs locally. Your conversations stay on your machine.

macOS 12+ · Windows 10/11

© 2026 Natively AI Private Limited

Source-available under the Natively Personal Use Source License v1.0 · IP geolocation by DB-IP