While working with new version 10 of azcopy.exe I was facing error while login. After logging in the browser it was not accepting my username and password to login to Azure.What it says is I am not able to login to '579a7132-0e58-4d80-b1e1-7a1e2d337859', and my user account doesn't exist for login. I checked the GUID but I was not able to find it anywhere associated on my Azure subscription.
Check another solved issue
AzCopy copy transfer fails with 403 This request is not authorized to perform this operation using this permission
azcopy login To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code GRD2BJ93B to authenticate. INFO: Logging in under the "Common" tenant. This will log the account in under its home tenant. INFO: If you plan to use AzCopy with a B2B account (where the account's home tenant is separate from the tenant of the target storage account), please sign in under the target tenant.
Error Pick an account You will be signed in to Azure Storage Azcopy on a remote device or service. Select back if you aren't trying to sign in to this application on a remove device or service Selected user account does not exist in tenant 'Microsoft Services' and cannot access the application '579a7132-0e58-4d80-b1e1-7a1e2d337859' in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account.
You require a Tenant ID details under Microsoft Azure Active Directory >> Default Directory >> Overview to proceed.
After checking help of azcopy login with below command, I saw --tenant-id parameter, you can grab it from Azure active directory. Again the process is same, to sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code XXXXXXX to authenticate.
azcopy login --help azcopy login --tenant-id xxxxxxx-xxxxxx-xxxxx-xxxxx-xxxxxxxxxxx azcopy list "https://newstorebabu.blob.core.windows.net/firstfolder"
Once you have logged in successfully in to the azure storage azcopy.exe command line application on your device. You may close the browser window tab to further work on command line.
To verify that I am successfully connected to Azure azcopy storage account , I checked list of files on storage accounts blob container, all looks good.
Part 1: Create and deploy a website with Microsoft Azure web app service plan
Part 2: Configure a custom domain in Azure Web Apps
PART 1 : MICROSOFT AZURE CREATION AND CONFIGURATION OF VPN TUNNEL SERIES
PART 2 : MICROSOFT AZURE CREATING RESOURCE GROUP
PART 3 : MICROSOFT AZURE CREATING AND ADMINISTERING VIRTUAL NETWORK (VNET)
PART 3.1 : MICROSOFT AZURE POWERSHELL CREATING AND ADMINISTERING VIRTUAL NETWORK (VNET)
PART 4 : MICROSOFT AZURE CREATING AND ADMINISTRATING LOCAL NETWORK GATEWAY VPN
PART 4.1 : MICROSOFT AZURE POWERSHELL CREATING AND ADMINISTRATING LOCAL NETWORK GATEWAY
This post first appeared on Tales From Real IT System Administrators World And Non-production Environment, please read the originial post: here