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

How to get the environment name for the Business Central trial account?

(1) ShareShare
ReportReport
Posted on by 16
Is there any way to call the API without the environment name or the environment name is production or sandbox by default?
How to find the environment name in the Dynamics 365 Business Central trial account?
 
API:
https:/api.businesscentral.dynamics.com/v2.0/{{tenant}}/{{environment}}/api/v2.0/companies
I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at
    Hi,
    The environment name is a required part of the URL path for API calls to ensure that the request is routed to the correct data environment.
    when you create a new Business Central online tenant, you get a production environment. Its name is often "Production", but the actual name can be confirmed in the Business Central admin center.
     
    If you have access to the Business Central Administration Shell, you can use PowerShell commands to list all environments and their details, including the environment name.
     
    Get-BCEnvironment -TenantId <YourTenantId>
     
    Thanks
    Nitin
     
     
  • Suggested answer
    Gerardo Rentería García Profile Picture
    25,230 Most Valuable Professional on at
    HI
    In this location you will find the name of the environment and the name of the tenant, I hope it helps you.
    Best Regards
    Gerardo

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,468

#2
YUN ZHU Profile Picture

YUN ZHU 923 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans