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. When should a Dataverse client use delegated OAuth access or an application user?

Study FAQ

When should a Dataverse client use delegated OAuth access or an application user?

Exam · AB-400Knowledge domain · Extend Microsoft Power Platform (35–40%)Updated Nov 25, 2026
Also asked as 2
  • Which OAuth identity should a Dataverse client use for interactive versus unattended access?
  • How do I choose between acting for a signed-in user and using application access in Dataverse?

Answer

Use delegated access when the Dataverse operation should run under a signed-in user's authority. Use application access for an unattended workload whose own identity should have explicitly assigned Dataverse rights. Both patterns use Microsoft Entra ID. A .NET or Python API choice alone leaves that authority decision open. OAuth authentication for Dataverse

For an independent public client that signs in a user, configure Dataverse delegated permission and use the target environment's /user_impersonation scope as documented. Keep application secrets and private keys out of a public client. For confidential, application-only requests, use the target environment's /.default scope and map the Entra principal to an application user with suitable roles in that Dataverse environment. Hosted model-driven app JavaScript normally uses the application-provided client surface and its active session. Dataverse OAuth scenarios · Application users and environment roles

Verify who is acting before testing business access. A user-facing action that must honor an operator's own permissions needs an acceptance test under that operator. A scheduled integration needs a separate test under the workload principal. Compare an allowed operation and one outside the intended grants for each pattern.

Full explanation

AB-400: Dataverse API Clients and OAuth Authentication

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.