exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 5 question 49 discussion

Actual exam question from Microsoft's PL-400
Question #: 49
Topic #: 5
[All PL-400 Questions]

You create a custom API. You define the API as a function.

The custom API does not appear in the response received from https://[yourorg].api.crm.dynamics.com/api/data/v9.2/$metadata and returns an error when called.

You need to identify why the custom API is not working.

What should you do?

  • A. Add a response property to the custom API.
  • B. Add a request property to the custom API.
  • C. Set the Enabled for Workflow option of the customer API to True.
  • D. Set the is Private property of the custom API to False.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
oleav
Highly Voted 1 year ago
Selected Answer: D
"If you aren't willing to support other developers using your custom API, you should set the custom API Is Private (IsPrivate) property to true before you ship the managed solution containing your custom API. The Is Private property blocks the custom API from appearing within the $metadata service document and prevent Dataverse code generation tools from creating classes to use the messages for your custom API." ref: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/custom-api
upvoted 9 times
...
Juan0414
Most Recent 2 months, 3 weeks ago
Selected Answer: D
https://learn.microsoft.com/en-us/power-apps/developer/data-platform/custom-api#when-to-make-your-custom-api-private
upvoted 1 times
...
pey
6 months, 4 weeks ago
Selected Answer: D
Setting the "is Private" property to False allows the custom API to be accessible outside of the organization, which might resolve the issue of it not appearing in the metadata response and returning an error when called.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...