Fix issues when setting azureTenantId (#21412)

This commit is contained in:
Cheena Malhotra
2022-12-14 12:03:11 -08:00
committed by GitHub
parent 0638bbb152
commit 234c3debaa
2 changed files with 0 additions and 7 deletions

View File

@@ -112,10 +112,6 @@ export class ConnectionController implements IConnectionComponentController {
if (this._model.azureTenantId !== azureTenantId) { if (this._model.azureTenantId !== azureTenantId) {
this._model.azureTenantId = azureTenantId; this._model.azureTenantId = azureTenantId;
} }
if (this._model.options.azureTenantId !== azureTenantId) {
this._model.azureTenantId = azureTenantId;
}
} }
protected handleOnAdvancedProperties(): void { protected handleOnAdvancedProperties(): void {

View File

@@ -1091,9 +1091,6 @@ export class ConnectionWidget extends lifecycle.Disposable {
model.groupId = this.findGroupId(model.groupFullName); model.groupId = this.findGroupId(model.groupFullName);
} }
} }
if (this.authType === AuthenticationType.AzureMFA || this.authType === AuthenticationType.AzureMFAAndUser) {
model.azureTenantId = this._azureTenantId;
}
} }
} }
return validInputs; return validInputs;