Get-AzContext -ListAvailable
: Failed with error Object reference not set to an instance of an object
#24179
Labels
Authentication
Azure PS Team
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Investigate 🔍
Tracking
We will track status and follow internally
Milestone
Description
Get-AzContext -ListAvailable
failed with errorObject reference not set to an instance of an object
.Az: 9.3.0
Az.Accounts: 2.15.1
PSVersion: 7.4.1
Workflow file
The azure account should be valid and logged successfully since
Get-AzContext
works well.Update:
Get-AzContext -ListAvailable
failed in both GitHub Action and local terminal inAz.Accounts 2.15.1
.Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: