diff --git a/extensions/machine-learning/src/prediction/predictService.ts b/extensions/machine-learning/src/prediction/predictService.ts index 600d5ff972..b3bec3a04a 100644 --- a/extensions/machine-learning/src/prediction/predictService.ts +++ b/extensions/machine-learning/src/prediction/predictService.ts @@ -43,9 +43,9 @@ export class PredictService { let connection = await this.getCurrentConnection(); if (connection) { const serverInfo = await this._apiWrapper.getServerInfo(connection.connectionId); - // Right now only Azure SQL Edge support Onnx + // Right now only Azure SQL Edge and MI support Onnx // - return serverInfo && serverInfo.engineEditionId === 9; + return serverInfo && (serverInfo.engineEditionId === 9 || serverInfo.engineEditionId === 8); } return false; } catch (error) {