
AB-400: Extending Microsoft Power Platform Solutions with Code and AI is the exam for the Microsoft Certified: Power Platform Developer Associate certification. AB-400 replaced PL-400. Registration for PL-400 closed on 16 October 2026, and the last PL-400 exams were taken on 30 October 2026. Passing AB-400 earns the same Power Platform Developer Associate certification. The exam is for developers who extend Power Apps, Dataverse and Power Automate with code: plug-ins, PCF components, client scripts, the new Power Apps code apps, custom connectors, Azure Functions and, new in this version, agents built with Microsoft Foundry and Copilot Studio. Hyderabad's Microsoft partners and GCCs run many Power Platform and Dynamics 365 projects, and developers who can write the code behind low-code solutions are needed on those teams.
This guide follows Microsoft's official AB-400 study guide (skills measured as of 16 October 2026) and the certification page, checked November 2026. It covers the exam facts, all four skill areas, code examples to practise, a 6-week plan and 15 original practice questions.
Quick facts (Microsoft Learn, checked November 2026)
| Item | Detail |
|---|---|
| Certification | Microsoft Certified: Power Platform Developer Associate (intermediate level) |
| Exam | AB-400: Extending Microsoft Power Platform Solutions with Code and AI (replaced PL-400, which retired on 30 October 2026) |
| Duration | 100 minutes; the exam is proctored and may include interactive components |
| Number of questions | Not published; check the official page |
| Passing score | 700 or greater |
| Price | Based on the country or region where the exam is proctored |
| Languages and delivery | English; scheduled through Pearson VUE |
| Renewal | Every 12 months, through a free online assessment on Microsoft Learn |
| Key areas | Dataverse plug-ins and custom APIs, PCF components, client scripting, Power Apps code apps, Web API and SDKs, Azure Functions, cloud flows, custom connectors, Foundry and Copilot Studio agents, ALM |
Read the official AB-400 study guide and certification page before you book. The certification page also links a free practice assessment.
Skills measured
| Skill area | Weight | What it covers |
|---|---|---|
| 1. Build Microsoft Power Platform solutions | 15–20% | Technical architecture, solution component design, ALM |
| 2. Extend the user experience | 25–30% | Client scripting in model-driven apps, PCF code components, building, deploying and managing Power Apps code apps |
| 3. Extend Microsoft Power Platform | 35–40% | Dataverse plug-ins and custom APIs, platform APIs and SDKs, Azure Functions, cloud flows and Copilot Studio workflows, Foundry agents |
| 4. Develop integrations | 10–15% | Dataverse events, data synchronisation, custom connectors |
"Extend Microsoft Power Platform" is the biggest area, so most of your lab time should go into plug-ins, the Web API and Azure Functions.
1. Build Microsoft Power Platform solutions (15–20%)
This area tests design decisions before any code is written.
- Technical architecture. Decide whether out-of-the-box features are enough. If not, decide where business logic belongs: a business rule, client script, plug-in, cloud flow or cloud service. Choose between standard, virtual and elastic tables or a connector. Understand how managed environments, data policies, security roles, teams, business units and row sharing affect your components. Know when to use deterministic logic, such as a plug-in, and when non-deterministic AI logic fits. For the user experience, choose between code apps, generative pages, PCF components, web resources, interactive agents and MCP app widgets. For agents, choose between Microsoft Foundry and Copilot Studio.
- Solution components. Design reusable Power Apps components, custom connectors and MCP servers, plug-ins and custom APIs, cloud flows and Copilot Studio workflows, inbound and outbound integrations with Azure, code apps, custom agents, and monitoring with Application Insights and Power Platform monitor alerts.
- ALM. Manage solution dependencies and solution layers, use environment variables instead of hard-coded URLs and IDs, extend Power Platform Pipelines, and build CI/CD with Power Platform Build Tools.
2. Extend the user experience (25–30%)
- Client scripting in model-driven apps. Write JavaScript against the Client API (
formContext,Xrm.WebApi,Xrm.Navigation). Know how to register event handlers, call the Dataverse Web API from script, build commands and buttons with Power Fx and JavaScript, and show dialogs and notifications. - PCF code components. Know the lifecycle methods (
init,updateView,getOutputs,destroy), theControlManifest.Input.xmlmanifest, and the Device, Utility and Web API features available incontext. Package, deploy and use a component. - Power Apps code apps (new). Code apps are web apps you build in your own code editor and run on Power Platform. The exam covers connecting them to Power Platform connections, Dataverse tables and actions, cloud flows, Copilot Studio agents and environment variables. It also covers deployment: Content Security Policy settings, Application Insights monitoring, packaging and sharing, troubleshooting with Monitor and browser tools, and performance.
3. Extend Microsoft Power Platform (35–40%)
- Dataverse plug-ins. Know the event pipeline stages (PreValidation, PreOperation, PostOperation) and what each is used for. Use the execution context and pre- and post-images, and call the Organization service. Register plug-ins with the Plug-in Registration Tool. Build custom API messages, configure business events, use managed identity for plug-ins, and keep plug-ins fast.
- Platform APIs. Use the Dataverse Web API, the Organization service, and the Dataverse SDKs for .NET and Python. Authenticate with OAuth. Handle service protection limits with retries, and optimise for concurrency, transactions and bulk operations. Run long work with background operations.
- Azure Functions. Move long-running work out of plug-ins into functions with scheduled or event-driven triggers, and authenticate to Power Platform with managed identities.
- Cloud flows and Copilot Studio workflows. Write complex expressions, handle errors with scopes and run-after settings, set trigger filters and retry policies, reuse logic with child flows, and authenticate the Dataverse connector with a service principal.
- Foundry agents (new). Integrate custom agents through Power Platform MCP servers, connect them to Copilot Studio agents, reach Dataverse data through Work IQ, and consume Copilot Studio agents with the Copilot Studio client library.
4. Develop integrations (10–15%)
- Dataverse events. Publish events with
IServiceEndpointNotificationServiceor the Plug-in Registration Tool. Register webhooks, Azure Service Bus and Azure Event Hubs endpoints, and recommend the right listener. - Synchronisation. Use change tracking, alternate keys and
UpsertRequest. - Custom connectors. Set up authentication, apply policy templates, import OpenAPI definitions or Azure services, write connector code to transform data, and back a connector with an Azure Function.
Code examples to practise
Power Platform CLI: create, build and push a PCF component
# sign in to your developer environment
pac auth create --environment https://yourorg.crm.dynamics.com
# scaffold a field component and install npm packages
pac pcf init --namespace Contoso --name StarRating --template field --run-npm-install
npm run build
# push a debug build into the environment for testing
pac pcf push --publisher-prefix contoso
# export the solution as managed for test and production
pac solution export --name ContosoCore --path ./ContosoCore_managed.zip --managed
A PreOperation plug-in on account Create
using System;
using Microsoft.Xrm.Sdk;
public class AccountPreCreate : IPlugin
{
public void Execute(IServiceProvider serviceProvider)
{
var context = (IPluginExecutionContext)serviceProvider.GetService(typeof(IPluginExecutionContext));
var tracing = (ITracingService)serviceProvider.GetService(typeof(ITracingService));
if (context.InputParameters.Contains("Target") && context.InputParameters["Target"] is Entity target)
{
// PreOperation: change the record before it is saved, no extra Update call needed
if (!target.Contains("accountnumber"))
target["accountnumber"] = "AC-" + DateTime.UtcNow.ToString("yyyyMMddHHmmss");
tracing.Trace("Account number set in PreOperation");
}
}
}
Client script on a model-driven form
async function onLoad(executionContext) {
const formContext = executionContext.getFormContext();
const limit = formContext.getAttribute("creditlimit").getValue();
if (limit > 100000) {
formContext.ui.setFormNotification("High credit limit: review required", "WARNING", "creditNote");
}
// read related data through the Web API
const result = await Xrm.WebApi.retrieveMultipleRecords("contact", "?$select=fullname&$top=3");
console.log(result.entities.length + " contacts loaded");
}
Upsert with an alternate key through the Web API
PATCH [org]/api/data/v9.2/accounts(accountnumber='AC-1001')
Content-Type: application/json
{ "name": "Contoso Hyderabad", "telephone1": "040-0000000" }
If a row with that key exists, it is updated; if not, it is created. If you get HTTP 429 from service protection limits, wait for the time in the Retry-After header before retrying.
6-week study plan
| Week | Focus | Lab (free Power Apps Developer Plan environment) |
|---|---|---|
| 1 | Architecture choices, solutions, publishers, environment variables, solution layers, Power Platform CLI | Create a solution with an environment variable; export it managed and unmanaged |
| 2 | Client API scripting, commands with Power Fx and JavaScript, dialogs and notifications | Add a form notification and a custom command button |
| 3 | PCF lifecycle and manifest; Power Apps code apps with connections, Dataverse and flows; CSP and Application Insights | Build and push a PCF component; deploy a simple code app |
| 4 | Plug-ins: pipeline stages, images, Organization service, custom APIs, business events, managed identity | Register a PreOperation plug-in and a custom API with the Plug-in Registration Tool |
| 5 | Web API, .NET and Python SDKs, OAuth, retries, bulk operations; Azure Functions; cloud flow expressions, error handling and child flows | Move a long-running job into an Azure Function that uses managed identity |
| 6 | Integrations: webhooks, Service Bus, change tracking, UpsertRequest, custom connectors; Foundry and Copilot Studio agents; Build Tools and Pipelines; practice assessment | Build a custom connector from an OpenAPI file; set up a CI pipeline; book the exam |
15 practice questions with answers
These are original questions written for this guide, not exam questions.
1. A plug-in must set a column value before the record is saved, without an extra update call. Which stage should it use?
PreOperation. Changes to the Target there are saved as part of the same operation.
2. Which stage is best for validation that should cancel the operation before the main database transaction starts?
PreValidation.
3. Your plug-in needs a column's old value on Update. What do you register?
A pre-image that includes that column.
4. Why use environment variables in a solution?
So URLs, IDs and settings can change per environment without editing components after deployment.
5. Which PCF method is called whenever the bound data or the container size changes?
updateView.
6. Which file defines a PCF component's properties, resources and feature usage?
The manifest, ControlManifest.Input.xml.
7. A job takes several minutes to run. Why not run it in a synchronous plug-in?
Plug-ins have a time limit and block the user's transaction. Long work belongs in an Azure Function or a background operation.
8. What HTTP status code shows that Dataverse service protection limits were hit, and what should the client do?
429. Wait for the Retry-After interval, then retry.
9. How do you create a row if it does not exist and update it if it does, matching on a business key?
Use an upsert (PATCH with an alternate key in the Web API, or UpsertRequest in the SDK).
10. Which feature lets an external system fetch only rows that changed since its last sync?
Change tracking.
11. You want Dataverse to post event data to an external HTTPS endpoint. What do you register?
A webhook service endpoint, with a step on the message you want.
12. What can a custom connector policy template do?
Change connector behaviour at runtime, such as setting headers or routing requests, without changing the API.
13. How should a cloud flow handle a failed action and still notify someone?
Put the actions in a scope and add a notification action that runs after the scope has failed or timed out.
14. How should an Azure Function authenticate to Dataverse without stored secrets?
With a managed identity.
15. Which tool lets an AB-400 developer automate solution export and import in a CI/CD pipeline?
Power Platform Build Tools (or Power Platform Pipelines for in-product deployments).
Before and after AB-400
- Start with PL-900 if you are new to Power Platform; for agents, see AB-620 Copilot Studio and AB-100.
- Prepare for interviews with our Copilot Studio interview questions.
- Read our Power Platform career path and see live Power Platform and developer jobs.
Cloud Soft Solutions in Ameerpet, Hyderabad trains freshers and career changers for IT roles with real-time projects. See the APEX program and all courses.
📞 Call +91 96660 19191 · WhatsApp · Flat No. 513, 5th Floor, Nilagiri Block, Aditya Enclave, Ameerpet, Hyderabad
Frequently Asked Questions
What is the AB-400 exam?
AB-400: Extending Microsoft Power Platform Solutions with Code and AI is the exam for Microsoft Certified: Power Platform Developer Associate.
Has AB-400 replaced PL-400?
Yes. PL-400 registration closed on 16 October 2026 and the exam retired on 30 October 2026. AB-400 earns the same Power Platform Developer Associate certification.
What are the AB-400 skill areas?
Build Microsoft Power Platform solutions (15–20%), extend the user experience (25–30%), extend Microsoft Power Platform (35–40%) and develop integrations (10–15%).
How long is the AB-400 exam?
Microsoft's certification page gives 100 minutes. The exam is proctored and offered in English through Pearson VUE.
What is the AB-400 passing score?
700 or greater.
How long is the Power Platform Developer Associate certification valid?
12 months. You can renew it for free by passing an online assessment on Microsoft Learn.



