+ Start a Discussion

Tell from Org Id whether it's Production or a Sandbox

The LMA captures the Org Id associated with a License. Is there any way I can tell from that Org Id whether it's a Sandbox or Production? 


I've seen a few postings suggesting that you can, but when I check against a few known sandbox and Production Org Ids, the suggestions don't pan out. One such posting says, "The letter after "00D" determines the instance," and another says, "If the character after "00D" is a number, it's Production; if it's a letter, it's a sandbox," but I've seen exceptions to that. Specifically, I have a Developer Edition org that starts with 00DC, and another Developer Edition org that starts with 00D5.