web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Can't find companies in my Dynamics 365 Business Central

(1) ShareShare
ReportReport
Posted on by 2
I am trying to fetch the companies list using the below API end point :
https://api.businesscentral.dynamics.com/sandbox/api/v2.0/companies

But it showing be below Response:
{
    "error": {
        "code""RequestDataInvalid",
        "message""Request data is invalid."
    }
}

Steps I have followed:
1 Create a app resource in Microsoft Entra ID in Azure Portal
2 Create Secret
3 Assign API Permissions to my Dynamics 365 Business Central API
4 Using the below API I am creating my access token:
API Method: POST
Headers: "Content-Type" :"application/x-www-form-urlencoded"
Body:
"grant_type": "client_credentials"
"client_id": {client_id}
"client_secret": {client_secret}
"scope": "https://api.businesscentral.dynamics.com/.default"

 
I have the same question (0)
  • Dynamics_Decoded_Gokul Profile Picture
    478 on at
     
    Please update the tenant id for the request and do the get method to return the result 
     
    Thanks
    Gokul
  • Suggested answer
    Gerardo Rentería García Profile Picture
    25,390 Most Valuable Professional on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,116

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 764 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 635 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans