mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 01:25:37 -05:00
Fix issues when setting azureTenantId (#21412)
This commit is contained in:
@@ -112,10 +112,6 @@ export class ConnectionController implements IConnectionComponentController {
|
||||
if (this._model.azureTenantId !== azureTenantId) {
|
||||
this._model.azureTenantId = azureTenantId;
|
||||
}
|
||||
|
||||
if (this._model.options.azureTenantId !== azureTenantId) {
|
||||
this._model.azureTenantId = azureTenantId;
|
||||
}
|
||||
}
|
||||
|
||||
protected handleOnAdvancedProperties(): void {
|
||||
|
||||
@@ -1091,9 +1091,6 @@ export class ConnectionWidget extends lifecycle.Disposable {
|
||||
model.groupId = this.findGroupId(model.groupFullName);
|
||||
}
|
||||
}
|
||||
if (this.authType === AuthenticationType.AzureMFA || this.authType === AuthenticationType.AzureMFAAndUser) {
|
||||
model.azureTenantId = this._azureTenantId;
|
||||
}
|
||||
}
|
||||
}
|
||||
return validInputs;
|
||||
|
||||
Reference in New Issue
Block a user