Skip to content

Github workflow stopped running if **enable-AzPSSession: true**. #553

@stevechen1020

Description

@stevechen1020

Hi Team,

Github workflow stopped running if enable-AzPSSession: true. I use the following azure login action:

- name: Azure login
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
environment: 'AzureChinaCloud'
enable-AzPSSession: true

Note that we have the self-hosted runner to perform the workflow, and pwsh is 7.4.

Metadata

Metadata

Assignees

Labels

Azure PowerShellFor Azure PowerShell issues.dependenciesPull requests that update a dependency file

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions