Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. AB-400/
  4. AB-400 Learning Path/
  5. Study FAQs/
  6. How do I restrict who can execute a Dataverse custom API and which rows it can change?

Study FAQ

How do I restrict who can execute a Dataverse custom API and which rows it can change?

Exam · AB-400Knowledge domain · Extend Microsoft Power Platform (35–40%)Updated Nov 25, 2026
Also asked as 2
  • Which checks actually protect a Dataverse custom API operation and its target row?
  • How can I enforce caller and record authorization for a Dataverse custom API?

Answer

Use ExecutePrivilegeName to require an appropriate existing Dataverse privilege, and enforce any additional target-row permissions and business eligibility in the implementation. IsPrivate controls metadata and code-generation discovery. A caller who knows the message can still compose a request, so use the privilege and row checks to protect execution. Dataverse provides no supported way to create a new standalone privilege for this setting. Dataverse custom API privacy and privileges

For an entity-bound release action, validate the target reference, establish the authorized caller and verify that caller may release the chosen request before contacting an Azure dependency or changing state. If the decision relies on a policy read from a configured resource, fail the request when the policy is inaccessible or invalid. Make any elevation deliberate. If the caller is another application, assign its application user the required Dataverse roles in the target environment. That inbound identity is separate from any identity the implementation uses for outbound Azure access. Plug-in execution identity · Manage Dataverse application users

Test an authorized operation, a caller who lacks the execute privilege, and a caller entitled to invoke the message who lacks access to the chosen row. Verify the recorded business state and any outbound work for each case. Dataverse custom API security settings

Full explanation

AB-400: Custom APIs, Business Events and Plug-in Identity

Study guide · AB-400

Read the full explanation →
← Back to AB-400 FAQsView learning path →

Related questions

How do I authorize callers of an Azure Function and let the Function access Dataverse with managed identity? →How do I make a long-running Dataverse job recoverable in Azure Functions? →How do I choose Azure Functions triggers and hosting for a Dataverse workload? →How should a Dataverse integration handle throttling and decide when to retry a write? →How do I diagnose a Dataverse application user that cannot access the target environment? →How do I submit a Dataverse background operation and verify whether it succeeded? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.