Let's extend connections to support using the same user with a different app or on a different tenant. Right now, we match connections on the user (
|
allConnections = allConnections.filter(c => c.identityId !== this.connection.identityId); |
). If the same user uses another app or connects to another tenant, we replace the previous connection. This is limiting, especially in testing, where you might want to try using different apps, or in cases where you might want to use the same account on other tenants.
Let's extend connections to support using the same user with a different app or on a different tenant. Right now, we match connections on the user (
cli-microsoft365/src/Auth.ts
Line 752 in 31bfdff