Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

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

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
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 12,167 Most Valuable Professional on at
    How to get the environment name for the Business Central trial account?
    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
  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    How to get the environment name for the Business Central trial account?
    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
     
     

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans