Diagnosing the 'remote name could not be resolved' 404 for the Northwind Web API connector

Create custom connectors
Answer Correct answer: D — 'Remote name could not be resolved' means the host name in the URL could not be resolved to an IP address, so it is missing a valid value.

Case study - 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 - Northwind Traders uses Microsoft Dynamics 365 Sales to manage its sales process. To better understand its customers, Northwind Traders invests in a team of researchers who gather data from multiple sources. The company stores the data it collects in a Microsoft Azure SQL Database. The company plans to use the data to enrich account records and make the sales team more effective. Current environment - Environment - • The company has three Microsoft Power Platform environments with Dynamics 365 Sales installed. The environments are named development, test, and production. • Each environment has an application user that can be used for integrations. • The company must use solutions to perform all customization and configuration deployment. Data - • Researchers are responsible for creating account records. • Researchers have permissions on the Account table to create records, read all records, and update records they own. • A synchronous plug-in runs when an account record is created and could reassign the record to a different user. • Users must access data as themselves to enforce security and audit changes. • A column named new_dataid is added to the Account table. The column uniquely identifies which data it should receive. • Researchers have researched only the top 20 percent of account records. Web API - • The company creates an Azure Function to run a RESTful .NET Web API. • Data can be retrieved by placing a GET request to the URL https://dataservice-[ENVIRONMENTNAME].azurewebsites.net/enrich/[DATAID]. • [ENVIRONMENTNAME] is the name of the Microsoft Power Platform environment that requests the data. • [DATAID] is the new_dataid column in the Account table. • The Web API response will return a 200 response plus data if the DataId is found. Otherwise, a 404 response is returned. • Developers plan to create a custom connector from the Web API to make it accessible from Microsoft Power Platform. Requirements - Custom connector - • The Web API definition used to create the custom connector must be generated based on a low-code technology. • The URL used by the custom connector must incorporate the current environment name without hardcoding values. • Errors generated by the custom connector must not cause downstream processes to fail. • Text descriptions and field placeholder text that describe the use of the custom connector must appear for non-developers. Process - • All account records must be updated with data from the Web API once automatically. • Only account records that contain a DataId should be updated by the Web API. • Researchers must create Power Automate flows to specify data analysis priority. • The researchers require a process that repurposes a set of identical steps of parameterized Microsoft Dataverse queries from a Power Automate flow for use in other flows that have different parameters. The researchers want to avoid recreating the steps manually each time they create a flow to save time and avoid errors. Issues - • A tester attempts to connect to the production instance of the Web API with a DataId that should return data. The tester receives an error stating that the remote name could not be resolved. • A missing component causes an error to occur when importing the solution that contains the Power Automate flow to update account records in a test environment. You need to determine the cause of the 404 error when connecting to the production instance of the Web API. What do you identify?

  1. The web service lacks data for the record.
  2. An authentication error occurred.
  3. The request timed-out.
  4. The host name in the URL is missing a valid value. Correct Answer

Community Votes

D
50%
A
50%

50% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The error text is the key, not the '404' in the question title. 'Remote name could not be resolved' is a DNS/host-resolution failure, which occurs when the environment name substituted into the URL (dataservice-[ENVIRONMENTNAME].azurewebsites.net) is missing or invalid — not when the record's data is absent.

A tester hitting the production Web API with a valid DataId receives 'the remote name could not be resolved.' The Web API returns 404 only when a DataId is not found, but a name-resolution failure means the host in the URL (built from the environment name) is invalid, so the host name in the URL is missing a valid value.

Picking A ('the web service lacks data for the record') because the case study says the Web API returns 404 when a DataId is not found. That 404 is a clean application response; the actual tester error is a name-resolution failure, which is a different, host-level cause.

Community Discussion (6 comments)

Juan0414 👍 1 Selected: A
"The Web API response will return a 200 response plus data if the DataId is found. Otherwise, a 404 response is returned." Tested it with a dataverse table, I tried to get a record that does not exist: "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionCategory": "ClientError", "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionMessageName": "ObjectDoesNotExist", "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionHttpStatusCode": "404" So, A
1285cc6 👍 1 Selected: D
The host name in the URL missing. it's a 404 error. you can't even access the web service when you get a 404.
PRash3566 👍 1 Selected: A
Correct
SvetlankaP99 👍 4
From the case study: "The Web API response will return a 200 response plus data if the DataId is found. Otherwise, a 404 response is returned." Question: "You need to determine the cause of the 404 error when connecting to the production instance of the Web API" I believe answer is • A. The web service lacks data for the record.
Jons123son 👍 2 Selected: A
A: 404 - Status Code is the error-response from a web server if a file is not found. It is the standard response and the question checks general knowledge and does not apply exclusively to Dataverse. Anyway you can test it by creating a flow and filter for a record in Dataverse that does not exist.
pey 👍 3 Selected: D
The error message indicating that the remote name could not be resolved suggests that the host name specified in the URL (https://dataservice-[ENVIRONMENTNAME].azurewebsites.net/enrich/[DATAID]) could not be resolved to a valid IP address, indicating a DNS resolution issue or a misconfiguration in the environment name specified in the URL. Therefore, the host name in the URL might be missing a valid value.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

The tester's error is explicitly 'the remote name could not be resolved,' which is a DNS/host-name resolution failure — the URL's host could not be mapped to an IP address. In the case study the host is dataservice-[ENVIRONMENTNAME].azurewebsites.net, where [ENVIRONMENTNAME] must be substituted from the current environment. If that value is missing or invalid, the host cannot resolve, producing this error rather than a clean 404 from the service.

Why the Other Options Are Wrong

A (web service lacks data) would produce the Web API's own 404 for a missing DataId, not a name-resolution error. B (authentication error) and C (request timed out) produce different messages and are not name-resolution failures. Only D matches the stated 'remote name could not be resolved' symptom.

Community Comment Notes

pey (likes=3) explains that 'remote name could not be resolved' indicates the host name in the URL could not be resolved, pointing to a DNS or environment-name misconfiguration. SvetlankaP99 (likes=4) initially leans on the case study's 'otherwise a 404 is returned' text, which is why many confuse this with A.

Official Reference

Related Analysis

Practice All PL-400 Questions

Access 85 questions with complete answers and detailed explanations.

View Full PL-400 Practice Test →

← Back to PL-400 Study Guide