Skip to content

azcopy_login_status

GitHub Action edited this page Nov 10, 2025 · 65 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.

azcopy login status [flags]

Options

      --endpoint   Prints the Microsoft Entra endpoint that is being used in the current session.
  -h, --help       help for status
      --method     Prints the authorization method used in the current session.
      --tenant     Prints the Microsoft Entra tenant ID that is currently being used in session.

Options inherited from parent commands

      --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 continue             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 open                     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 float                      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                       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                    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'). (default "INFO")
      --login-type string                   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). (default "device")
      --output-level string                 Define the output verbosity. Available levels: essential, quiet. (default "default")
      --output-type string                  Format of the command's output. The choices include: text, json. 
                                             The default value is 'text'. (default "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.

SEE ALSO

  • azcopy login - Log in to Microsoft Entra ID to access Azure Storage resources.
Auto generated by spf13/cobra on 10-Nov-2025

Clone this wiki locally