Forum Discussion
Files shared with Anyone sometimes prompt users to request acccess to the file
My company is experiencing an intermittent problem where sometimes a OneDrive for Business file shared with the setting "Anyone with this link can edit" prompts the user the file is being shared with to request access. If the user tries to open the file a second time, they can then access the file without requesting access. We're wondering why that access request prompt sometimes happens and how to prevent it. It doesn't happen consistently, so we're having trouble reproducing and troubleshooting it. Has anyone seen this before and know how to fix it?
114 Replies
- er1livenetCopper ContributorVertaling alles
- mikeleemsft
Microsoft
I'm working on something similar and found when sharing files directly in SharePoint to a specified user, an e-mail address is added as a parameter in the sharing link. This e-mail parameter creates a LoginHint claim in the auth flow. If the e-mail does not match a user, the user is redirected to the standard sign-in experience. However, if the e-mail does match but the UPN is different, I believe this stops the sign-in flow and prompts to a password. This is still a working theory but may help with your t-shooting processes. - Day270Copper Contributor
Hi All
This thread has been going on far too long. I opened a ticket with Microsoft Support today and they were very not helpful. That said, I noticed something that I thought was notable -- fully transparency, I didn't read all six pages of replies/complaints so someone might have already noticed this.
The issue seems to be that an unnecessary (and unwanted) login POP UP screen appears. Interestingly, if the browser is set to block pop-ups, the problem is "hidden". This might explain why the issue is under reported and intermittent. Screenshots below.
Chrome - pop ups allowed.
Chrome - pop ups allowed
Chrome - pop ups blocked.
Chrome - pop ups blocked
- Bill_HawkinsCopper Contributor
Day270 That is the problem. One drive has the option for the owner of a folder to send permission or obtain a link that allows anyone with the link to access the folder WITHOUT having to log into One Drive.
What is happening is sometimes the popup you mention comes up. It's presumably due to MS OR the browser being used, 'assuming' the person attempting to access the folder is required to log in for folder access.
The link is SUPPOSED to specifically allow the user access WITHOUT a login.
My personal belief is if a browser used to attempt access has cookies or a cache file that triggers a login request, then the link is not configured correctly. My personal experience is to use a 'virgin' browser and the problem seems to go away.- Day270Copper Contributor
I see your reasoning and thought the same but unfortunately, the only reason the issue doesn’t happen on an incognito browser is that the pop-ups are automatically blocked. Once you adjust the setting on your browser to allow pop-ups (despite there being no cookies or browser history) the login pop up appears. Ugh!
This is a huge flaw and it’s disappointing to see how long people have been struggling with this.
I have a technician looking into it at Microsoft and I will let you know if I hear anything more.
- GummoMarxCopper Contributor
I found that, if I'm asked to sign in, I paste the URL my browser again, then the page opens successfully. MS wants us to do it twice!
- Raul_B_Copper Contributor- Uploading a video to stream classic allows to select organization and sharing videos is more consistent
- However, Stream Classic is retiring so we need to know Stream (Sharepoint) which is very similar to onedrive and I experienced an issue sharing a link from Stream and onedrive where some users couldn't not access despite access to the organization was selected. Looking for a solution still. Thanks.- Phil_TorgersenCopper Contributor
Raul_B_ I am amazed that this problem still exists after years and numerous complaints. This does not seem as if it should be a very difficult issue to scope out by Microsoft and apply a fix. OneDrive has been around a long time.
I started using OneDrive when Amazon gave up its AmazonDrive as of EOY. This inconsistent bug about asking people to sign in, when it's an "Anyone with Link can View" link-share is frustrating beyond belief.
At this point I would recommend OneDrive to no one. I will be researching other products, as this product (and its support group) doesn't seem to cut it.
- Jimbotron3000Copper ContributorThis problem has been reported on at least nine separate threads, none of which has a solution. It is clearly a serious bug. Microsoft is clearly ignoring it. I have opened a ticket since my org pays for MS365 but we will see if they actually do anything about it. If so, I'll post here again.
If you care to share in everyone's frustration, here are all the threads:
https://answers.microsoft.com/en-us/msoffice/forum/all/sharepoint-anonymous-link-still-requires-login-and/66d2f02a-04b9-4603-81eb-b1005a0a8c6d
https://answers.microsoft.com/en-us/msoffice/forum/all/sharing-link-with-anyone-with-the-link-can-view/26ba4514-9630-44e8-98d9-49361b91e4ca
https://answers.microsoft.com/en-us/msoffice/forum/all/sharepoint-anonymous-link-still-requires-login/c1af49e3-1235-4b57-9097-e14900e16377
https://answers.microsoft.com/en-us/msoffice/forum/all/externally-shared-sharepoint-link-asking-for/1a1318ff-e258-4524-8360-fcd118b8de02
https://answers.microsoft.com/en-us/msoffice/forum/all/office-365-link-sharing-requires-login-from-some/c712626e-7769-4ba8-99e6-64d6671bd7bc
https://answers.microsoft.com/en-us/msoffice/forum/all/personal-one-drive-share-with-anyone-link-asking/5728fe71-a95d-4e2e-b51c-3d7064277373
https://answers.microsoft.com/en-us/msoffice/forum/all/sharepoint-anonymous-link-still-requires-login/01645b27-19e4-4b30-88c5-b34ec0d390e0
https://answers.microsoft.com/en-us/msoffice/forum/all/when-opening-a-shared-link-from-an-account-that-is/10a37bf2-73c6-48ef-8af7-4852d0a699c8
https://techcommunity.microsoft.com/t5/onedrive/files-shared-with-anyone-sometimes-prompt-users-to-request/td-p/308153/page/4
NINE threads and no solution from Microsoft...
- ITMgr5Copper Contributor
Wondering if anyone has opened a case with Microsoft recently, and what the official response is?
- danny_c270Copper Contributorbump, has anyone found a fix for this issue? anyone from microsoft care chime in?
- SpodletCopper ContributorAnd another, it's still an issue and I guess we'll all be dead and buried before they even accept we aren't just imagining it.
- nickf23Copper Contributor
Hi all,
Like the others, I have been seeing this issue as well as a few people not being able to access OneDrive documents either. I had my director open a ticket with Microsoft, and received the response below. My users are currently OOO, so was hoping to pass this along and see if it worked for anyone else.
Carry out the steps below for the users with the OneDrive issue:
- From the Sharers OneDrive
- Go to return to classic OneDrive from the bottom left corner of the OneDrive page
- Click the settings gear icon > Site settings > People and Groups
- Edit the URL such that "_layout/15/people.aspx?MembershipGroupid=0" is the last information on the URL address.
- Locate the user who is unable to access the shared item
- Check the box in form on the username
- Click Actions and Select Delete Users from Site Collection
- Proceed to reshare items from the OneDrive with the user
Carry out the steps below for the users with SharePoint issue.
- Navigate to the SharePoint site >> site permissions >> advanced permissions settings
- Edit the URL such that "_layout/15/people.aspx?MembershipGroupid=0" is the last information on the URL address. (Replace /_layouts/15/user.aspx with /_layout/15/people.aspx?MembershipGroupid=0)
- Locate the user who is unable to access the SharePoint site
- Check the box in form on the username
- Click Actions and Select Delete Users from Site Collection
- Proceed to reshare the site again with the user
Let me know if anyone is able to try and what the outcome is.
- Jimbotron3000Copper ContributorCompletely unrealistic "solution". We send these links to thousands of people. We can't possibly delete them one by one.
- J_Richard_BergCopper Contributor
nickf23 these steps don't work in my personal OneDrive.
- "Return to classic OneDrive" isn't an option -- I see only "Premium OneDrive", "451GB used", and "Get the OneDrive apps".
- If I theorize that maybe I'm already in Classic and proceed to the settings gear, I don't see "Site settings", nor do I see "People and Groups" on any subsequent page. My gear options are "Options", "Upgrade", and "English (United States)".
In my nonprofit org, I am able to follow the Sharepoint steps. However there are two problems:
- You have a typo in the URLs. Should be "_layouts" not "_layout".
- Upon reaching this page, I do not see the troublesome user account. For example, given my recent experience of being asked to (re-)authenticate via personal identity, I'd expect to see email address removed for privacy reasons listed as an erroneous guest account here. But it's not there. Nor do I see the work/school accounts of end users who've complained in the past.
I do see my nonprofit identity (email address removed for privacy reasons) in the list, but I'm obviously not going to delete that -- I'm the only site admin!
- J_Richard_BergCopper ContributorGiven some effort, I'm pretty sure I could repro this under a debugger. (I'm a former MS SDE/T)
Before I waste more time, I'd like some confirmation that folks on the inside are still treating this very old issue as Sev1, and will communicate the right place to send trace logs where they'll actually be seen. (@lrc5333 did this work back in 2020, yet here we are...)
- J_Richard_BergCopper Contributor
I have consistently experienced this problem for many years, against both personal OneDrive and ODFB (Sharepoint) backends. The "bad" recipient is always someone with a Microsoft identity (e.g. Hotmail or a work/school account). Sometimes it's me -- literally unable to access a "share with anyone" link that I created just moments ago, unless I fish out my phone and re-enter my 2FA.
Fully anonymous users don't seem to be affected.
Needless to say this is a terrible UX. I run a tiny nonprofit (<5 users), so virtually everyone who receives a OneDrive link is a so-called "guest" in MS terminology. Most of these collaborators, vendors, volunteers, etc have no connection to MS and thus do fine. But those that do -- because it's required for their work, school, or Xbox -- get the worst experience of all, rather than benefiting from familiarity with the MS ecosystem. It's particularly baffling for power users with decent tech skills and their own account @ my nonprofit, because they will (quite reasonably) try to type the password for my org -- the tenant from which the file is shared -- rather than the work/school account that their screen is actually prompting them for.
To put it bluntly for StephenRice and his fellow PMs: requiring extraneous auth turns your potentially strongest users into the loudest voices for abandoning MS tools. As everyone reminds me (tech & nontech alike), GDocs simply does not have this issue.
- tom_tulinskyCopper Contributor
Same thing happens for me using consumer OneDrive and Office 365. I send a "Anyone with link" link to friends and sometimes they get prompted for user/pw. Using Incognito browser fixes. So I think it has to do with some previous login credentials to OneDrive or other Microsoft service existing in the user's browser.
- SimBur2365Brass ContributorReally unfortunate issue this one - we are trying to take customers on a journey to the magical modern workplace (which I love by the way!). But unfortunately without adequate training (and sometimes even with!) the first things they do are disable Autosave in office apps (because they didn't know about or trust version history and spent a few hours recreating a file someone changed), now they'll want 'attaching a file to email' to do 'just that' again due to issues with sharing links (facepalm - doh!). Next, they'll want a mapped drive letter back in explorer, because the OneDrive they now use on their PC cannot be made available for the ERP application they want to export data from, because it's running as a published application in Azure Virtual Desktop (eeeerrrrg)... 😃
- Bill_HawkinsCopper Contributor
I can appreciate your obvious superior knowledge on the inner workings of Microsoft's complex relationships. I also understand that there complex relationships are very likely required for security and functional operation.
However your missive doesn't help the less that expert user understand how they can resolve the situation, as there are no specific, detailed, and clearly defined steps listed to resolve the issue.
With all due respect, I realize your statement might resolve it for an experienced software engineer, familiar with the inner workings of the global Microsoft system, but for the vast number of users who do not have that skill set, what you have written does not offer a concrete, workable solution.
As an aside, it appears you assume most individuals reading these are well versed on the system as you are. To be blunt, we aren't. Also to be blunt, documentation for solutions needs to be in layman's language as much as possible, and needs to be tested against an untrained individual. I see this VERY OFTEN in these types of forums, in which a solution is offered, and the author is so familiar with the systems that they inadvertently leave out key steps, which to them are second nature, but to the inexperienced user are NOT a typical option they would invoke. For instance, many times when a change is completed, the window needs to be "Saved". Many end users may not be familiar with the particular window, and may not complete the last step, negating al the previous work. I have found a series of step by step screen shots, with arrows or highlights of the critical operations to be accomplished in each step are helpful.
Again, with all due respect, I have little doubt that your paragraph does address the root cause and the solution. But without the kind of documentation I mention above, it does little to help the inexperienced user solve the problems, AND CREATES FURTHER FRUSTRATION ON THEIR END. Creating one more small negative public relations impression for Microsoft.- SimBur2365Brass ContributorSorry Bill, definitely not wanting to cause frustration ! Based on the age of this thread, and that I arrived here investigating the same issue, my intention was to highlight that MS need to ensure these issues are top priority to resolve. If it's not easy for people to use the new technologies, it's totally understandable they would want to revert to what they know works.
Even if it worked well in their browser (I haven't been able to do any tests yet), it's in their best interests to make sure it works in the other main browsers as well, with Chrome and Safari making up for 85% of worldwide usage... I like the idea of Outlook automatically sending links instead of files, mainly because it reduces duplication of data, but it has to work like attachments do. People get attachments and open them, it just works... but we don't the same result with links. Anyway sorry you took me the wrong way there, glad there at least seems to be a workaround - but a shame to see this thread started in Jan 2019 and is still happening!
- Lmarin1980Copper ContributorIs there any solution on this issue? Sept 2022 and still a problem.
- Bill_HawkinsCopper Contributor
Lmarin1980I use Firefox as a browser. I also keep IE and Edge on my computer. When I create a folder in One Drive and Share it with a link, BECAUSE I have a hosted exchange account with MS, it appears as if any time I create a link, and attempt to use it myself, the browser references my MS account. And therefore wants validation for a username and password. IF I use a browser that is NOT associated to my MS account (from past use) such as Edge, then the link opens WITHOUT asking for log on credentials.
I have warned other users that I send links to, that they need to either have a browser that has NOT been infected with MS tracking cookies or other markers, then the link should open. If they do not have that option, then they should clear their browser cache and cookies. I have not had anyone tell me that process does NOT work.- Lmarin1980Copper Contributor
Bill_Hawkins Thank you! I will download FF again and ask my team to do it as well. It's annoying but as long as me and my team's work relies on MS Excel it's going to be difficult moving away from onedrive.