Skip to content

Linux Powershell Login issues #7417

@JillRebecca

Description

@JillRebecca

Description

I am trying to log into my Azure account from Linux and receive an error message.
Note that this previously worked but has now stopped working.

Script/Steps for Reproduction

From Linux environment, Launch Powershell
Run Connect-AzureRmAccount
Open a browser (this is done in Windows), enter the code to authenticate, select the correct account to log in, receive a message "You have signed in to the Windows Azure PowerShell application on your device. You may now close this window."
After a minute or two, receive this message in the Powershell session in Linux:

Connect-AzureRmAccount : The operation was canceled.
At line:1 char:1

  • Connect-AzureRmAccount
  • CategoryInfo : CloseError: (:) [Connect-AzureRmAccount], OperationCanceledException
  • FullyQualifiedErrorId : Microsoft.Azure.Commands.Profile.ConnectAzureRmAccountCommand

Module Version

0.13.1

Environment Data

Name Value


PSVersion 6.1.0
PSEdition Core
GitCommitId 6.1.0
OS Linux 3.10.0-693.33.1.el7.x86_64 #1 SMP Thu May 24 16:41:13 UTC 2018
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

Debug Output

N/A - no script to run, just azure command Connect-AzureRmAccount

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions