I work as a consultant and I often help different customers and since all of them insist on me using their Azure AD (and my employer has their own) I am often getting logged in with the wrong account… or rather I was.
My old solution to this issue was to use Incognito/InPrivate mode which means that all Single SignOn cookies are getting erased when you restart the browser. The problem is that if you have multiple browser windows in InPrivate mode then “leak” data. They are not isolated from each other.
The solution is to use Chrome/Edges profile feature to have different personas. Lets get started. I am doing this in Chromium based Edge but it works basically the same in Google Chrome.
- In the upper right corner of your browser click your user profile icon.
- Click Manage Profile Settings
- In the top right corner click “Add Profile”
A couple of good things to know here:
As I said each profile is separate which mean that you can add Chrome Adding separately to each one. If you are using Chrome you can even install different themes in each of them to make it more intuitive to find the correct window. If you, like me, use Chromium Edge each profile can be logged in with a different Microsoft/Azure AD account which means that if you set up the same account profile on a different computer it will sync settings between computers. If you use Chrome you can have different Google accounts.
Using this method means that you will never be logged in using the wrong account (as long as you are good at separating them).
That is it for today
Johan