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 choose between Xrm.WebApi, the Dataverse Web API and the Dataverse SDKs?

Study FAQ

How do I choose between Xrm.WebApi, the Dataverse Web API and the Dataverse SDKs?

Exam · AB-400Knowledge domain · Extend Microsoft Power Platform (35–40%)Updated Nov 25, 2026
Also asked as 2
  • Which Dataverse client fits hosted JavaScript, an external .NET app or a Python service?
  • When should a Dataverse application use a hosted client API, direct HTTP or an SDK?

Answer

Choose the Dataverse client based on the execution host and the programming model. For JavaScript inside a model-driven app, start with the host's Xrm.WebApi. For an independent app or a portable integration that wants HTTP and OData v4 directly, use the Dataverse Web API. For an external .NET application built around typed requests and responses, use the SDK for .NET with ServiceClient. A Python application can use the Dataverse SDK for Python with an Azure Identity credential or manage Web API calls directly. Xrm.WebApi · Dataverse Web API · SDK for .NET · Dataverse SDK for Python

The Web API and SDK express operations on the same Dataverse service. In the Web API, normal row operations use POST, GET, PATCH and DELETE. Check the documented Action or Function for named operations instead of assuming an SDK request name maps directly to a URL. The legacy 2011 SOAP endpoint deprecation concerns that transport. Updated SDK assemblies continue to provide the Organization service programming model. Web API operations · Organization service overview

Inside a Dataverse plug-in, use the supported in-process SDK and the Organization service provided by execution context. Verify the host, environment, principal and a permitted operation before extending any external integration, and check that your selected SDK version supports the operations and runtime you need. Write a Dataverse plug-in

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.