extensions/microsoft-authentication/src/AADHelper.ts/AzureActiveDirectoryService/migrate
class AzureActiveDirectoryService:	private async migrate() {
		Logger.info('Attempting to migrate stored sessions.');
		const migrated = this._context.globalState.get<{ migrated: boolean }>('microsoft-better-storage-layout-migrated');
		if (migrated?.migrated) {
			return [];
		}
		await this._context.globalState.update('microsoft-better-storage-layout-migrated', { migrated: true });
		const keychain = new Keychain(this._context);
		const storedData = await keychain.getToken();
		if (!storedData) {
			Logger.info('No stored sessions found.');
			return [];
		}

		try {
			const sessions = JSON.parse(storedData) as IStoredSession[];
			Logger.info(`Migrated ${sessions.length} stored sessions.`);
			return sessions;
		} catch (e) {
			Logger.info('Failed to parse stored sessions. Migrating no sessions.');
			return [];
		} finally {
			await keychain.deleteToken();
		}
	}