Create Pool, Start-task, Microsoft.ClassicNetwork, Subscriptions under the Microsoft Partner Agreement are supported only in api-version 2019-10-01 and later
- Dominant language
- TypeScript
- Stars
- 205
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
Dear Everyone
In BatchExplorer, when I create a Pool, and define a Start-Task, then I get this error in the BatchExplorer app.log as belows. I do not know where the 'Microsoft.ClassicNetwork' coms from ? what is the root cause of this problem ? (I provide also the attached file. The Batch Explorer version is 2.18.0-stable.868)
{"0":{"details":[],"message":"","original":{"error":{"error":{"code":"NotSupported","message":"Subscriptions under the Microsoft Partner Agreement are supported only in api-version 2019-10-01 and later. (Request ID: d0002dca-5cf9-47e8-b73a-c5cc3f3fc8c1)"}},"headers":{"headers":{},"lazyInit":null,"lazyUpdate":null,"normalizedNames":{}},"message":"Http failure response for https://management.azure.com/subscriptions/3a1723f4-08b7-40c6-be24-4eded6e0da38/resourceGroups/arg-mrs-chn-adequacy-prd01/providers/Microsoft.CostManagement/query?api-version=2019-01-01: 422 OK","name":"HttpErrorResponse","ok":false,"status":422,"statusText":"OK","url":"https://management.azure.com/subscriptions/3a1723f4-08b7-40c6-be24-4eded6e0da38/resourceGroups/arg-mrs-chn-adequacy-prd01/providers/Microsoft.CostManagement/query?api-version=2019-01-01"},"requestId":"d0002dca-5cf9-47e8-b73a-c5cc3f3fc8c1","status":422,"statusText":"OK","timestamp":"2023-10-25T15:35:54.000Z"},"level":"error","message":"Error retrieving cost","timestamp":"2023-10-25T15:35:55.165Z"}
{"0":{"details":[],"message":"","original":{"error":{"error":{"code":"DisallowedProvider","message":"The operation is not permitted for namespace 'Microsoft.ClassicNetwork'. List of permitted provider namespaces is 'Astronomer.Astro,Citrix.Services,Dell.Storage,Dynatrace.Observability,GitHub.Enterprise,GitHub.Network,Informatica.DataManagement,Microsoft.AAD,Microsoft.AadCustomSecurityAttributesDiagnosticSettings,microsoft.aadiam,Microsoft.ADHybridHealthService,Microsoft.Advisor,Microsoft.AgFoodPlatform,Microsoft.AksHybrid,Microsoft.AlertsManagement,Microsoft.AnalysisServices,Microsoft.AnyBuild,...Observability,Wandisco.Fusion'."}},"headers":{"headers":{},"lazyInit":null,"lazyUpdate":null,"normalizedNames":{}},"message":"Http failure response for https://management.azure.com/subscriptions/3a1723f4-08b7-40c6-be24-4eded6e0da38/providers/Microsoft.ClassicNetwork/virtualNetworks?api-version=2015-12-01: 400 OK","name":"HttpErrorResponse","ok":false,"status":400,"statusText":"OK","url":"https://management.azure.com/subscriptions/3a1723f4-08b7-40c6-be24-4eded6e0da38/providers/Microsoft.ClassicNetwork/virtualNetworks?api-version=2015-12-01"},"requestId":"eb4e9517-4a25-4fdb-9c08-c27e0c5e5319","status":400,"statusText":"OK","timestamp":"2023-10-25T15:37:12.000Z"},"level":"error","message":"Unable to list classic vnets","timestamp":"2023-10-25T15:37:12.519Z"}
{"0":"404 - OK - The specified pool does not exist.","level":"error","message":"[BL] Uncaught exception:","timestamp":"2023-10-25T15:38:13.546Z"}
{"0":{"details":[],"message":"","original":{"error":{"error":{"code":"NotSupported","message":"Subscriptions under the Microsoft Partner Agreement are supported only in api-version 2019-10-01 and later. (Request ID: c260c6ad-fe7b-484c-94d1-92183cf44457)"}},"headers":{"headers":{},"lazyInit":null,"lazyUpdate":null,"normalizedNames":{}},"message":"Http failure response for https://management.azure.com/subscriptions/3a1723f4-08b7-40c6-
[batchexplorer.app.log](https://github.com/Azure/BatchExplorer/files/13168179/batchexplorer.app.log)
be24-4eded6e0da38/resourceGroups/arg-mrs-chn-adequacy-prd01/providers/Microsoft.CostManagement/query?api-version=2019-01-01: 422 OK","name":"HttpErrorResponse","ok":false,"status":422,"statusText":"OK","url":"https://management.azure.com/subscriptions/3a1723f4-08b7-40c6-be24-4eded6e0da38/resourceGroups/arg-mrs-chn-adequacy-prd01/providers/Microsoft.CostManagement/query?api-version=2019-01-01"},"requestId":"c260c6ad-fe7b-484c-94d1-92183cf44457","status":422,"statusText":"OK","timestamp":"2023-10-25T15:38:15.000Z"},"level":"error","message":"Error retrieving cost","timestamp":"2023-10-25T15:38:15.454Z"}
many thanks
Contributor guide
Assessment
This issue has not been assessed yet.