Open PsychoData opened 3 years ago
This is going to be more of an issue on the Microsoft side, and could only be remedies if there is a URI parameter that can be passed in. I have not come across any that may target work/school accounts, and if they do, its usually specific to a tenant like https://passwordreset.microsoftonline.com/?whr=contoso.com
The recommendation we always have is to separate accounts using browser profiles.
the issue follows more when you have something like "login_hint" or if you are hitting with "office.com" links rather than "Office365.com" or "Microsoft.com" links
However, I couldn't find a link that would send you to SharePoint without sending by way of "Office.com" - like the above Link which attempts to redirect you to https://www.office.com/launch/sharepoint
The main trouble I would fine with this was that the sharepoint links were tenant-specific, like tenantname.sharepoint.com
or possibly https://www.office.com/launch/sharepoint?whr=tenant.com would work - but either way - to keep it generic for all tenants, I haven't found a good link/route that will force Work Account and then send to Sharepoint.
for a bit I thought I might be able to with login.microsoft.com/common/ sort of links - similar to how you could make a login.microsoft.com/consumer/ link to some things to force "Microsoft" account but not "Work/School" account - but without constructing an app that supports explicitly WORK accounts, but not PERSONAL accounts (and possibly requiring people to approve permissions?)- I'm not sure this is possible with the current tools available
Is this still an issue @PsychoData ?
Describe the bug Some links may not work if you are signed into multiple accounts - particularly signed into an MS Account and a Work/School account.
To Reproduce Steps to reproduce the behavior:
Expected behavior Ideally, this would either force you to select from a list of current AzureAD Accounts only when you clicked on SharePoint, or sign you into your only AzureAD Account if you were only signed into one AAD Account.
Additional Context The above End User - Sharepoint link works by redirecting you to https://www.office.com/launch/sharepoint, but Office.com can accept Personal/Microsoft accounts (MSA) and Work/Azure AD (AAD) accounts as well. I believe issue should also hold true for most of the
*.office.com
links - at least thewww.office.com
links. For example, in two different browsers I am signed into my Work and Personal accounts, but www.office.com/launch/onenote takes me to my Work account in one and my Personal account in the other.