Dynamics 365 Business Central: How to determine whether the current environment is Sandbox or Production
Determining whether a Business Central environment is Sandbox or Production can be done through multiple methods: checking the Help & Support page, using company badges that differ by shape (round for production, square for sandbox), accessing the App Launcher, or using the Environment Information codeunit.

post Dynamics 365 Lab
"A round company badge signifies a production environment, and a square badge signifies a sandbox environment."
Key points
- Production environments are for running daily business operations on performance tiers with high availability, while Sandbox environments are for testing and development
- Environment names may not reliably indicate the actual environment type, requiring verification methods
- The Help & Support page’s Report a Problem tab shows the environment type in the Microsoft Extra Tenant ID
- Company badges automatically reflect environment type and appear round for production or square for sandbox
- Alternative technical methods include using the App Launcher or codeunit 457 Environment Information
Quotes
- “A round company badge signifies a production environment, and a square badge signifies a sandbox environment.” (Provides a quick visual way to identify environment type without admin access)
AL objects mentioned
As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.
- codeunit “457 Environment Information”
Not found in BC28-30: codeunit “457 Environment Information”.
Context
- Features: Company Badge System Indicator, Help and Support page, App Launcher environment view, Environment Information codeunit
- Versions: 2022 wave 2, BC21
Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.