-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
Azure PS TeamSimilar-IssueTrackingWe will track status and follow internallyWe will track status and follow internallybugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.good first issueIssues suited for folks who want to help for the first time.Issues suited for folks who want to help for the first time.
Description
Description
When Invoke-AzSpotPlacementScore bumps up against API limits and gets throttled it does not handle this situation gracefully. It fails to parse the API response properly and ends with:
Invoke-AzSpotPlacementScore_PostExpanded: Expected '{' or '['. Was String: You.
Issue script & Debug output
PS C:\Users\dohughes\OneDrive - Microsoft\Documents\PowerShell> $DebugPreference='Continue'
PS C:\Users\dohughes\OneDrive - Microsoft\Documents\PowerShell> $resourceSku1 = @{sku = "Standard_D2_v3"}
PS C:\Users\dohughes\OneDrive - Microsoft\Documents\PowerShell> $resourceSku2 = @{sku = "Standard_D2_v2"}
PS C:\Users\dohughes\OneDrive - Microsoft\Documents\PowerShell> $resourceSku3 = @{sku = "Standard_D4_v3"}
PS C:\Users\dohughes\OneDrive - Microsoft\Documents\PowerShell> $desiredSizes = $resourceSku1,$resourceSku2,$resourceSku3
PS C:\Users\dohughes\OneDrive - Microsoft\Documents\PowerShell> $desiredLocations = 'japaneast','southcentralus','centralus'
PS C:\Users\dohughes\OneDrive - Microsoft\Documents\PowerShell> Invoke-AzSpotPlacementScore -Location eastus -DesiredCount 1 -DesiredLocation $desiredLocations -DesiredSize $desiredSizes -Debug
DEBUG: 17:04:51 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 17:04:51 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 17:04:51 - GetAzureRMContextCommand begin processing with ParameterSet 'GetSingleContext'.
DEBUG: 17:04:51 - [ConfigManager] Got [False] from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Get-AzContext].
DEBUG: 17:04:51 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 17:04:51 - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 17:04:51 - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 17:04:51 - GetAzureRMContextCommand end processing.
WARNING: Upcoming breaking changes in the cmdlet 'Invoke-AzSpotPlacementScore' :
- The output type 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20250605.ISpotPlacementScoresResponse' is changing
- The following properties in the output type are being deprecated : 'PlacementScore' 'DesiredSize' 'DesiredLocation'
- The following properties are being added to the output type : 'PlacementScore' 'DesiredSize' 'DesiredLocation'
- Change description : The types of the properties 'PlacementScore', 'DesiredSize' and 'DesiredLocation' will be changed from single object to 'List'.
- This change will take effect on '2025-11-03'- The change is expected to take effect from Az version : '15.0.0'
- The change is expected to take effect from version : '9.0.0'
Note : Go to https://aka.ms/azps-changewarnings for steps to suppress this breaking change warning, and other information on breaking changes in Azure PowerShell.
Confirm
Continue with this operation?
[Y] Yes [A] Yes to All [H] Halt Command [S] Suspend [?] Help (default is "Y"): A
DEBUG: [CmdletBeginProcessing]: Starting command
DEBUG: CmdletBeginProcessing:
DEBUG: CmdletProcessRecordStart:
Confirm
Are you sure you want to perform this action?
Performing the operation "Invoke-AzSpotPlacementScore_PostExpanded" on target "Call remote 'SpotPlacementScoresPost' operation".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): A
DEBUG: CmdletGetPipeline:
DEBUG: CmdletBeforeAPICall:
DEBUG: URLCreated: /subscriptions/69f95403-8f1d-40b6-8ff0-beba8f41adea/providers/Microsoft.Compute/locations/eastus/placementScores/spot/generate?api-version=2025-06-05
DEBUG: RequestCreated: /subscriptions/69f95403-8f1d-40b6-8ff0-beba8f41adea/providers/Microsoft.Compute/locations/eastus/placementScores/spot/generate?api-version=2025-06-05
DEBUG: HeaderParametersAdded:
DEBUG: BodyContentSet:
DEBUG: 17:04:56 - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
POST
Absolute Uri:
https://management.azure.com/subscriptions/69f95403-8f1d-40b6-8ff0-beba8f41adea/providers/Microsoft.Compute/locations/eastus/placementScores/spot/generate?api-version=2025-06-05
Headers:
x-ms-unique-id : 3
x-ms-client-request-id : 175b11bc-3030-4d11-b989-347040d76b03
CommandName : Invoke-AzSpotPlacementScore
FullCommandName : Invoke-AzSpotPlacementScore_PostExpanded
ParameterSetName : __AllParameterSets
User-Agent : AzurePowershell/v14.2.0,PSVersion/v7.5.4,Az.Compute/10.1.0
Body:
{
"desiredLocations": [
"japaneast",
"southcentralus",
"centralus"
],
"desiredSizes": [
{
"sku": "Standard_D2_v3"
},
{
"sku": "Standard_D2_v2"
},
{
"sku": "Standard_D4_v3"
}
],
"desiredCount": 1
}
DEBUG: BeforeCall:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
TooManyRequests
Headers:
Cache-Control : no-cache
Pragma : no-cache
x-ms-operation-identifier : appId=266cb06b-543a-46ea-85e8-b19577b332d2,tenantId=d23d0c06-cce7-4e7b-b5fe-8d13c385f29c,objectId=226eb5ee-c2ff-490f-8ab7-501185a5ac4a/southeastasia/73399b79-a0f9-460c-b60b-7b27ca73eeb9
Strict-Transport-Security : max-age=31536000; includeSubDomains
x-ms-ratelimit-remaining-subscription-writes: 199
x-ms-ratelimit-remaining-subscription-global-writes: 2999
x-ms-request-id : be8c13cd-3851-4e2b-a12d-c7601ea37b27
x-ms-correlation-request-id : be8c13cd-3851-4e2b-a12d-c7601ea37b27
x-ms-routing-request-id : SOUTHEASTASIA:20251028T160458Z:be8c13cd-3851-4e2b-a12d-c7601ea37b27
X-Content-Type-Options : nosniff
X-Cache : CONFIG_NOCACHE
X-MSEdge-Ref : Ref A: 814EEBDDCCAF484583CA1C17E08A7503 Ref B: AMS231032608035 Ref C: 2025-10-28T16:04:57Z
Date : Tue, 28 Oct 2025 16:04:57 GMT
Body:
You have reached the maximum number of requests allowed. Please try again after 3600 seconds.
DEBUG: ResponseCreated:
DEBUG: BeforeResponseDispatch:
DEBUG: [Finally]: Cannot deserialize due to Unexpected character encountered while parsing value: Y. Path '', line 0, position 0.
DEBUG: [Finally]: Getting exception 'Microsoft.Azure.Commands.Common.Exceptions.AzPSCloudException: InternalException' from response
DEBUG: Finally:
DEBUG: [CmdletProcessRecordAsyncEnd]: Finish HTTP process
DEBUG: CmdletProcessRecordAsyncEnd:
DEBUG: [CmdletException]: Received Exception with message 'ParserException - Expected '{' or '['. Was String: You. : at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonParser.ReadNode()
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonNode.Parse(SourceReader sourceReader)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonNode.Parse(String text)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.<>c.<SpotPlacementScoresPost_Call>b__114_1(Task`1 body)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.onDefault(HttpResponseMessage responseMessage, Task`1 response)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost_Call(HttpRequestMessage request, Func`3 onOk, Func`3 onDefault, IEventListener eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost_Call(HttpRequestMessage request, Func`3 onOk, Func`3 onDefault, IEventListener eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost(String subscriptionId, String location, ISpotPlacementScoresInput body, Func`3 onOk, Func`3 onDefault, IEventListener eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.ProcessRecordAsync()
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.ProcessRecordAsync()'
DEBUG: CmdletException: ParserException - Expected '{' or '['. Was String: You. : at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonParser.ReadNode()
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonNode.Parse(SourceReader sourceReader)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonNode.Parse(String text)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.<>c.<SpotPlacementScoresPost_Call>b__114_1(Task`1 body)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.onDefault(HttpResponseMessage responseMessage, Task`1 response)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost_Call(HttpRequestMessage request, Func`3 onOk, Func`3 onDefault, IEventListener eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost_Call(HttpRequestMessage request, Func`3 onOk, Func`3 onDefault, IEventListener eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost(String subscriptionId, String location, ISpotPlacementScoresInput body, Func`3 onOk, Func`3 onDefault, IEventListener eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.ProcessRecordAsync()
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.ProcessRecordAsync()
Invoke-AzSpotPlacementScore_PostExpanded: Expected '{' or '['. Was String: You.
DEBUG: CmdletProcessRecordEnd:
DEBUG: AzureQoSEvent: Module: Az.Compute:10.4.0; CommandName: Invoke-AzSpotPlacementScore; PSVersion: 7.5.4; IsSuccess: True; Duration: 00:00:07.0796264; SanitizeDuration: 00:00:00
PS C:\Users\dohughes\OneDrive - Microsoft\Documents\PowerShell>Environment data
S C:\Users\dohughes\OneDrive - Microsoft\Documents\PowerShell> $PSVersionTable
Name Value
---- -----
PSVersion 7.5.4
PSEdition Core
GitCommitId 7.5.4
OS Microsoft Windows 10.0.26200
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Module versions
PS C:\Users\dohughes\OneDrive - Microsoft\Documents\PowerShell> Get-Module Az*
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 5.3.0 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault…}
Script 10.4.0 Az.Compute {Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity, Add-AzGalleryInVMAccessControlProfileVersionRulesPriv…Error output
PS C:\Users\dohughes\OneDrive - Microsoft\Documents\PowerShell> Resolve-AzError
DEBUG: 17:07:53 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 17:07:53 - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'.
DEBUG: 17:07:53 - using account id '266cb06b-543a-46ea-85e8-b19577b332d2'...
DEBUG: 17:07:53 - [ConfigManager] Got [False] from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Resolve-AzError].
DEBUG: 17:07:53 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
HistoryId: 16
Message : Expected '{' or '['. Was String: You.
StackTrace : at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonParser.ReadNode()
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonNode.Parse(SourceReader sourceReader)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonNode.Parse(String text)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.<>c.<SpotPlacementScoresPost_Call>b__114_1(Task`1 body)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object
state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object
state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.onDefault(HttpResponseMessage responseMessage, Task`1 response)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost_Call(HttpRequestMessage request, Func`3 onOk, Func`3 onDefault, IEventListener
eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost_Call(HttpRequestMessage request, Func`3 onOk, Func`3 onDefault, IEventListener
eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost(String subscriptionId, String location, ISpotPlacementScoresInput body, Func`3 onOk,
Func`3 onDefault, IEventListener eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.ProcessRecordAsync()
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.ProcessRecordAsync()
Exception : Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.ParserException
InvocationInfo : {Invoke-AzSpotPlacementScore_PostExpanded}
Line : Invoke-AzSpotPlacementScore -Location eastus -DesiredCount 1 -DesiredLocation $desiredLocations -DesiredSize $desiredSizes -Debug
Position : At line:1 char:1
+ Invoke-AzSpotPlacementScore -Location eastus -DesiredCount 1 -Desired …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 16
DEBUG: 17:07:54 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
HistoryId: 8
Message : Expected '{' or '['. Was String: You.
StackTrace : at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonParser.ReadNode()
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonNode.Parse(SourceReader sourceReader)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonNode.Parse(String text)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.<>c.<SpotPlacementScoresPost_Call>b__114_1(Task`1 body)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object
state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object
state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.onDefault(HttpResponseMessage responseMessage, Task`1 response)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost_Call(HttpRequestMessage request, Func`3 onOk, Func`3 onDefault, IEventListener
eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost_Call(HttpRequestMessage request, Func`3 onOk, Func`3 onDefault, IEventListener
eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost(String subscriptionId, String location, ISpotPlacementScoresInput body, Func`3 onOk,
Func`3 onDefault, IEventListener eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.ProcessRecordAsync()
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.ProcessRecordAsync()
Exception : Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.ParserException
InvocationInfo : {Invoke-AzSpotPlacementScore_PostExpanded}
Line : Invoke-AzSpotPlacementScore -Location eastus -DesiredCount 1 -DesiredLocation $desiredLocations -DesiredSize $desiredSizes -Debug
Position : At line:1 char:1
+ Invoke-AzSpotPlacementScore -Location eastus -DesiredCount 1 -Desired …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 8
DEBUG: 17:07:54 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
HistoryId: 7
Message : Expected '{' or '['. Was String: You.
StackTrace : at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonParser.ReadNode()
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonNode.Parse(SourceReader sourceReader)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.JsonNode.Parse(String text)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.<>c.<SpotPlacementScoresPost_Call>b__114_1(Task`1 body)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object
state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object
state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.onDefault(HttpResponseMessage responseMessage, Task`1 response)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost_Call(HttpRequestMessage request, Func`3 onOk, Func`3 onDefault, IEventListener
eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost_Call(HttpRequestMessage request, Func`3 onOk, Func`3 onDefault, IEventListener
eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Compute.SpotPlacementScoresPost(String subscriptionId, String location, ISpotPlacementScoresInput body, Func`3 onOk,
Func`3 onDefault, IEventListener eventListener, ISendAsync sender)
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.ProcessRecordAsync()
at Microsoft.Azure.PowerShell.Cmdlets.Compute.Cmdlets.InvokeAzSpotPlacementScore_PostExpanded.ProcessRecordAsync()
Exception : Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.Json.ParserException
InvocationInfo : {Invoke-AzSpotPlacementScore_PostExpanded}
Line : $response = Invoke-AzSpotPlacementScore -Location eastus -DesiredCount 1 -DesiredLocation $desiredLocations -DesiredSize $desiredSizes
Position : At line:1 char:1
+ $response = Invoke-AzSpotPlacementScore -Location eastus -DesiredCoun …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 7
DEBUG: 17:07:54 - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 17:07:54 - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 17:07:54 - No authentication telemetry is found for the current cmdlet with Id 76d9c582-504c-4d50-b580-e006d92e5635.
DEBUG: AzureQoSEvent: Module: Az.Accounts:5.3.0; CommandName: Resolve-AzError; PSVersion: 7.5.4; IsSuccess: True; Duration: 00:00:00.2080621; SanitizeDuration: 00:00:00.0005697
DEBUG: 17:07:54 - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 17:07:54 - ResolveError end processing.Metadata
Metadata
Assignees
Labels
Azure PS TeamSimilar-IssueTrackingWe will track status and follow internallyWe will track status and follow internallybugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.good first issueIssues suited for folks who want to help for the first time.Issues suited for folks who want to help for the first time.