Using OAuth 2.0 to connect Dataverse tables (APIs) in Postman (Using Grant type: Client Credentials, not Implicit) – Get, Patch, Post and Delete
This post explains how to use OAuth 2.0 with Client Credentials grant type to authenticate and interact with Dataverse APIs via Postman. It covers app registration setup, configuration of API permissions, adding the app to Power Platform environments, and performing CRUD operations (Get, Patch, Post, Delete) on Dataverse tables.

post Dynamics 365 Lab
"Unlike Business Central, tables (entities) in Dataverse are accessible by default, without the need for special API pages or publishing to Web Services."
Key points
- OAuth 2.0 Client Credentials is a simpler alternative to Implicit Grant Type for accessing Dataverse APIs
- App registration requires API permissions including user_impersonation, and the app must be added as an application user in Power Platform Admin Center
- Dataverse tables are accessible directly via Web API endpoints without requiring special API pages or Web Service publishing
- CRUD operations use standard HTTP methods with the Dataverse Web API endpoint, supporting query parameters like $select and $filter
Quotes
- “Unlike Business Central, tables (entities) in Dataverse are accessible by default, without the need for special API pages or publishing to Web Services.” (Key difference that simplifies API access to Dataverse compared to Business Central API setup)
AL objects mentioned
As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.
- codeunit “501”
Not found in BC28-30: codeunit “501”.
Heads up
- gotcha: “If the role does not have sufficient permissions, only empty values will be displayed when accessing data from the Dataverse API.”
- warning: “Please note that you need to grant permissions to the newly created table in advance”
Context
- Features: OAuth 2.0 authentication, Client Credentials grant type, Dataverse API access, App registration, Application users, Web API endpoint, CRUD operations on Dataverse tables
- Versions: Business Central 2024 wave 1
Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.