Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.26k stars 3.86k forks source link

PS C:\Windows\system32> Get-AzureRmStorageAccount #4238

Closed laxmand17 closed 7 years ago

laxmand17 commented 7 years ago

Cmdlet(s)

PS C:\Windows\system32> Get-AzureRmStorageAccount Get-AzureRmStorageAccount : Run Login-AzureRmAccount to login. At line:1 char:1

PS C:\Windows\system32> get-module

ModuleType Version Name ExportedCommands


Script 4.1.0 Azure {Add-AzureAccount, Add-AzureApplicationGatewaySslCertificate, Add-AzureCertificate, Add-Az... Script 4.1.0 AzureRM {Add-AzureAnalysisServicesAccount, Add-AzureKeyVaultCertificate, Add-AzureKeyVaultCertific... Script 1.0.0.0 ISE {Get-IseSnippet, Import-IseSnippet, New-IseSnippet}
Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...}
Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}

PowerShell Version

Instructions: to get PowerShell version, type $PSVersionTable and look for the value associated with PSVersion PS C:\Windows\system32> $PSVersionTable

Name Value


PSVersion 4.0
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
CLRVersion 4.0.30319.42000
BuildVersion 6.3.9600.17400
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion 2.2

Module Version

OS Version

Instructions: to get OS version, type $PSversionTable and look for value associated with BuildVersion

Description

Debug Output

Instructions: to get Debug Output, set $DebugPreference="Continue" and then execute the cmdlet or script causing the issue

Script/Steps for Reproduction

blueww commented 7 years ago

@laxmand17 Have you run "Login-AzureRmAccount", before run "Get-AzureRmStorageAccount". Get-AzureRmStorageAccount don't have credential to list account before run "Login-AzureRmAccount".

laxmand17 commented 7 years ago

Hi Wei,

Yes, I did run the : Add-AzureRmAccount and authenticated to Azure Portal, it is not finding Login-AzureRmAccount cmdlet for some reason.

Thanks, Laxman.

From: Wei Wei [mailto:notifications@github.com] Sent: Tuesday, July 4, 2017 10:18 PM To: Azure/azure-powershell azure-powershell@noreply.github.com Cc: laxmand17 ldobbala@hotmail.com; Mention mention@noreply.github.com Subject: Re: [Azure/azure-powershell] PS C:\Windows\system32> Get-AzureRmStorageAccount (#4238)

@laxmand17https://github.com/laxmand17 Have you run "Login-AzureRmAccount", before run "Get-AzureRmStorageAccount". Get-AzureRmStorageAccount don't have credential to list account before run "Login-AzureRmAccount".

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-powershell/issues/4238#issuecomment-312980602, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcdMsSykUOrtPwwBWLvviy95n2wUm4t8ks5sKvI-gaJpZM4ONiph.

blueww commented 7 years ago

@laxmand17 "Login-AzureRmAccount“ is the alias of "Get-AzureRmStorageAccount", so run "Get-AzureRmStorageAccount" should be OK.

For you problem, I don't see "AzureRM.Storage" after you run Get-module. This is strange, as "Get-AzureRmStorageAccount" cmdlet is in "AzureRM.Storage" module.

There might be module mismatch issue on your machine, could you install the latest PowerShell from https://github.com/Azure/azure-powershell/releases and try again?

@markcowl, any idea on this issue?

laxmand17 commented 7 years ago

H Wei,

I think, My Install of powershell may have been messed up. I have uninstalled the Windows Azure PowerShell 2016 Install two days ago. But The Cmdlets are working fine now Today looks like. I get the following modules output now. Are these modules list indicates older versions And are there any more newer versions came out recently. I try to update the Modules and may have caused the Issues I believe.

Can you confirm if I can update these modules now, by running Update “AzureRM” Command ??

PS C:\Windows\system32> Get-Module

ModuleType Version Name ExportedCommands


Manifest 2.1.0 Azure.Storage {Get-AzureStorageBlob, Get-AzureStorageBlobContent, Get-AzureStorageBlobCopyState, Get-Azu... Manifest 2.1.0 AzureRM.Compute {Add-AzureRmContainerServiceAgentPoolProfile, Add-AzureRmVhd, Add-AzureRmVMAdditionalUnatt... Manifest 2.1.0 AzureRM.Network {Add-AzureRmApplicationGatewayAuthenticationCertificate, Add-AzureRmApplicationGatewayBack... Manifest 2.1.0 AzureRM.Profile {Add-AzureRmAccount, Add-AzureRmEnvironment, Disable-AzureRmDataCollection, Enable-AzureRm... Manifest 3.1.0 AzureRM.Resources {Export-AzureRmResourceGroup, Find-AzureRmResource, Find-AzureRmResourceGroup, Get-AzureRm... Manifest 2.1.0 AzureRM.Storage {Get-AzureRmStorageAccount, Get-AzureRmStorageAccountKey, Get-AzureRmStorageAccountNameAva... Script 1.0.0.0 ISE {Get-IseSnippet, Import-IseSnippet, New-IseSnippet} Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...} Manifest 3.0.0.0 Microsoft.PowerShell.Security {ConvertFrom-SecureString, ConvertTo-SecureString, Get-Acl, Get-AuthenticodeSignature...} Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}

Thanks a Lot, Laxman

From: Wei Wei [mailto:notifications@github.com] Sent: Thursday, July 6, 2017 11:24 PM To: Azure/azure-powershell azure-powershell@noreply.github.com Cc: laxmand17 ldobbala@hotmail.com; Mention mention@noreply.github.com Subject: Re: [Azure/azure-powershell] PS C:\Windows\system32> Get-AzureRmStorageAccount (#4238)

@laxmand17https://github.com/laxmand17 "Login-AzureRmAccount“ is the alias of "Get-AzureRmStorageAccount", so run "Get-AzureRmStorageAccount" should be OK.

For you problem, I don't see "AzureRM.Storage" after you run Get-module. This is strange, as "Get-AzureRmStorageAccount" cmdlet is in "AzureRM.Storage" module.

There might be module mismatch issue on your machine, could you install the latest PowerShell from https://github.com/Azure/azure-powershell/releases and try again?

@markcowlhttps://github.com/markcowl, any idea on this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-powershell/issues/4238#issuecomment-313577200, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcdMsZOGymxvM7UXam2-IxWArQW96t5Oks5sLaTMgaJpZM4ONiph.

cormacpayne commented 7 years ago

@laxmand17 would you mind running Get-Module -ListAvailable? We believe that there is a configuration issue with the modules that you have installed on your machine that is causing this error.

laxmand17 commented 7 years ago

Hi McCarthy,

Sure, Here you go:

PS C:\Windows\system32> Get-Module -ListAvailable

Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version Name ExportedCommands


Script 0.4.0 Azure.AnalysisServices {Add-AzureAnalysisServicesAccount, Restart-AzureAnalysisServicesInstance, Login-AzureAsAcc... Binary 1.0.0.1 PackageManagement {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource...} Script 1.0.0.1 PowerShellGet {Install-Module, Find-Module, Save-Module, Update-Module...}

Directory: C:\Windows\system32\WindowsPowerShell\v1.0\Modules

ModuleType Version Name ExportedCommands


Manifest 1.0.0.0 AppBackgroundTask {Disable-AppBackgroundTaskDiagnosticLog, Enable-AppBackgroundTaskDiagnosticLog, Set-AppBac... Manifest 2.0.0.0 Appx {Add-AppxPackage, Get-AppxPackage, Get-AppxPackageManifest, Remove-AppxPackage...} Manifest 1.0.0.0 BitLocker {Unlock-BitLocker, Suspend-BitLocker, Resume-BitLocker, Remove-BitLockerKeyProtector...} Manifest 1.0.0.0 BitsTransfer {Add-BitsFile, Complete-BitsTransfer, Get-BitsTransfer, Remove-BitsTransfer...} Manifest 1.0.0.0 CimCmdlets {Get-CimAssociatedInstance, Get-CimClass, Get-CimInstance, Get-CimSession...} Manifest 1.0 Defender {Get-MpPreference, Set-MpPreference, Add-MpPreference, Remove-MpPreference...} Manifest 1.0.0.0 DirectAccessClientComponents {Disable-DAManualEntryPointSelection, Enable-DAManualEntryPointSelection, Get-DAClientExpe... Script 3.0 Dism {Add-AppxProvisionedPackage, Add-WindowsDriver, Add-WindowsImage, Add-WindowsPackage...} Manifest 1.0.0.0 DnsClient {Resolve-DnsName, Clear-DnsClientCache, Get-DnsClient, Get-DnsClientCache...} Manifest 2.0.0.0 International {Get-WinDefaultInputMethodOverride, Set-WinDefaultInputMethodOverride, Get-WinHomeLocation... Manifest 1.0.0.0 iSCSI {Get-IscsiTargetPortal, New-IscsiTargetPortal, Remove-IscsiTargetPortal, Update-IscsiTarge... Script 1.0.0.0 ISE {New-IseSnippet, Import-IseSnippet, Get-IseSnippet} Manifest 1.0.0.0 Kds {Add-KdsRootKey, Get-KdsRootKey, Test-KdsRootKey, Set-KdsConfiguration...} Manifest 3.0.0.0 Microsoft.PowerShell.Diagnostics {Get-WinEvent, Get-Counter, Import-Counter, Export-Counter...} Manifest 3.0.0.0 Microsoft.PowerShell.Host {Start-Transcript, Stop-Transcript} Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Content, Clear-Content, Clear-ItemProperty, Join-Path...} Manifest 3.0.0.0 Microsoft.PowerShell.Security {Get-Acl, Set-Acl, Get-PfxCertificate, Get-Credential...} Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Format-List, Format-Custom, Format-Table, Format-Wide...} Manifest 3.0.0.0 Microsoft.WSMan.Management {Disable-WSManCredSSP, Enable-WSManCredSSP, Get-WSManCredSSP, Set-WSManQuickConfig...} Manifest 1.0 MMAgent {Disable-MMAgent, Enable-MMAgent, Set-MMAgent, Get-MMAgent...} Manifest 1.0.0.0 MsDtc {New-DtcDiagnosticTransaction, Complete-DtcDiagnosticTransaction, Join-DtcDiagnosticResour... Manifest 2.0.0.0 NetAdapter {Disable-NetAdapter, Disable-NetAdapterBinding, Disable-NetAdapterChecksumOffload, Disable... Manifest 1.0.0.0 NetConnection {Get-NetConnectionProfile, Set-NetConnectionProfile} Manifest 1.0.0.0 NetEventPacketCapture {New-NetEventSession, Remove-NetEventSession, Get-NetEventSession, Set-NetEventSession...} Manifest 2.0.0.0 NetLbfo {Add-NetLbfoTeamMember, Add-NetLbfoTeamNic, Get-NetLbfoTeam, Get-NetLbfoTeamMember...} Manifest 1.0.0.0 NetNat {Get-NetNat, Get-NetNatExternalAddress, Get-NetNatStaticMapping, Get-NetNatSession...} Manifest 2.0.0.0 NetQos {Get-NetQosPolicy, Set-NetQosPolicy, Remove-NetQosPolicy, New-NetQosPolicy} Manifest 2.0.0.0 NetSecurity {Get-DAPolicyChange, New-NetIPsecAuthProposal, New-NetIPsecMainModeCryptoProposal, New-Net... Manifest 1.0.0.0 NetSwitchTeam {New-NetSwitchTeam, Remove-NetSwitchTeam, Get-NetSwitchTeam, Rename-NetSwitchTeam...} Manifest 1.0.0.0 NetTCPIP {Get-NetIPAddress, Get-NetIPInterface, Get-NetIPv4Protocol, Get-NetIPv6Protocol...} Manifest 1.0.0.0 NetworkConnectivityStatus {Get-DAConnectionStatus, Get-NCSIPolicyConfiguration, Reset-NCSIPolicyConfiguration, Set-N... Manifest 1.0.0.0 NetworkTransition {Add-NetIPHttpsCertBinding, Disable-NetDnsTransitionConfiguration, Disable-NetIPHttpsProfi... Manifest 1.0.0.0 PcsvDevice {Get-PcsvDevice, Start-PcsvDevice, Stop-PcsvDevice, Restart-PcsvDevice...} Manifest 1.0.0.0 PKI {Add-CertificateEnrollmentPolicyServer, Export-Certificate, Export-PfxCertificate, Get-Cer... Manifest 1.1 PrintManagement {Add-Printer, Add-PrinterDriver, Add-PrinterPort, Get-PrintConfiguration...} Manifest 1.0 PSDesiredStateConfiguration {Set-DscLocalConfigurationManager, Start-DscConfiguration, Update-DscConfiguration, Config... Script 1.0.0.0 PSDiagnostics {Disable-PSTrace, Disable-PSWSManCombinedTrace, Disable-WSManTrace, Enable-PSTrace...} Binary 1.1.0.0 PSScheduledJob {New-JobTrigger, Add-JobTrigger, Remove-JobTrigger, Get-JobTrigger...} Manifest 2.0.0.0 PSWorkflow {New-PSWorkflowExecutionOption, New-PSWorkflowSession, nwsn} Manifest 1.0.0.0 PSWorkflowUtility Invoke-AsWorkflow Manifest 1.0.0.0 ScheduledTasks {Get-ScheduledTask, Set-ScheduledTask, Register-ScheduledTask, Unregister-ScheduledTask...} Manifest 2.0.0.0 SecureBoot {Confirm-SecureBootUEFI, Set-SecureBootUEFI, Get-SecureBootUEFI, Format-SecureBootUEFI...} Manifest 2.0.0.0 SmbShare {Get-SmbShare, Remove-SmbShare, Set-SmbShare, Block-SmbShareAccess...} Manifest 2.0.0.0 SmbWitness {Get-SmbWitnessClient, Move-SmbWitnessClient, gsmbw, msmbw...} Manifest 1.0.0.0 StartScreen {Export-StartLayout, Import-StartLayout, Get-StartApps} Manifest 2.0.0.0 Storage {Add-InitiatorIdToMaskingSet, Add-PartitionAccessPath, Add-PhysicalDisk, Add-TargetPortToM... Manifest 2.0.0.0 TLS {New-TlsSessionTicketKey, Enable-TlsSessionTicketKey, Disable-TlsSessionTicketKey, Export-... Manifest 1.0.0.0 TroubleshootingPack {Get-TroubleshootingPack, Invoke-TroubleshootingPack} Manifest 2.0.0.0 TrustedPlatformModule {Get-Tpm, Initialize-Tpm, Clear-Tpm, Unblock-Tpm...} Manifest 2.0.0.0 VpnClient {Add-VpnConnection, Set-VpnConnection, Remove-VpnConnection, Get-VpnConnection...} Manifest 1.0.0.0 Wdac {Get-OdbcDriver, Set-OdbcDriver, Get-OdbcDsn, Add-OdbcDsn...} Manifest 1.0.0.0 WindowsDeveloperLicense {Get-WindowsDeveloperLicense, Show-WindowsDeveloperLicenseRegistration, Unregister-Windows... Script 1.0 WindowsErrorReporting {Enable-WindowsErrorReporting, Disable-WindowsErrorReporting, Get-WindowsErrorReporting} Manifest 1.0.0.0 WindowsSearch {Get-WindowsSearchSetting, Set-WindowsSearchSetting}

Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version Name ExportedCommands


Script 0.4.0 Azure.AnalysisServices {Add-AzureAnalysisServicesAccount, Restart-AzureAnalysisServicesInstance, Login-AzureAsAcc... Binary 1.0.0.1 PackageManagement {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource...} Script 1.0.0.1 PowerShellGet {Install-Module, Find-Module, Save-Module, Update-Module...}

Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ResourceManager\AzureResourceManager

ModuleType Version Name ExportedCommands


Manifest 2.1.0 AzureRM.ApiManagement {Add-AzureRmApiManagementRegion, Get-AzureRmApiManagementSsoToken, New-AzureRmApiManagemen... Manifest 2.1.0 AzureRM.Automation {Get-AzureRMAutomationHybridWorkerGroup, Get-AzureRmAutomationJobOutputRecord, Import-Azur... Binary 0.10.0 AzureRM.AzureStackAdmin {Get-AzureRMManagedLocation, New-AzureRMManagedLocation, Remove-AzureRMManagedLocation, Se... Manifest 0.10.0 AzureRM.AzureStackStorage {Add-ACSFarm, Get-ACSEvent, Get-ACSEventQuery, Get-ACSFarm...} Manifest 2.1.0 AzureRM.Backup {Backup-AzureRmBackupItem, Enable-AzureRmBackupContainerReregistration, Get-AzureRmBackupC... Manifest 2.1.0 AzureRM.Batch {Remove-AzureRmBatchAccount, Get-AzureRmBatchAccount, Get-AzureRmBatchAccountKeys, New-Azu... Manifest 2.1.0 AzureRM.Cdn {Get-AzureRmCdnCustomDomain, New-AzureRmCdnCustomDomain, Remove-AzureRmCdnCustomDomain, Ge... Manifest 0.3.0 AzureRM.CognitiveServices {Get-AzureRmCognitiveServicesAccount, Get-AzureRmCognitiveServicesAccountKey, Get-AzureRmC... Manifest 2.1.0 AzureRM.Compute {Remove-AzureRmAvailabilitySet, Get-AzureRmAvailabilitySet, New-AzureRmAvailabilitySet, Ge... Manifest 2.1.0 AzureRM.DataFactories {Remove-AzureRmDataFactory, Get-AzureRmDataFactoryRun, Get-AzureRmDataFactorySlice, Save-A... Manifest 2.1.0 AzureRM.DataLakeAnalytics {Get-AzureRmDataLakeAnalyticsDataSource, Remove-AzureRmDataLakeAnalyticsCatalogSecret, Set... Manifest 2.1.0 AzureRM.DataLakeStore {Add-AzureRmDataLakeStoreItemContent, Export-AzureRmDataLakeStoreItem, Get-AzureRmDataLake... Manifest 2.1.0 AzureRM.DevTestLabs {Get-AzureRmDtlAllowedVMSizesPolicy, Get-AzureRmDtlAutoShutdownPolicy, Get-AzureRmDtlAutoS... Manifest 2.1.0 AzureRM.Dns {Get-AzureRmDnsRecordSet, New-AzureRmDnsRecordConfig, Remove-AzureRmDnsRecordSet, Set-Azur... Manifest 2.1.0 AzureRM.HDInsight {Get-AzureRmHDInsightJob, New-AzureRmHDInsightSqoopJobDefinition, Wait-AzureRmHDInsightJob... Manifest 2.1.0 AzureRM.Insights {Add-AzureRmMetricAlertRule, Add-AzureRmLogAlertRule, Add-AzureRmWebtestAlertRule, Get-Azu... Manifest 2.1.0 AzureRM.KeyVault {Add-AzureKeyVaultCertificate, Set-AzureKeyVaultCertificateAttribute, Stop-AzureKeyVaultCe... Manifest 2.1.0 AzureRM.LogicApp {Get-AzureRmIntegrationAccountAgreement, Get-AzureRmIntegrationAccountCallbackUrl, Get-Azu... Manifest 0.10.0 AzureRM.MachineLearning {Export-AzureRmMlWebService, Get-AzureRmMlWebServiceKeys, Import-AzureRmMlWebService, Remo... Manifest 0.2.0 AzureRM.Media {Get-AzureRmMediaServiceNameAvailability, New-AzureRmMediaServiceStorageConfig, Remove-Azu... Manifest 2.1.0 AzureRM.Network {Add-AzureRmApplicationGatewayAuthenticationCertificate, Get-AzureRmApplicationGatewayAuth... Manifest 2.1.0 AzureRM.NotificationHubs {Get-AzureRmNotificationHubsNamespaceAuthorizationRules, Get-AzureRmNotificationHubsNamesp... Manifest 2.1.0 AzureRM.OperationalInsights {New-AzureRmOperationalInsightsCustomLogDataSource, Disable-AzureRmOperationalInsightsLinu... Manifest 2.1.0 AzureRM.PowerBIEmbedded {Remove-AzureRmPowerBIWorkspaceCollection, Get-AzureRmPowerBIWorkspaceCollection, Get-Azur... Manifest 2.1.0 AzureRM.Profile {Enable-AzureRmDataCollection, Disable-AzureRmDataCollection, Remove-AzureRmEnvironment, G... Manifest 2.1.0 AzureRM.RecoveryServices {Get-AzureRmRecoveryServicesBackupProperties, Get-AzureRmRecoveryServicesVault, Get-AzureR... Manifest 2.1.0 AzureRM.RecoveryServices.Backup {Backup-AzureRmRecoveryServicesBackupItem, Get-AzureRmRecoveryServicesBackupManagementServ... Manifest 2.1.0 AzureRM.RedisCache {Remove-AzureRmRedisCachePatchSchedule, New-AzureRmRedisCacheScheduleEntry, Get-AzureRmRed... Manifest 3.1.0 AzureRM.Resources {Get-AzureRmADAppCredential, Get-AzureRmADApplication, Get-AzureRmADGroupMember, Get-Azure... Manifest 0.10.0 AzureRM.Scheduler {Disable-AzureRmSchedulerJobCollection, Enable-AzureRmSchedulerJobCollection, Get-AzureRmS... Manifest 2.1.0 AzureRM.ServerManagement {Install-AzureRmServerManagementGatewayProfile, Reset-AzureRmServerManagementGatewayProfil... Manifest 2.1.0 AzureRM.SiteRecovery {Stop-AzureRmSiteRecoveryJob, Get-AzureRmSiteRecoveryNetwork, Get-AzureRmSiteRecoveryNetwo... Manifest 2.1.0 AzureRM.Sql {Get-AzureRmSqlDatabaseRecommendedAction, Get-AzureRmSqlElasticPoolRecommendedAction, Get-... Manifest 2.1.0 AzureRM.Storage {Get-AzureRmStorageAccount, Get-AzureRmStorageAccountKey, Get-AzureRmStorageAccountNameAva... Manifest 2.1.0 AzureRM.StreamAnalytics {Get-AzureRmStreamAnalyticsFunction, Get-AzureRmStreamAnalyticsDefaultFunctionDefinition, ... Manifest 2.1.0 AzureRM.Tags {Remove-AzureRmTag, Get-AzureRmTag, New-AzureRmTag} Manifest 2.1.0 AzureRM.TrafficManager {Disable-AzureRmTrafficManagerEndpoint, Enable-AzureRmTrafficManagerEndpoint, Set-AzureRmT... Manifest 2.1.0 AzureRM.UsageAggregates Get-UsageAggregates Manifest 2.1.0 AzureRM.Websites {Get-AzureRmAppServicePlanMetrics, New-AzureRmWebAppDatabaseBackupSetting, Restore-AzureRm...

Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement

ModuleType Version Name ExportedCommands


Manifest 2.1.0 Azure {Get-AzureAutomationCertificate, Get-AzureAutomationConnection, New-AzureAutomationConnect...

Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\Storage

ModuleType Version Name ExportedCommands


Manifest 2.1.0 Azure.Storage {Get-AzureStorageBlob, Get-AzureStorageBlobContent, Get-AzureStorageBlobCopyState, Get-Azu...

PS C:\Windows\system32>

From: Cormac McCarthy [mailto:notifications@github.com] Sent: Friday, July 7, 2017 2:28 PM To: Azure/azure-powershell azure-powershell@noreply.github.com Cc: laxmand17 ldobbala@hotmail.com; Mention mention@noreply.github.com Subject: Re: [Azure/azure-powershell] PS C:\Windows\system32> Get-AzureRmStorageAccount (#4238)

@laxmand17https://github.com/laxmand17 would you mind running Get-Module -ListAvailable? We believe that there is a configuration issue with the modules that you have installed on your machine that is causing this error.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-powershell/issues/4238#issuecomment-313758402, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcdMsUHqvTYAwrxYjNH7EmFy2JSrnTQBks5sLnjDgaJpZM4ONiph.

markcowl commented 7 years ago

@laxmand17 Please try removing Azure.AnalysisServices module from the two directories listed above, and retry your scenario: (Add-AzureRmAccount followed by Get-AzureRmStorageAccount).

If you continue to see an issue, please provide additional debugging information by executing these cmdlets with $DebugPreference="Continue", and including the output here).

laxmand17 commented 7 years ago

Hi Mark,

I am able to run the “Get-AzureRmStorageAccount” now, My Issue has been resolved. I just want to get updated to latest Azure RM Modules. I have prior Release modules It seems, Can I run the “Update AzureRM” command to get updated automatically every week.

Please suggest. Thanks, Laxman Dobbala

Sent from Windows Mail

From: Mark Cowlishawmailto:notifications@github.com Sent: ‎Tuesday‎, ‎July‎ ‎11‎, ‎2017 ‎2‎:‎01‎ ‎PM To: Azure/azure-powershellmailto:azure-powershell@noreply.github.com Cc: laxmand17mailto:ldobbala@hotmail.com, Mentionmailto:mention@noreply.github.com

@laxmand17https://github.com/laxmand17 Please try removing Azure.AnalysisServices module from the two directories listed above, and retry your scenario: (Add-AzureRmAccount followed by Get-AzureRmStorageAccount).

If you continue to see an issue, please provide additional debugging information by executing these cmdlets with $DebugPreference="Continue", and including the output here).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-powershell/issues/4238#issuecomment-314524200, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcdMsWeXM_7MLMN0j_TN8L6QWQFsi7nLks5sM7hKgaJpZM4ONiph.

cormacpayne commented 7 years ago

Closing this issue as it seems to have been resolved. @laxmand17 we ship a new version of Azure PowerShell every month, so you can run the following commands to get the latest bits:

# Install the ARM modules
Install-Module -Name AzureRM -Repository PSGallery -Force

# Install the RDFE modules
Install-Module -Name Azure -Repository PSGallery -Force

Please let us know if you have any questions!

laxmand17 commented 7 years ago

Sent from Windows Mail

From: Cormac McCarthymailto:notifications@github.com Sent: ‎Monday‎, ‎August‎ ‎7‎, ‎2017 ‎6‎:‎50‎ ‎PM To: Azure/azure-powershellmailto:azure-powershell@noreply.github.com Cc: laxmand17mailto:ldobbala@hotmail.com, Mentionmailto:mention@noreply.github.com

Closing this issue as it seems to have been resolved. @laxmand17https://github.com/laxmand17 we ship a new version of Azure PowerShell every month, so you can run the following commands to get the latest bits:

Install the ARM modules

Install-Module -Name AzureRM -Repository PSGallery -Force

Install the RDFE modules

Install-Module -Name Azure -Repository PSGallery -Force

Please let us know if you have any questions!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-powershell/issues/4238#issuecomment-320801645, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcdMsYAjOw5hhti5c4mX7EkEmjy0tlE1ks5sV5S4gaJpZM4ONiph.