Resetting subscriptions after AD tenant is changed in migration wizard (#14656)

* Resetting subscriptions after AD tenant is changed

* removing migration in progress info message at the end

* printing migration started errors in console.
This commit is contained in:
Aasim Khan
2021-03-10 18:23:39 -08:00
committed by GitHub
parent 50ac3b0fdf
commit 29c02e5746
2 changed files with 4 additions and 2 deletions

View File

@@ -118,6 +118,9 @@ export class AccountsSelectionPage extends MigrationWizardPage {
*/
if (value.selected) {
this.migrationStateModel._azureAccount.properties.tenants = [this.migrationStateModel.getTenant(value.index)];
this.migrationStateModel._subscriptions = undefined!;
this.migrationStateModel._targetSubscription = undefined!;
this.migrationStateModel._databaseBackup.subscription = undefined!;
}
});