Announcements
No record found.
Hi how can I get the envoriment name in SaaS using AL code. By example Sandbox, Production, etc.
Thanks!
Declared:
EnvironmentInformation: Codeunit "Environment Information";
Used:
EnvironmentInformation.GetEnvironmentName()
Hi luisignaciog ,
Please refer the below link
docs.microsoft.com/.../devenv-getenvironment-method
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 633 Super User 2026 Season 2
YUN ZHU 419 Super User 2026 Season 2
Teagen Boll 236 Super User 2026 Season 2