Azure / Azure/azure-powershell
Get-AzStorageAccount: Unable to deserialize the response.
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Description
Running Get-AzStorageAccount against a storage account which has _Default Access Tier_ set to _Smart_ results in:
Get-AzStorageAccount: Unable to deserialize the response. (Also results in issue with az storage commands)
### Issue script & Debug output
```PowerShell
DEBUG: 1:44:51 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
DEBUG: 1:44:51 PM - GetAzureStorageAccountCommand begin processing with ParameterSet 'AccountNameParameterSet'.
DEBUG: 1:44:51 PM - using account id 'MSI@50342'...
DEBUG: 1:44:51 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Storage], Cmdlet = [Get-AzStorageAccount]. Returning default value [True].
DEBUG: [Common.Authentication]: Authenticating using Account: 'MSI@50342', environment: 'AzureCloud', tenant: '*'
DEBUG: 1:44:51 PM - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 1:44:51 PM - [ManagedServiceIdentityAuthenticator] Calling ManagedIdentityCredential.GetTokenAsync - TenantId:'*', Scopes:'https://management.core.windows.net/', UserId:''
DEBUG: ManagedIdentityCredential.GetToken invoked. Scopes: [ https://management.core.windows.net/ ] ParentRequestId:
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - 4efc4128-ff9f-44e1-8afd-fad2b4b5f52f] MSAL MSAL.CoreCLR with assembly version '4.83.1.0'. CorrelationId(*)
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - *] === AcquireTokenForManagedIdentityParameters ===
ForceRefresh: False
Resource: https://management.core.windows.net/
Claims: False
RevokedTokenHash: False
IsMtlsPopRequested: False
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - *]
=== Request Data ===
Authority Provided? - True
Scopes - https://management.core.windows.net/
Extra Query Params Keys (space separated) -
ApiId - AcquireTokenForSystemAssignedManagedIdentity
IsConfidentialClient - False
SendX5C - False
LoginHint ? False
IsBrokerConfigured - False
HomeAccountId - False
CorrelationId - *
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:
FMI Path:
Credential FMI Path:
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - *] === Token Acquisition (ManagedIdentityAuthRequest) started:
Scopes: https://management.core.windows.net/
Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - *] [Internal cache] Total number of cache partitions found while getting access tokens: 1
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - *] [FindAccessTokenAsync] Discovered 1 access tokens in cache using partition key: system_assigned_managed_identity_managed_identity_AppTokenCache
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - *] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - *] Skipping Instance discovery for Aad authority because it is not enabled.
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - *] Access token is not expired. Returning the found cache entry. [Current time (05/06/2026 13:44:51) - Expiration Time (05/06/2026 14:55:55 +00:00) - Extended Expiration Time (05/06/2026 13:37:50 +00:00)]
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - *] [ManagedIdentityRequest] Access token retrieved from cache.
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - *]
=== Token Acquisition finished successfully:
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - *] AT expiration time: 5/6/2026 2:55:55 PM +00:00, scopes: https://management.core.windows.net/. source: Cache
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - *]
[LogMetricsFromAuthResult] Cache Refresh Reason: NotApplicable
[LogMetricsFromAuthResult] DurationInCacheInMs: 0
[LogMetricsFromAuthResult] DurationTotalInMs: 0
[LogMetricsFromAuthResult] DurationInHttpInMs: 0
DEBUG: False MSAL 4.83.1.0 MSAL.CoreCLR .NET 10.0.5 Linux [2026-05-06 13:44:51Z - 4efc4128-ff9f-44e1-8afd-fad2b4b5f52f] TokenEndpoint: ****
DEBUG: ManagedIdentityCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net/ ] ParentRequestId: ExpiresOn: 2026-05-06T14:55:55.6646265+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '*', UserId: '*'
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com/subscriptions/*/resourceGroups/*/providers/Microsoft.Storage/storageAccounts/*?api-version=2025-06-01
Headers:
Accept-Language : en-US
x-ms-client-request-id : *
Body:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
OK
Headers:
Cache-Control : no-cache
Pragma : no-cache
x-ms-request-id : *
Strict-Transport-Security : max-age=31536000; includeSubDomains
x-ms-ratelimit-remaining-subscription-reads: 249
x-ms-ratelimit-remaining-subscription-global-reads: 3749
x-ms-correlation-request-id : *
x-ms-routing-request-id : *
X-Content-Type-Options : nosniff
X-Cache : CONFIG_NOCACHE
X-MSEdge-Ref : Ref A: * Ref B: * Ref C: 2026-05-06T13:44:51Z
Date : Wed, 06 May 2026 13:44:51 GMT
Body:
{
"identity": {
"userAssignedIdentities": {
"/subscriptions/*/resourcegroups/*/providers/Microsoft.ManagedIdentity/userAssignedIdentities/*": {
"principalId": "*",
"tenantId": "*",
"clientId": "*"
}
},
"type": "UserAssigned"
},
"sku": {
"name": "Standard_ZRS",
"tier": "Standard"
},
"kind": "StorageV2",
"id": "/subscriptions/*/resourceGroups/*/providers/Microsoft.Storage/storageAccounts/*",
"name": "*",
"type": "Microsoft.Storage/storageAccounts",
"location": "westeurope",
"tags": {},
"properties": {
"allowCrossTenantDelegationSas": false,
"defaultToOAuthAuthentication": false,
"publicNetworkAccess": "Disabled",
"keyCreationTime": {
"key1": "2025-12-19T13:32:58.3217093Z",
"key2": "2025-12-19T13:32:58.3217093Z"
},
"allowCrossTenantReplication": false,
"privateEndpointConnections": [
{
"id": "/subscriptions/*/resourceGroups/*/providers/Microsoft.Storage/storageAccounts/*/privateEndpointConnections/*",
"name": "*",
"type": "Microsoft.Storage/storageAccounts/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/*/resourceGroups/*/providers/Microsoft.Network/privateEndpoints/*"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-Approved",
"actionRequired": "None"
}
}
},
{
"id": "/subscriptions/*/resourceGroups/*/providers/Microsoft.Storage/storageAccounts/*/privateEndpointConnections/*",
"name": "*",
"type": "Microsoft.Storage/storageAccounts/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/*/resourceGroups/*/providers/Microsoft.Network/privateEndpoints/*"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "",
"actionRequired": "None"
}
}
},
{
"id": "/subscriptions/*/resourceGroups/*/providers/Microsoft.Storage/storageAccounts/*/privateEndpointConnections/*",
"name": "*",
"type": "Microsoft.Storage/storageAccounts/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/*/resourceGroups/*/providers/Microsoft.Network/privateEndpoints/*"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-Approved",
"actionRequired": "None"
}
}
}
],
"azureFilesIdentityBasedAuthentication": {
"smbOAuthSettings": {
"isSmbOAuthEnabled": false
},
"directoryServiceOptions": "AD",
"activeDirectoryProperties": {
"samAccountName": "*",
"accountType": "Computer",
"domainName": "*",
"netBiosDomainName": "*",
"forestName": "*",
"domainGuid": "*",
"domainSid": "*",
"azureStorageSid": "*"
},
"defaultSharePermission": "StorageFileDataSmbShareContributor"
},
"minimumTlsVersion": "TLS1_2",
"allowBlobPublicAccess": false,
"allowSharedKeyAccess": true,
"networkAcls": {
"ipv6Rules": [],
"resourceAccessRules": [
{
"tenantId": "*",
"resourceId": "/subscriptions/*/providers/Microsoft.Security/datascanners/*"
}
],
"bypass": "AzureServices",
"virtualNetworkRules": [],
"ipRules": [],
"defaultAction": "Deny"
},
"supportsHttpsTrafficOnly": true,
"encryption": {
"identity": {
"userAssignedIdentity": "/subscriptions/*/resourcegroups/*/providers/Microsoft.ManagedIdentity/userAssignedIdentities/*"
},
"requireInfrastructureEncryption": false,
"keyvaultproperties": {
"currentVersionedKeyIdentifier": "*",
"lastKeyRotationTimestamp": "2025-12-19T13:32:58.9779577Z",
"currentVersionedKeyExpirationTimestamp": "1970-01-01T00:00:00Z",
"keyvaulturi": "*",
"keyname": "*"
},
"services": {
"file": {
"keyType": "Account",
"enabled": true,
"lastEnabledTime": "2025-12-19T13:32:58.3373335Z"
},
"blob": {
"keyType": "Account",
"enabled": true,
"lastEnabledTime": "2025-12-19T13:32:58.3373335Z"
}
},
"keySource": "Microsoft.Keyvault"
},
"accessTier": "Smart",
"provisioningState": "Succeeded",
"creationTime": "2025-12-19T13:32:58.0248337Z",
"primaryEndpoints": {
"dfs": "*",
"web": "*",
"blob": "*",
"queue": "*",
"table": "*",
"file": "*"
},
"primaryLocation": "westeurope",
"statusOfPrimary": "available"
}
}
DEBUG: 1:44:51 PM - [ConfigManager] Got nothing from [EnableErrorRecordsPersistence], Module = [Az.Storage], Cmdlet = [Get-AzStorageAccount]. Returning default value [False].
Get-AzStorageAccount: Unable to deserialize the response.
DEBUG: 1:44:51 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Storage], Cmdlet = [Get-AzStorageAccount]. Returning default value [True].
DEBUG: 1:44:51 PM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:44:51 PM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:44:51 PM - No authentication telemetry is found for the current cmdlet with Id *.
DEBUG: AzureQoSEvent: Module: Az.Storage:9.6.0; CommandName: Get-AzStorageAccount; PSVersion: 7.6.0; IsSuccess: False; Duration: 00:00:00.7600826; SanitizeDuration: 00:00:00; Exception: Unable to deserialize the response.;
DEBUG: 1:44:51 PM - [ConfigManager] Got [True] from [EnableDataCollection], Module = [], Cmdlet = [].
DEBUG: 1:44:52 PM - GetAzureStorageAccountCommand end processing.
```
### Environment data
```PowerShell
Name Value
---- -----
PSVersion 7.6.0
PSEdition Core
GitCommitId 7.6.0
OS Microsoft Azure Linux 3.0
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.4
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
```
### Module versions
```PowerShell
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 5.3.4 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault…}
Script 11.4.0 Az.Compute {Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity, Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege, Add-AzGalleryInVMAcc…
Script 7.26.0 Az.Network {Add-AzApplicationGatewayAuthenticationCertificate, Add-AzApplicationGatewayBackendAddressPool, Add-AzApplicationGatewayBackendHttpSetting, …
Script 9.0.3 Az.Resources {Export-AzResourceGroup, Export-AzTemplateSpec, Get-AzDenyAssignment, Get-AzDeployment…}
Script 9.6.0 Az.Storage {Add-AzRmStorageContainerLegalHold, Add-AzStorageAccountManagementPolicyAction, Add-AzStorageAccountNetworkRule, Close-AzStorageFileHandle…}
Script 1.1.3 Az.Tools.Predictor {Disable-AzPredictor, Enable-AzPredictor, Open-AzPredictorSurvey, Send-AzPredictorRating}
Script 0.0.0.10 AzureAD.Standard.Preview {Add-AzureADApplicationOwner, Add-AzureADDeviceRegisteredOwner, Add-AzureADDeviceRegisteredUser, Add-AzureADDirectoryRoleMember…}
Script 0.9.3 AzurePSDrive
```
### Error output
```PowerShell
DEBUG: 1:52:20 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
DEBUG: 1:52:20 PM - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'.
DEBUG: 1:52:20 PM - using account id '*'...
DEBUG: 1:52:20 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Resolve-AzError]. Returning default value [True].
DEBUG: 1:52:20 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
HistoryId: 10
Message : Unable to deserialize the response.
StackTrace : at Microsoft.Azure.Management.Storage.StorageAccountsOperations.GetPropertiesWithHttpMessagesAsync(String resourceGroupName, String accountName, Nullable`1 expand, Dictionary`2
customHeaders, CancellationToken cancellationToken)
at Microsoft.Azure.Management.Storage.StorageAccountsOperationsExtensions.GetPropertiesAsync(IStorageAccountsOperations operations, String resourceGroupName, String accountName, Nullable`1
expand, CancellationToken cancellationToken)
at Microsoft.Azure.Management.Storage.StorageAccountsOperationsExtensions.GetProperties(IStorageAccountsOperations operations, String resourceGroupName, String accountName, Nullable`1
expand)
at Microsoft.Azure.Commands.Management.Storage.GetAzureStorageAccountCommand.ExecuteCmdlet()
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.b__3_0(T c)
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet, Action`1 executor)
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet)
at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
Exception : Microsoft.Rest.SerializationException
InvocationInfo : {Get-AzStorageAccount}
Line : Get-AzStorageAccount -ResourceGroupName * -name *
Position : At line:1 char:1
+ Get-AzStorageAccount -ResourceGroupName * -name * …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 10
DEBUG: 1:52:21 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
Message : Error converting value "Smart" to type 'System.Nullable`1[Microsoft.Azure.Management.Storage.Models.AccessTier]'. Path 'properties.accessTier', line 1, position 4966.
StackTrace : at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
at Microsoft.Rest.Serialization.TransformationJsonConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject[T](String json, JsonSerializerSettings settings)
at Microsoft.Azure.Management.Storage.StorageAccountsOperations.GetPropertiesWithHttpMessagesAsync(String resourceGroupName, String accountName, Nullable`1 expand, Dictionary`2
customHeaders, CancellationToken cancellationToken)
Exception : Newtonsoft.Json.JsonSerializationException
InvocationInfo : {Get-AzStorageAccount}
Line : Get-AzStorageAccount -ResourceGroupName * -name *
Position : At line:1 char:1
+ Get-AzStorageAccount -ResourceGroupName * -name * …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 10
DEBUG: 1:52:21 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
Message : Requested value 'Smart' was not found.
StackTrace : at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, NamingStrategy namingStrategy, String value, Boolean disallowNumber)
at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
Exception : System.ArgumentException
InvocationInfo : {Get-AzStorageAccount}
Line : Get-AzStorageAccount -ResourceGroupName * -name *
Position : At line:1 char:1
+ Get-AzStorageAccount -ResourceGroupName * -name * …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 10
DEBUG: 1:52:21 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
HistoryId: 8
Message : Unable to deserialize the response.
StackTrace : at Microsoft.Azure.Management.Storage.StorageAccountsOperations.GetPropertiesWithHttpMessagesAsync(String resourceGroupName, String accountName, Nullable`1 expand, Dictionary`2
customHeaders, CancellationToken cancellationToken)
at Microsoft.Azure.Management.Storage.StorageAccountsOperationsExtensions.GetPropertiesAsync(IStorageAccountsOperations operations, String resourceGroupName, String accountName, Nullable`1
expand, CancellationToken cancellationToken)
at Microsoft.Azure.Management.Storage.StorageAccountsOperationsExtensions.GetProperties(IStorageAccountsOperations operations, String resourceGroupName, String accountName, Nullable`1
expand)
at Microsoft.Azure.Commands.Management.Storage.GetAzureStorageAccountCommand.ExecuteCmdlet()
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.b__3_0(T c)
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet, Action`1 executor)
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet)
at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
Exception : Microsoft.Rest.SerializationException
InvocationInfo : {Get-AzStorageAccount}
Line : Get-AzStorageAccount -ResourceGroupName * -name *
Position : At line:1 char:1
+ Get-AzStorageAccount -ResourceGroupName * -name * …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 8
DEBUG: 1:52:21 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
Message : Error converting value "Smart" to type 'System.Nullable`1[Microsoft.Azure.Management.Storage.Models.AccessTier]'. Path 'properties.accessTier', line 1, position 4966.
StackTrace : at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
at Microsoft.Rest.Serialization.TransformationJsonConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject[T](String json, JsonSerializerSettings settings)
at Microsoft.Azure.Management.Storage.StorageAccountsOperations.GetPropertiesWithHttpMessagesAsync(String resourceGroupName, String accountName, Nullable`1 expand, Dictionary`2
customHeaders, CancellationToken cancellationToken)
Exception : Newtonsoft.Json.JsonSerializationException
InvocationInfo : {Get-AzStorageAccount}
Line : Get-AzStorageAccount -ResourceGroupName * -name *
Position : At line:1 char:1
+ Get-AzStorageAccount -ResourceGroupName * -name * …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 8
DEBUG: 1:52:21 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
Message : Requested value 'Smart' was not found.
StackTrace : at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, NamingStrategy namingStrategy, String value, Boolean disallowNumber)
at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
Exception : System.ArgumentException
InvocationInfo : {Get-AzStorageAccount}
Line : Get-AzStorageAccount -ResourceGroupName * -name *
Position : At line:1 char:1
+ Get-AzStorageAccount -ResourceGroupName * -name * …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 8
DEBUG: 1:52:21 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
HistoryId: 3
Message : Unable to deserialize the response.
StackTrace : at Microsoft.Azure.Management.Storage.StorageAccountsOperations.GetPropertiesWithHttpMessagesAsync(String resourceGroupName, String accountName, Nullable`1 expand, Dictionary`2
customHeaders, CancellationToken cancellationToken)
at Microsoft.Azure.Management.Storage.StorageAccountsOperationsExtensions.GetPropertiesAsync(IStorageAccountsOperations operations, String resourceGroupName, String accountName, Nullable`1
expand, CancellationToken cancellationToken)
at Microsoft.Azure.Management.Storage.StorageAccountsOperationsExtensions.GetProperties(IStorageAccountsOperations operations, String resourceGroupName, String accountName, Nullable`1
expand)
at Microsoft.Azure.Commands.Management.Storage.GetAzureStorageAccountCommand.ExecuteCmdlet()
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.b__3_0(T c)
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet, Action`1 executor)
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet)
at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
Exception : Microsoft.Rest.SerializationException
InvocationInfo : {Get-AzStorageAccount}
Line : Get-AzStorageAccount -ResourceGroupName * -name *
Position : At line:1 char:1
+ Get-AzStorageAccount -ResourceGroupName * -name * …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 3
DEBUG: 1:52:21 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
Message : Error converting value "Smart" to type 'System.Nullable`1[Microsoft.Azure.Management.Storage.Models.AccessTier]'. Path 'properties.accessTier', line 1, position 4966.
StackTrace : at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
at Microsoft.Rest.Serialization.TransformationJsonConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject[T](String json, JsonSerializerSettings settings)
at Microsoft.Azure.Management.Storage.StorageAccountsOperations.GetPropertiesWithHttpMessagesAsync(String resourceGroupName, String accountName, Nullable`1 expand, Dictionary`2
customHeaders, CancellationToken cancellationToken)
Exception : Newtonsoft.Json.JsonSerializationException
InvocationInfo : {Get-AzStorageAccount}
Line : Get-AzStorageAccount -ResourceGroupName * -name *
Position : At line:1 char:1
+ Get-AzStorageAccount -ResourceGroupName * -name *
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 3
DEBUG: 1:52:21 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
Message : Requested value 'Smart' was not found.
StackTrace : at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, NamingStrategy namingStrategy, String value, Boolean disallowNumber)
at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
Exception : System.ArgumentException
InvocationInfo : {Get-AzStorageAccount}
Line : Get-AzStorageAccount -ResourceGroupName * -name *
Position : At line:1 char:1
+ Get-AzStorageAccount -ResourceGroupName * -name *
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 3
DEBUG: 1:52:21 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
HistoryId: 1
Message : Operation returned an invalid status code 'NotFound'
StackTrace : at Microsoft.Azure.Management.Storage.StorageAccountsOperations.GetPropertiesWithHttpMessagesAsync(String resourceGroupName, String accountName, Nullable`1 expand, Dictionary`2
customHeaders, CancellationToken cancellationToken)
at Microsoft.Azure.Management.Storage.StorageAccountsOperationsExtensions.GetPropertiesAsync(IStorageAccountsOperations operations, String resourceGroupName, String accountName, Nullable`1
expand, CancellationToken cancellationToken)
at Microsoft.Azure.Management.Storage.StorageAccountsOperationsExtensions.GetProperties(IStorageAccountsOperations operations, String resourceGroupName, String accountName, Nullable`1
expand)
at Microsoft.Azure.Commands.Management.Storage.GetAzureStorageAccountCommand.ExecuteCmdlet()
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.b__3_0(T c)
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet, Action`1 executor)
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet)
at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
Exception : Microsoft.Azure.Management.Storage.Models.ErrorResponseException
InvocationInfo : {Get-AzStorageAccount}
Line : Get-AzStorageAccount -ResourceGroupName * -name *
Position : At line:1 char:1
+ Get-AzStorageAccount -ResourceGroupName * -name * …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 1
DEBUG: 1:52:21 PM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:52:21 PM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:52:21 PM - No authentication telemetry is found for the current cmdlet with Id *.
DEBUG: AzureQoSEvent: Module: Az.Accounts:5.3.4; CommandName: Resolve-AzError; PSVersion: 7.6.0; IsSuccess: True; Duration: 00:00:00.0232494; SanitizeDuration: 00:00:00.0005883
DEBUG: 1:52:21 PM - [ConfigManager] Got [True] from [EnableDataCollection], Module = [], Cmdlet = [].
DEBUG: 1:52:21 PM - ResolveError end processing.
```
Contributor guide
Assessment
This issue has not been assessed yet.