CertSafari
    Snowflake SnowPro Advanced: Administrator (ADA-C02)· Lessons

    Domain 2 · Lesson 10/24

    Snowflake account identifiers: account names, locators and region IDs

    Given a scenario, manage account identifiers.

    15 min read
    6% of exam
    8 sources
    Published 20 Oct 2026
    Docs as of 18 Oct 2026

    What you will be able to do

    • Tell an orgname-account_name identifier apart from a legacy account locator, and say which of the two can change
    • Pick the right identifier form and separator for a URL, a driver or client config, a SQL statement, a data sharing request and an Okta integration
    • Build a legacy locator identifier with the right region and cloud segments for replication commands
    • Read Snowflake Region IDs and region groups in CURRENT_REGION, SHOW REGIONS and account creation

    Key concept

    Account identifier (orgname-account_name) — The account identifier is the string Snowflake uses to find one account among all organizations, regions and clouds. The preferred form is the organization name plus the account name, which you choose and can change. The legacy alternative is the account locator, which Snowflake assigns and which never changes.

    1.Account names and account locators

    Every Snowflake account has two identifiers. The account name is chosen by an organization administrator and only has to be unique inside its organization. Put the organization name in front of it, as in myorg-account123, and you get the preferred account identifier, which is unique across every Snowflake organization, cloud platform and region. The account locator, such as xy12345, is the older format. Snowflake still supports it but no longer recommends it. Each one comes with its own rules, and exam questions turn on those rules.

    An account name alone is not enough to identify an account outside your own organization. Two companies can each have an account called sales_prod. Only acme-sales_prod points to one account worldwide. That's why the organization prefix is required in every place where Snowflake has to find the account across the whole platform.

    Account names have strict character rules because they end up in DNS hostnames. A name must start with a letter and may use underscores as word separators, as in MARKETING_TEST_ACCOUNT. It can't contain hyphens, spaces or other special characters, and it shouldn't end with an underscore. The full identifier, including the organization name and the hyphen, shouldn't be longer than 63 characters. Organization names are stricter still. They contain only letters and numbers, with no underscores or other delimiters. Self-service sign-ups get a system-generated organization name, which only Snowflake Support can change. If the organization name changes later, every account URL in the organization changes with it, so settle the organization name before it appears in any identifier.

    The account locator is assigned when the account is created, and it stays the same for the life of the account. Self-service and automated processes generate a random string such as xy12345. A Snowflake representative creating an account may let you request a recognisable value instead. The account name works the other way. An organization administrator can rename an account with ALTER ACCOUNT ... RENAME TO. The rename gives the account a new URL, and by default the old URL is saved so users can keep using it. Because the locator stays the same, scripts that hard-code the locator keep working after a rename. Renaming an account has no effect on replication and failover. An ORGADMIN can't rename the account they are currently logged in to, so they run the command from a different account.

    Renaming an account changes its name and URL. The locator stays the same.sql
    ALTER ACCOUNT original_acctname RENAME TO new_acctname;

    Three context functions return these parts, and the names are easy to mix up. CURRENT_ACCOUNT() returns the locator, for example XY12345, even though its name suggests the account name. CURRENT_ACCOUNT_NAME() returns the account name, and CURRENT_ORGANIZATION_NAME() returns the organization. To build a connection identifier yourself, join the last two with a hyphen:

    Building the preferred identifier for a client, driver or librarysql
    SELECT CURRENT_ORGANIZATION_NAME() || '-' || CURRENT_ACCOUNT_NAME();
    Account name compared with account locator
    PropertyAccount nameAccount locator
    Who sets itAn organization administrator, at account creationSnowflake, at account creation
    Can it change?Yes, with ALTER ACCOUNT ... RENAME TONo, never
    Unique across organizations?Only with the orgname prefixMay need region and cloud segments
    Context functionCURRENT_ACCOUNT_NAME()CURRENT_ACCOUNT()
    StatusPreferredLegacy, supported but discouraged

    Checkpoint 1 of 7· Fill the gap

    You need the preferred account identifier for a JDBC connection string. Which context function completes this query?

    SELECT CURRENT_ORGANIZATION_NAME() || '-' ||  ? ();

    Checkpoint 2 of 7· Exam question

    An administrator must give a partner team an identifier that stays unique across every Snowflake organization and cloud platform, and the team will paste it into driver connection settings. Which identifier should the administrator provide?

    Checkpoint 3 of 7· Exam question

    A company wants to give its Snowflake account a friendlier name because the generated one confuses analysts. The account locator is already hard-coded in several legacy scripts. What is the effect of renaming the account with an ORGADMIN-run ALTER ACCOUNT ... RENAME TO command?

    Sources123

    2.Which identifier form each situation needs

    Snowflake needs an account identifier anywhere you have to say which account you mean. That includes web interface URLs, Snowflake CLI, SnowSQL, connectors and drivers, third-party tools, security integrations, and global features such as Secure Data Sharing and replication. The organization and account name are the same in all of these. What changes is the separator between them.

    Use a hyphen when the identifier is part of a hostname or a connection setting. Signing in to Snowsight and pointing Tableau or Power BI at Snowflake both use orgname-account_name.snowflakecomputing.com. A SnowSQL or Snowflake CLI config file, an ODBC or JDBC driver and a client library take the bare orgname-account_name. If the organization is acme and the account is sales_prod, the driver's account parameter is acme-sales_prod. This doesn't depend on which region the account is in. Leaving out the organization doesn't work, because the name alone isn't unique, and reversing the order doesn't work either.

    A Snowflake CLI config file uses the hyphenated formtoml
    [connections]
    [connections.myconnection]
    account = "myorganization-myaccount"

    Use a period when the identifier appears inside a SQL statement as a fully qualified account name: orgname.account_name. A replication target and the data sharing account identifier both use the period form. That's the value a provider asks for before sharing a private listing with you, and Snowsight shows it in the Data Sharing Account Identifier field of the Account Details dialog.

    Identifier format by use case
    Use caseFormat
    Signing in to Snowsight; third-party tool server URLorgname-account_name.snowflakecomputing.com
    Client config file, ODBC/JDBC driver, libraryorgname-account_name
    Fully qualified account name in SQL; data sharing account identifierorgname.account_name
    Client Redirectorgname-connectionname

    Two special cases add to the URL. With Client Redirect, the name of a connection object takes the place of the account name, as in https://<orgname>-<connectionname>.snowflakecomputing.com. SHOW CONNECTIONS lists the connection names. With private connectivity such as AWS PrivateLink, privatelink goes after the account identifier and DNS records have to be updated. SYSTEM$GET_PRIVATELINK_CONFIG returns the URL to use, and that URL can contain either the account name or the locator.

    Underscores need care in Okta and anywhere else that rejects them. When an account name contains underscores, Snowflake also accepts a second form with each underscore replaced by a hyphen. You don't create or rename anything to get it. https://acme-marketing_test_account.snowflakecomputing.com and https://acme-marketing-test-account.snowflakecomputing.com reach the same account. The first hyphen separates the organization from the account name, and the others stand in for underscores. Okta SSO, SCIM and OAuth need this hyphen form. Other identity providers, and the OAuth base URL of a Snowflake Authorization Server, use the standard URL.

    Checkpoint 4 of 7· Check yourself

    Organization acme owns an account named sales_prod. An engineer has to set the account parameter for a JDBC driver. They also have to send the data sharing account identifier to a provider who plans to share a private listing. Which pair of values is correct?

    Checkpoint 5 of 7· Exam question

    A data engineer configures SnowSQL and a JDBC driver for an account in a different region. The organization is acme and the account name is sales_prod. Which value should be used for the account parameter in the client configuration?

    Sources14

    3.Building a legacy locator identifier

    A locator by itself only works in a few places. Depending on the region, the locator identifier needs extra segments for the cloud region and sometimes the cloud platform. There's no single pattern. AWS US West (Oregon) takes the bare xy12345. A few AWS regions, including US East (N. Virginia), EU (Ireland) and EU (Frankfurt), take only the cloud region ID. Most other regions also need the cloud name. The legacy URL follows the same pattern, for example xy12345.us-east-2.aws.snowflakecomputing.com. Because the right string depends on where the account is, it's easy to get wrong. The orgname-account_name form avoids the problem entirely.

    Sample non-VPS locator formats
    RegionLocator identifierPattern
    AWS US West (Oregon)xy12345No additional segments
    AWS EU (Ireland)xy12345.eu-west-1Cloud region ID only
    AWS US East (Ohio)xy12345.us-east-2.awsRegion plus cloud
    AWS US Gov West 1 (FedRAMP High Plus)xy12345.fhplus.us-gov-west-1.awsExtra fhplus segment after the locator
    GCP Europe West4 (Netherlands)xy12345.europe-west4.gcpRegion plus cloud
    Azure West Europe (Netherlands)xy12345.west-europe.azureHyphenated Azure region plus cloud

    In locator identifiers, Azure regions are written differently from Azure's own names. Azure calls the region westeurope, but the locator uses west-europe, because Snowflake added hyphens to match AWS and GCP. The China (Ningxia) region uses the snowflakecomputing.cn domain instead of snowflakecomputing.com. VPS accounts follow a different locator format altogether.

    Replication and failover commands show the difference most clearly. The organization_name.account_name identifier works for a target account wherever it is. A locator needs more segments the farther the target is from the account that stores the primary database. You can get the snowflake_region and region_group values from SHOW REPLICATION ACCOUNTS.

    Identifying a remote account in replication and failover commands
    IdentifierWhen the remote account is…
    organization_name.account_nameAnywhere (preferred)
    account_locatorIn the same region as the primary
    snowflake_region.account_locatorIn the same region group, different region
    region_group.snowflake_region.account_locatorIn a different region group

    Checkpoint 6 of 7· Match them up

    A replication or failover command has to name a remote target account. Match each identifier form to where the target account is, relative to the account that stores the primary database.

    Tap a term, then the definition that fits it.

    Sources51

    4.Snowflake Region IDs and region groups

    AWS, Azure and GCP each name their regions differently. To have one naming scheme across all of them, Snowflake gives every Snowflake Region a canonical ID. It combines the cloud and the cloud's region name, joined by underscores. AWS us-west-2 becomes aws_us_west_2, GCP europe-west4 becomes gcp_europe_west4, and Azure westeurope becomes azure_westeurope. Don't confuse this ID with the dotted locator segment us-east-2.aws. They describe the same location in two different formats. With Organizations enabled, you use the Snowflake Region ID when you create a new account and when you configure replication and failover.

    A region group collects Snowflake Regions that offer similar security controls, isolation and compliance. Region groups are what enable global features such as data sharing and replication. Membership follows three rules:

    • Every multi-tenant commercial region on every cloud is in the shared PUBLIC group.
    • Each multi-tenant government region, such as aws_us_gov_west_1_fhplus, is in its own group.
    • Each single-tenant Virtual Private Snowflake (VPS) is in a group specific to that VPS. An organization with several VPSs can have one VPS per region group, or several VPSs can share a group.

    The region group only appears in output once an organization spans more than one group. In an all-commercial organization, CURRENT_REGION() returns just AWS_US_WEST_2. After the organization adds an account in another group, it returns PUBLIC.AWS_US_WEST_2. SHOW REGIONS works the same way. It lists the regions where accounts can be created, with snowflake_region, cloud, region (the cloud provider's own name) and display_name columns. The region_group column is added only for organizations in multiple region groups.

    Account creation follows the same rule. CREATE ACCOUNT takes a cloud platform, a region and an edition. You add a region group only when you have, or want, accounts in more than one region group. The region must already be enabled for your organization. Snowflake Support can enable more regions, and it can also answer questions about which region group your account is in.

    Checkpoint 7 of 7· Check yourself

    Which statement correctly describes the region groups of an organization that has accounts in aws_us_west_2, azure_westeurope, gcp_europe_west4 and aws_us_gov_west_1_fhplus?

    Sources1678

    Sources

    (8)

    Every claim above is drawn from one of these pages, quoted as it was written on the date shown.

    1. 1.
      “While an account name uniquely identifies an account within your organization, it is not a unique identifier of an account across Snowflake organizations.”
      ↩︎ Account names and account locators
      “Account names can include underscores. They can’t include hyphens.”
      ↩︎ Account names and account locators
      “Renaming the organization name in the future will result in changing all the URLs for your Snowflake accounts to match the new name.”
      ↩︎ Account names and account locators
      “The locator for an account can’t be changed once the account is created.”
      ↩︎ Account names and account locators
      “Specifying the account when configuring a driver (such as the ODBC or JDBC driver) or library to connect to Snowflake.”
      ↩︎ Which identifier form each situation needs
      “In a SQL statement, when specifying the fully qualified account name, use a period between the organization name and account name:”
      ↩︎ Which identifier form each situation needs
      “Snowflake added hyphens to the Azure region IDs for consistency with AWS and GCP.”
      ↩︎ Building a legacy locator identifier
      “The values for snowflake_region and region_group can be found in the output of SHOW REPLICATION ACCOUNTS.”
      ↩︎ Building a legacy locator identifier
      “Because each cloud platform utilizes different conventions and formats for naming their regions, Snowflake assigns a canonical ID to each Snowflake Region”
      ↩︎ Snowflake Region IDs and region groups
      “specifying the Snowflake Region ID as part of an account identifier is required when you create a new account”
      ↩︎ Snowflake Region IDs and region groups
      “All Snowflake multi-tenant commercial regions (across all the supported cloud platforms) are in the same shared/general PUBLIC group.”
      ↩︎ Snowflake Region IDs and region groups
      “The preferred account identifier consists of the name of the account prefixed by its organization; for example, myorg-account123.”
      ↩︎ Key concept
      “The locator for an account can’t be changed once the account is created.”
      ↩︎ Exam trap 1
      “In a SQL statement, when specifying the fully qualified account name, use a period between the organization name and account name:”
      ↩︎ Exam trap 2
      “Don’t rename the account to replace underscores with hyphens.”
      ↩︎ Exam trap 3
      “Specifying the account when configuring a driver (such as the ODBC or JDBC driver) or library to connect to Snowflake. | orgname-account_name”
      ↩︎ Checkpoint
      “Same region group but a different region from the account that stores the primary database.”
      ↩︎ Checkpoint
    2. 2.
      “When an account is renamed, Snowflake creates a new account URL that is used to access the account.”
      ↩︎ Account names and account locators
      “Renaming an account has no effect on replication and failover.”
      ↩︎ Account names and account locators
    3. 3.
      “Returns the account locator used by the user’s current session.”
      ↩︎ Account names and account locators
      “Returns the account locator used by the user’s current session.”
      ↩︎ Exam trap 5
    4. 4.
      “The connection name format, which replaces the account name with the name of a connection, is required when using the Client Redirect feature.”
      ↩︎ Which identifier form each situation needs
      “the string privatelink must be appended to the account identifier in the Snowflake account URL.”
      ↩︎ Which identifier form each situation needs
      “Because Okta does not support underscores in URLs, the underscore in the account name must be converted to a hyphen.”
      ↩︎ Which identifier form each situation needs
    5. 5.
      “you might need to include additional segments in the locator that specify the cloud region and cloud platform where your account is hosted.”
      ↩︎ Building a legacy locator identifier
      “you might need to include additional segments in the locator that specify the cloud region and cloud platform where your account is hosted.”
      ↩︎ Exam trap 4
    6. 6.
      “For organizations that have accounts in multiple region groups, returns region_group.region.”
      ↩︎ Snowflake Region IDs and region groups
    7. 7.
      “The command output for organizations that span multiple region groups includes an additional region_group column.”
      ↩︎ Snowflake Region IDs and region groups
    8. 8.
      “You can optionally specify a region group if you have, or want to have, accounts in multiple region groups.”
      ↩︎ Snowflake Region IDs and region groups

    Ready to test yourself?

    Practise the 22 questions on this subdomain.

    Spotted a mistake, or was something unclear? Tell us.