Yesterday, my account was added to an external team to another tenant and ever since I’m struggling to switch between tenants. This could of course be a coincidence and maybe something has changed within the Microsoft Teams configuration. The new external account that I’m connecting to has MFA enabled. So there is an additional dialog appearing when I log in.
- You’re logged into teams and it is impossible to select a different account. Sometimes there is a message and sometimes there isn’t
- You start Microsoft Teams and a logging you in splash screen seems to be waiting forever
Also, I’m only having issues with the Windows App. The browser version seem to be working without any problem.
So how do you troubleshot these kind of issues?
I’ve started by looking at the logs and I found quite quickly the following errors:
2017-12-15T12:24:05.911Z Err Unhandled exception. TypeError: Cannot read property ‘profile’ of null, cause:
2017-12-15T12:24:05.910Z Inf AUTHSSO:ELEC: Function Queue – Dequeuing function for data:No data provided, current queue count:0
2017-12-15T12:24:05.909Z Inf AUTHSSO:ELEC: IPC correlationId:fda6977d-5f6b-49d1-88e5-d3946c5b5fdb call success. receiveEventsso-getCurrentUser
2017-12-15T12:24:05.909Z Inf AUTHSSO:ELEC: IPC correlationId:fda6977d-5f6b-49d1-88e5-d3946c5b5fdb call returned. receiveEventsso-getCurrentUser
2017-12-15T12:24:05.866Z Inf AUTHSSO:ELEC: IPC correlationId:fda6977d-5f6b-49d1-88e5-d3946c5b5fdb sending call. sendEventsso-getCurrentUser
2017-12-15T12:24:05.866Z Inf AUTHSSO:ELEC: Function Queue – Executing function for data:No data provided, queue count:1
2017-12-15T12:24:05.866Z Inf AUTHSSO:ELEC: Function Queue – Queueing function for data:No data provided, queue count:1
2017-12-15T12:24:05.865Z War AUTHSSO: Clearing the adal cache
2017-12-15T12:24:05.865Z War AUTHSSO: Unable to fetch updated user profile due to app state. Returning cached user
So there is something wrong with my profile?
And after I’ve gone though the login windows my Microsoft Teams starts ok. But I still can’t switch to the external account as Microsoft Teams defaults back to my company account.
then I tried connecting to Microsoft Teams through the browser again and I’m getting the following dialogue:
I’m completing the verification process and now I’m logged into the external team within my browser. It looks like external guest access with Multi Factor Authentication enabled isn’t supported in the Windows App for Microsoft Teams! When I attempt to switch to the external team in the app, I’m being redirected back to my usual tenant. So at least there is a way back to normal.
Although when I look in my chat history all the profile photos are gone. So I go for another logout and then all is back to normal.