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 :
Business Central forum

How to find Org ID in Business Central ?? Is this the Tenant ID of Business Central?

(0) ShareShare
ReportReport
Posted on by

I am new to Business Central Extension Development. I have two questions

1- I need to send an Org ID to my Azure function in Business Central extension development that makes it unique to fetch the record for that specific BC org. Is that tenant ID or AAD      Tenant ID fetched through Codeunit Tenant Management? Can anyone tell me what is the concept of Tenant ID in Business Central? 

2-  Whenever we call a Business Central standard or custom API via Postman, What is the "<your domain tenant>" parameter in the API Link? is that Org ID?

Thanks 

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    The tenant ID is the unique identifier of your D365BC SaaS tenant. You can retrieve it by going to the ? button on the top right corner and clicking on "Help and Support".

    The URL of the D365BC API endpoint is the following:

    api.businesscentral.dynamics.com/.../{version}

    where tenantID is the ID of your tenant explained before.

    To use the APIs for a specific company, you need to call the /companies API, retrieve the ID of the company to use and then call the API you want for the specific company. For example, to retrieve customers of a specific company:

    {baseurl}/api/v1.0/companies(XXX)/customers

    where XXX is the ID of the company you need.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans