You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create Pool, Start-task, Microsoft.ClassicNetwork, Subscriptions under the Microsoft Partner Agreement are supported only in api-version 2019-10-01 and later
#2823
Open
manhthang-tran opened this issue
Oct 25, 2023
· 5 comments
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)
Doing some further digging, this appears to be a networking issue. It looks like Batch Explorer is no longer honouring values from the HOSTS file, and is instead doing its own DNS resolution. This is causing it to try and route to the public IP address rather than the private endpoint that we've got configured for it
I wonder if this was caused by an Electron update, as Batch Explorer doesn't do its own DNS resolution. The Electron docs seem to indicate it will fall back to the system resolver.
I haven't tested this yet, but the next stable release which should be coming within the next couple of weeks will include an update to Electron 29, so it might be worth seeing if that changes anything.
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
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
The text was updated successfully, but these errors were encountered: