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

Announcements

No record found.

News and Announcements icon
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
    483 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,547 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,850 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,084 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans