I'm trying to run a script from local powershell but it giving me below error from today:
The provided account "" does not have access to subscription name
"<>". Please try logging in with different credentials or a different subscription name. If a
subscription is not specified, please check the configs by Get-AzConfig
.
PS C:\Users**\downloads> get-azconfig
Key Value Applies To Scope Help Message
DefaultSubscriptionForLogin <Management Group ID> Az CurrentUser Subscription name or GUID. Sets the def...
DisplayBreakingChangeWarning True Az Default Controls if warning messages for breaki...
DisplayRegionIdentified True Az Default When enabled, Azure PowerShell displays...
DisplaySurveyMessage True Az Default When enabled, you are prompted infreque...
EnableDataCollection True Az Default When enabled, Azure PowerShell cmdlets ...
EnableLoginByWam False Az CurrentUser [Preview] When enabled, Web Account Man...
- Checked, my Azure login id is working fine
2.Also, able to login into the Azure tenant with Owner rights to the id at management group and Subscription level