Forum Discussion
trying to share folder with guest, but access denied.
Hello,
I’m creating an anonymous sharing link to a One Drive sub-folder. No expiration. OneDrive admin and SharePoint admin settings for sharing are set properly to allow external sharing of folders for view, upload, edit. Limited-access user permission lockdown mode is disabled in the top-level site collection features.
In another browser and on another machine, I’m receiving the very same access denied error mentioned by folks in this thread.
Are there any other settings to check? Please advise.
Thanks!
Make sure you have anonymous sharing enabled at both the tenant level and at the site collection level. If you are sharing from a Group-connected site, you will need to turn on anonymous links using PowerShell as well. Let me know if that doesn't solve things!
Thanks!
Stephen Rice
OneDrive Program Manager II
- HOA SecretarySep 26, 2018Copper Contributor
OK, I'm officially frustrated.
I have anonymous sharing enabled at both the tenant level and at the site collection level. I have turned on anonymous links using PowerShell. I have deactivated Limited Access User Lockdown.
I sent an anonymous link to 800 residents in my community. I tested the link before I sent the email, and it worked for anonymous viewing for me. TWO people have responded that the link generates "Access Denied - request access" and asked me to grant access to the site. I told them that approval and login should not be required, and to try the link again. One did not respond; the other said, ""When I clicked, I got a page that said "sorry, you don't have access". I clicked "ask for approval" box and I got notice that it was checking, then I closed it and re-opened the link and got in. I can get in now from the original link. I don't know exactly what is going on."
I don't understand what is going on either. Any idea why the anonymous link fails for two out of 800 users, while apparently working for most? Something with the user's browser settings?
Please help!
- HOA SecretarySep 26, 2018Copper ContributorAdditional information: Using SharePoint Online, and the site is a Document Center, not a Team Site.
- StephenRiceOct 01, 2018
Microsoft
Hi HOA Secretary,
It is possible they are logged into another Office 365 account and that there may be some conflict as a result. Can you have them try opening the link in an incognito browser session and see if that works? Thanks!
Stephen Rice
OneDrive Program Manager II
- PittSharePointProMar 21, 2018Iron Contributor
Hi StephenRice,
I'm attempting to only share a folder in my Onedrive for Business, so no group connected sharing as far as I know. I attached screenshots of my current settings. The only discrepancy that I can perceive is the auto-expiration option at tenant level. It is currently at 30 whereas no limit in other settings (I think). Either way the sharing links that I created are only a couple days old. I'd appreciate any additional input!
Cheers!
PS - I could only attach 3 items in this reply. The fourth would have showed that the "limited-access user permissions lockdown mode" is not active.
- StephenRiceMar 21, 2018
Microsoft
Hi Scott,
Nothing is jumping out to me as being the issue. Can you PM me so we can debug further? Thanks!
Stephen Rice
OneDrive Program Manager II
- Meri MiettinenMay 07, 2018Copper Contributor
Hi StephenRice,
I have the same problem as in this thread. I was hoping this was the solution but no.
Guest user link gets access denied, no login prompt. Same as this thread. "You do not have permission to access this resource." It acts a bit strange though.
If I open the link in a browser where I am logged in to a different 365 tenant it first shows the folder contents, then after 1-2 seconds goes to "HTTP 500 Internal Server error" and the URL contains accessDenied.aspx. If I open the same link when not logged in I get the access denied page straight away.
Also users have been able to share some folders from the same path successfully with anonymous links. I don't see any difference between these folders in usage rights. I am not able to share successfully using admin account.
I have checked that the limited access setting (disabled), sharing anonymously enabled for site and tenant with no restrictions. I create a lot of SharePoint online sites and have never stumbled across this problem before, very strange.
Best regards,
Meri