Forum Discussion
Forcing share to Onedrive business
Background:
I have Onedrive personal & business both set up and working.
I have a shared link that I want to connect to my onedrive business.
Onedrive auto logs in to my personal account regardless of the chrome profile, login status of either onedrive, browser used etc.
Apparently the ultimate solution is: open an incognito window, paste the sharing link which opens onedrive online un-signed in.
Now: I enter my business account login (a *.onmicrosoft.com account) and before even getting a password screen I get
Interestingly (to me), if I open the same browser, type onedrive.live.com, click signin and enter the same business account it logs in fine.
Please help, thanks in advance.
Mullin
2 Replies
- NikolinoDEGold Contributor
That “Something went wrong / Unknown issue” page is a fairly common OneDrive for Business quirk when a personal Microsoft account and a work/school (Azure AD / *.onmicrosoft.com) account exist side-by-side.
A OneDrive personal link (onedrive.live.com) and OneDrive for Business (via sharepoint.com / *.sharepoint.com and *.onmicrosoft.com) are two different identity systems.
Your browser is “helpfully” auto-resolving the login to your personal Microsoft account instead of prompting for business.
That’s why onedrive.live.com login works, but when you paste the business link it still tries to route through the personal token.
Force Sign-in Prompt
Add the query parameter &prompt=login (or ?prompt=login if no query string yet) to the sharing link.
Example:https://<tenant>-my.sharepoint.com/...&prompt=login
That forces Azure AD to ask which account to use.
Add. Workarounds that maybe can help:
Use a Separate Browser Profile / Container
- In Chrome/Edge: create a new profile just for your business account.
- Paste the link there, sign in with email address removed for privacy reasons.
This prevents cookies from personal vs. business conflicting.
Clear Cached Microsoft Logins
- Go to https://login.microsoftonline.com
- Sign out of all accounts.
- Clear cookies for live.com, microsoftonline.com, sharepoint.com.
Then retry the link — you should get the account chooser.
Open via OneDrive for Business Portal
- Go to https://office.com → sign in with your business account.
- From the App Launcher (☰ waffle menu) → OneDrive.
- Paste the shared URL into the address bar.
This ensures you’re already authenticated with the business account.
If you type your business email and never even get the password box, it means Microsoft’s identity service is silently redirecting you to the personal MSA login pipeline (because of the shared domain name handling). That’s exactly what the prompt=login trick (or a clean tenant URL) solves.
My answers are voluntary and without guarantee!
Hope this will help you.
Was the answer useful? Mark as best response and like it!
This will help all forum participants.
- MullinCopper Contributor
Hi Nikolino,
Thanks so much for the information, I suspected much of that however its good to know.
Sadly the problem persists, here's my feedback on your suggestions:Force signin - I got to this a few different ways previously (incognito window) which led directly to the screenshot error you described as Microsoft's identity service silently redirecting. Same thing happened when doing this after adding the &prompt=login
Use Separate browser profile - I've been doing this from the start and it seems to make no difference at all.
Clear Cached logins - I've done this on both profiles, problem persists.
Open via Onedrive for business - same outcome
All these solutions get me to:
leaving the same option of login with business credentials which leads to no password prompt and error message (Microsoft identity silently redirecting).
I greatly appreciate your post regardless of outcome... any other suggestions?