Microsoft PL-400 Practice Exams
Last updated on Nov 16,2026- Exam Code: PL-400
- Exam Name: Microsoft Power Platform Developer
- Certification Provider: Microsoft
- Latest update: Nov 16,2026
You are configuring a Microsoft Power Virtual Agents chatbot to use the authenticate option for Microsoft Teams only.
You need to select the variables that will return information about the logged in user.
Which two variables should you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
- A . AuthToken
- B . UserDisplayName
- C . UserlD
- D . IsLoggedln
DRAG DROP
You are developing a new Power Apps Component Framework (PCF) control.
The control must be deployed to a development environment by using the Power Apps CLI and a new solution.
You need to deploy the PCF control.
Which four actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.

A company plans to replicate a Dynamics 365 Sales database into an Azure SQL Database instance for reporting purposes. The Data Export Service solution has been installed.
You need to configure the Data Export service.
Which three actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A . Enable auditing for all entities that must be replicated to Azure SQL Database.
- B . Create an export profile that specifies all the entities that must be replicated.
- C . Set up server-based integration.
- D . Enable change tracking for all entities that must be replicated to Azure SQL Database.
- E . Create an Azure SQL Database service in the same tenant as the Dynamics 365 Sales environment.
HOTSPOT
You are examining code written by another developer that is not functioning correctly. There are no other JavaScript or business rules in use on the form.
This code is properly registered to the OnChange event of the telephone1 field on an account entity form.
The main operation is to update the primary contact’s phone number when the account phone number changes. The primary contact field is a lookup. (Line numbers are included for reference only.)

For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

HOTSPOT
You have a model-driven app that uses the Common Data Service (CDS). You create three custom entities that are in many-to-one parental relationships with the Account entity.
You run a real-time workflow that assigns an account you own to another user.
You receive the error message as shown in the Error Message exhibit. (Click the Error Message tab.)

You check the security roles for the user as shown in the Manage User Roles exhibit. (Click the Manage User Roles tab.).

You also check the privileges for that role as shown in the Common Data Service User Security Role exhibit. (Click the Security Role tab.)

You need to prevent the error from recurring.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

HOTSPOT
A company must copy customer account data changes from a Common Data Service (CDS) instance into an external system.
Azure Storage Queues are used to pass the changes from CDS to the external system.
You have the following code. (Line numbers are included for reference only.)

For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

Topic 3, Contoso Pharmaceuticals
Case study
Overview
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.
Background
Contoso Pharmaceuticals manufactures and sells drugs to retail and wholesale pharmacies, hospitals, and research facilities.
The company plans to implement Dynamics 365 Sales and Dynamics 365 Finance.
Current environment
✑ Contoso maintains a Microsoft Excel workbook that lists all drugs they supply.
✑ Pharmacies submit order requests through email.
✑ All information at customer locations is handwritten by customer representatives.
✑ Contoso uses Cerner, which is a medical industry application that uses a proprietary database.
✑ Some accounts are referrals from other pharmacies.
✑ Every pharmacy has its own Dynamics 365 Sales instance.
Requirements
General
Contoso wants to ensure that there is minimal custom code and custom connectors in the system.
Accounts
✑ Ensure that the names of the pharmacies are synced between the accounting and the customer management systems.
✑ Account numbers should be entered automatically into the pharmaceutical system that is in a Cerner database and kept in sync.
✑ When the account is entered into the system, extra fields must appear if the referral customer box is selected. If the box is not selected, the extra fields must not appear.
✑ A trigger must be created that changes the Priority field to 1 in the Account record 10 days after an Account record is created.
✑ A field named Priority_Trigger must be created to trigger the Priority field.
✑ A field named Facility type field must be added in order to select whether a
customer is a retail pharmacy, wholesale pharmacy, research facility, or hospital.
Users
✑ UserA must be able to create and publish Power Apps apps.
✑ UserB must be the owner of all the systems and be able to provide permissions and create all new environments.
✑ UserC must be able to create apps connected to the systems and update the security roles and entities.
✑ Pharmacy representatives must only be able to run the apps and access their own records.
✑ Access to the accounting Power Apps app must be restricted to accounting team members.
✑ End users must have minimum access to the required systems.
✑ Only supervisors must be able to view phone numbers in the Accounts form.
✑ Developers must be able to create new apps for all users.
✑ Sales users must only have access to their own records.
Reporting
Pharmacy orders must be displayed in four graphs as follows:
✑ Annual revenue over $100,000
✑ Annual revenues under $100,000
✑ Research facilities
✑ Hospitals
The graphs must be interactive, and users must be able to drill down on any dimension.
Customizations
✑ Ensure that notifications are sent to the sales team when a lead is added by using Slack.
✑ Ensure that leads have a review stage added to the sales process.
✑ Doctors must be manually added to a custom entity named Doctor if the doctor is not listed.
✑ Refill dates for customer prescriptions should be automatically determined and a notification should be sent to the customer.
✑ Fields for the doctor’s name and phone number must be displayed in the customer record.
✑ The doctor entered on the customer’s record must be validated against doctors that exist in the system.
✑ The new solution will be sold to other pharmacies for use. The application must not allow changes to be made.
✑ The solution must be error free so that when it is installed in other environments it does not cause issues.
✑ A custom mobile app must be created to allow salespeople to add or search by pharmacy name.
✑ Pharmacy records must be uniquely identified by pharmacy name, address, contact name, and phone number.
✑ When a pharmacy is added by using the mobile app, the phone number must be validated to be all digits.
HOTSPOT
You need to configure the fields with the appropriate type.
Which type should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

A company designs a solution that contains a new real-time workflow. The workflow populates a lookup column that has a default value.
A managed solution is imported to the test environment.
An error occurs when a test engineer attempts to create a record. The error message states, "Record is not available.”
You need to resolve the error.
What should you do?
- A . Add missing lookup table records to the solution.
- B . Go to the test environment and manually create missing lookup table records.
- C . Use the Configuration Migration Tool to extract the lookup table data from the development environment and import it to the test environment.
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
A Common Data Service (CDS) environment has two custom entities named Building code and Work item. Building code has a code date custom field and Work item has an elapsed time custom field. Construction workers use a consolidated custom form with data from both entities to fill.in their daily work items.
A JavaScript library is used with these custom entities and fields to apply complex logic.
You need to ensure that the JavaScript library continues to function as originally designed if other developers expand the environment.
Solution: In the JavaScript library, add Building code with Code date and Work item with Elapsed time in the dependencies tab.
Does the solution meet the goal?
- A . Yes
- B . No
DRAG DROP
You are testing the deployment of a model-driven app. Microsoft Entra ID groups are used exclusively to manage environment- and team-level permissions.
Users encounter several access-related issues that prevent them from testing the app.
You need to select the component to use to resolve each issue by using the principle of least privilege.
What should you assign to resolve each issue? To answer, move the appropriate resolutions to the correct issues. You may use each resolution once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.


