QT-DevOps / AzureIssues

This repository is for questions
8 stars 27 forks source link

In Powershell Get-AzResourceGroup giving error #13

Closed aadityaGitHub closed 5 years ago

aadityaGitHub commented 5 years ago

In Powershell Get-AzResourceGroup giving error

image

ahmed0129 commented 5 years ago

Please do "Connect -AzAccount" then try

ghost commented 5 years ago

yes please connect-azaccount then do before that install az module in PowerShell please follow this doc https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-2.1.0

sandhyadev commented 5 years ago

powershell version should be 5.1 to check use this : ==>$PSVersionTable Follow this steps: ==>Set-EXecutionPolicy Unrestricted ==>Install-Module -Name Az -AllowClobber ==>Connect-AzAccount login to azure ==>Get-AzResourceGroup

bhaskardegala commented 5 years ago

Please close the issue if it was resolved

aadityaGitHub commented 5 years ago

Thanks for the response but still my issue persists image

aadityaGitHub commented 5 years ago

Thanks for your support

ghost commented 5 years ago

please do manually once I think problem with your subscription check once

ghost commented 5 years ago

adithya you dint get a subscription id please create subscription id