az datashare email-registration

Note

This reference is part of the datashare extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az datashare email-registration command. Learn more about extensions.

Manage email registration with datashare.

Commands

az datashare email-registration activate-email

Activate the email registration for the current tenant.

az datashare email-registration register-email

Register an email for the current tenant.

az datashare email-registration activate-email

Activate the email registration for the current tenant.

az datashare email-registration activate-email --location
                                               [--activation-code]

Examples

EmailRegistrations_ActivateEmail

az datashare email-registration activate-email --activation-code "djsfhakj2lekowd3wepfklpwe9lpflcd" --location "East US 2"

Required Parameters

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

Optional Parameters

--activation-code

Activation code for the registration.

az datashare email-registration register-email

Register an email for the current tenant.

az datashare email-registration register-email --location

Examples

EmailRegistrations_RegisterEmail

az datashare email-registration register-email --location "East US 2"

Required Parameters

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.