Skip to content

azcopy_login_status

GitHub Action edited this page Feb 4, 2026 · 68 revisions

azcopy login status

Prints if you are currently logged in to your Azure Storage account.

Synopsis

This command will let you know if you are currently logged in to your Azure Storage account.

Usage

azcopy login status

Options

Flag Type Default Description
--endpoint bool false Prints the Microsoft Entra endpoint that is being used in the current session.
--method bool false Prints the authorization method used in the current session.
--tenant bool false Prints the Microsoft Entra tenant ID that is currently being used in session.

Global Options

These options are inherited from parent commands.

Flag Type Default Description
--aad-endpoint string `` The Azure Active Directory endpoint to use. The default (https://login.microsoftonline.com) is correct for the public Azure cloud. Set this parameter when authenticating in a national cloud. Not needed for Managed Service Identity
--application-id string `` Application ID of user-assigned identity. Required for service principal auth.
--await-continue bool false Used when debugging, to tell AzCopy to await continue on stdin before starting any work. Assists with debugging AzCopy via attach-to-process
--await-open bool false Used when debugging, to tell AzCopy to await open on stdin, after scanning but before opening the first file. Assists with testing cases around file modifications between scanning and usage
--cap-mbps float64 0 Caps the transfer rate, in megabits per second. Moment-by-moment throughput might vary slightly from the cap. If this option is set to zero, or it is omitted, the throughput isn't capped.
--certificate-path string `` Path to certificate for SPN authentication. Required for certificate-based service principal auth.
--check-version bool false Check if a newer AzCopy version is available.
--debug-skip-files string `` Used when debugging, to tell AzCopy to cancel the job midway. List of relative paths to skip in the STE.
--identity-client-id string `` Client ID of user-assigned identity.
--identity-resource-id string `` Resource ID of user-assigned identity.
--log-level string INFO Define the log verbosity for the log file, available levels: DEBUG(detailed trace), INFO(all requests/responses), WARNING(slow responses), ERROR(only failed requests), and NONE(no output logs). (default 'INFO').
--login-type string device Default value is device. Specify the credential type to access Azure Resource, available values are device (Device code workflow), spn (Service Principal), msi (Managed Service Identity), azcli (Azure CLI), pscred (Azure PowerShell), workload (Workload Identity).
--output-level string default Define the output verbosity. Available levels: essential, quiet.
--output-type string text Format of the command's output. The choices include: text, json. The default value is 'text'.
--tenant-id string `` The Azure Active Directory tenant ID to use for OAuth device interactive login.
--trusted-microsoft-suffixes string `` Specifies additional ___domain suffixes where Azure Active Directory login tokens may be sent. The default is '.core.windows.net;.core.chinacloudapi.cn;.core.cloudapi.de;.core.usgovcloudapi.net;*.storage.azure.net'. Any listed here are added to the default. For security, you should only put Microsoft Azure domains here. Separate multiple entries with semi-colons.

Parent command: azcopy login

Clone this wiki locally