SOLVED

"Shared with Me" function on OneDrive shows files not shared with you directly

%3CLINGO-SUB%20id%3D%22lingo-sub-161294%22%20slang%3D%22en-US%22%3E%22Shared%20with%20Me%22%20function%20on%20OneDrive%20shows%20files%20not%20shared%20with%20you%20directly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-161294%22%20slang%3D%22en-US%22%3E%3CP%20style%3D%22margin%3A%200cm%200cm%208pt%3B%22%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3EI%20created%20a%20picture%20library%20where%20I%20store%20employee%20photos%20as%20png%20files.%20The%20link%20for%20a%20photo%20is%20then%20used%20in%20a%20list%20where%20we%20create%20a%20list%20item%20for%20each%20new%20or%20leaving%20employee.%20The%20list%20items%20are%20then%20shown%20on%20our%20home%20page%20in%20a%20web%20part%20that%20was%20customized%20(React%20Content%20Query%20Web%20Part).%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200cm%200cm%208pt%3B%22%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3EThis%20is%20on%20our%20Intranet%20and%20the%20site%20collection%20has%20some%20owners%20and%20some%20members%20and%20then%20the%20visitor%20group%20contains%20%E2%80%9Ceveryone%20but%20external%E2%80%9D.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200cm%200cm%208pt%3B%22%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3EThe%20problem%20is%20that%20even%20though%20no%20link%20was%20sent%20to%20anyone%2C%20the%20png%20files%20pop%20up%20in%20everybody%E2%80%99s%20%E2%80%9CShared%20with%20Me%E2%80%9D%20on%20OneDrive.%20I%20can%20understand%20that%20users%20in%20the%20either%20Owners%20or%20Members%20groups%20could%20risk%20that%20kind%20of%20files%20in%20their%20Shared%20with%20Me%2C%20but%20not%20all%20other%20users.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200cm%200cm%208pt%3B%22%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3EThis%20is%20the%20settings%20that%20we%20use%20when%20copying%20a%20link%20(attachment)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200cm%200cm%208pt%3B%22%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3EHow%20can%20we%20get%20those%20files%20to%20not%20show%20up%20in%20%22Shared%20with%20Me%22%3F%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-161294%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-162011%22%20slang%3D%22en-US%22%3ERe%3A%20%22Shared%20with%20Me%22%20function%20on%20OneDrive%20shows%20files%20not%20shared%20with%20you%20directly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-162011%22%20slang%3D%22en-US%22%3E%3CP%3EAhhh%2C%20sorry%2C%20now%20I%20see.%20I%20must%20have%20been%20distracted%20yesterday.%20Thanks%20a%20lot%20for%20you%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-161420%22%20slang%3D%22en-US%22%3ERe%3A%20%22Shared%20with%20Me%22%20function%20on%20OneDrive%20shows%20files%20not%20shared%20with%20you%20directly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-161420%22%20slang%3D%22en-US%22%3EYou%20don%E2%80%99t%20need%20a%20fix%20it%20already%20works.%20Stop%20using%20the%20%E2%80%9Ceveryone%20in%20my%20company%E2%80%9D%20and%20use%20%E2%80%9Cexisting%20access%E2%80%9D%20when%20creating%20the%20link.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-161395%22%20slang%3D%22en-US%22%3ERe%3A%20%22Shared%20with%20Me%22%20function%20on%20OneDrive%20shows%20files%20not%20shared%20with%20you%20directly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-161395%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20used%20the%20Copy%20Link%20option%20with%20the%20default%20settings%20(only%20people%20in%20our%26nbsp%3Bcompany%20%2B%20allow%20editing%20marked).%3C%2FP%3E%0A%3CP%3EThis%20is%20why%20I%20don't%20understand%20that%20we%20get%20the%20files%20in%20our%20Shared%20with%20Me%20OneDrive.%3C%2FP%3E%0A%3CP%3ESo%20I%20would%20like%20to%20get%20some%20kind%20of%26nbsp%3Bfix%20that%20will%20allow%20us%20to%20copy%20a%20link%20but%20not%20get%20the%20file%20shown%20in%20Shared%20with%20Me.%20Thanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-161362%22%20slang%3D%22en-US%22%3ERe%3A%20%22Shared%20with%20Me%22%20function%20on%20OneDrive%20shows%20files%20not%20shared%20with%20you%20directly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-161362%22%20slang%3D%22en-US%22%3ENo.%20Just%20use%20it%20existing%20access%20option.%20It%20gives%20you%20a%20link%20it%20just%20doesn%E2%80%99t%20add%20on%20sharing%20tidbits%20to%20the%20file%20which%20is%20what%20is%20causing%20everyone%20to%20see%20the%20file%20when%20they%20see%20it%20on%20th%20page%20in%20their%20shared%20list.%20By%20using%20the%20existing%20access%20option%20on%20the%20copy%20link%20dialog%20you%20get%20a%20link%20direct%20to%20the%20file%20not%20the%20sharing%20generated%20link%20format.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-161358%22%20slang%3D%22en-US%22%3ERe%3A%20%22Shared%20with%20Me%22%20function%20on%20OneDrive%20shows%20files%20not%20shared%20with%20you%20directly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-161358%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F875%22%20target%3D%22_blank%22%3E%40Christopher%20Webb%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20swift%20reply.%20I%20am%20not%20sure%20I%20completely%20understand%20what%20you%20mean.%3C%2FP%3E%0A%3CP%3EWe%20need%20to%20create%20a%20link%20to%20the%20png%20files%2C%20because%20we%20need%20the%20photo%20(png)%20to%20show%20up%20in%20a%20web%20part.%3C%2FP%3E%0A%3CP%3ESo%20how%20do%20I%20%22use%20the%20existing%20access%20option%22%3F%3C%2FP%3E%0A%3CP%3EI%20did%20not%20create%20special%20permissions%20on%20the%20picture%20library%20only%20the%20permissions%20inherited%20from%20site%20(and%20%22everyone%20except%20external%20users%22%20are%20in%20the%20visitor%20group-%20members%20and%20owners%20group%20have%20a%20few%20named%20users%20in%20them).%3C%2FP%3E%0A%3CP%3EHow%20do%20I%20create%20a%20link%20to%20the%20files%20using%20the%20existing%20access%20option%3F%20Do%20I%20need%20to%20do%20something%20special%20to%20create%20the%20link%20(other%20than%20using%20the%20Copy%20Link%20feature)%3F%3C%2FP%3E%0A%3CP%3EThe%20site%20collection%20is%20our%20Intranet%20so%20it%20is%20not%20at%20all%20private.%20But%20still%20a%20lot%20of%20ordinary%20users%20get%20to%20see%20the%20png%20files%20in%20their%20personal%20OneDrive%20%22Shared%20with%20Me%22%20part.%3C%2FP%3E%0A%3CP%3EThanks%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-161351%22%20slang%3D%22en-US%22%3ERe%3A%20%22Shared%20with%20Me%22%20function%20on%20OneDrive%20shows%20files%20not%20shared%20with%20you%20directly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-161351%22%20slang%3D%22en-US%22%3EUsing%20anything%20but%20%E2%80%9Cexisting%20access%E2%80%9D%20creates%20a%20sharing%20link.%20What%20you%20need%20to%20do%20is%20use%20the%20existing%20access%20option.%20This%20just%20gets%20a%20link%20straight%20to%20it%20the%20document%20and%20won%E2%80%99t%20%E2%80%9Cshare%E2%80%9D%20the%20document.%20Also%20if%20it%E2%80%99s%20on%20a%20private%20site%20or%20needs%20permissions%20changed%20then%20you%E2%80%99ll%20need%20to%20manually%20do%20that%20on%20the%20file%20through%20the%20file%20permission%20by%20adding%20those%20but%20I%20think%20from%20you%20post%20this%20is%20on%20a%20site%20that%20already%20everyone%20has%20access.%20So%20just%20use%20hay%20people%20with%20existing%20access%20link%20and%20your%20good%20to%20go.%3C%2FLINGO-BODY%3E
Highlighted
Contributor

I created a picture library where I store employee photos as png files. The link for a photo is then used in a list where we create a list item for each new or leaving employee. The list items are then shown on our home page in a web part that was customized (React Content Query Web Part).

This is on our Intranet and the site collection has some owners and some members and then the visitor group contains “everyone but external”.

The problem is that even though no link was sent to anyone, the png files pop up in everybody’s “Shared with Me” on OneDrive. I can understand that users in the either Owners or Members groups could risk that kind of files in their Shared with Me, but not all other users.

This is the settings that we use when copying a link (attachment)

How can we get those files to not show up in "Shared with Me"?

6 Replies
Highlighted
Using anything but “existing access” creates a sharing link. What you need to do is use the existing access option. This just gets a link straight to it the document and won’t “share” the document. Also if it’s on a private site or needs permissions changed then you’ll need to manually do that on the file through the file permission by adding those but I think from you post this is on a site that already everyone has access. So just use hay people with existing access link and your good to go.
Highlighted

Hi @Deleted,

 

Thanks for your swift reply. I am not sure I completely understand what you mean.

We need to create a link to the png files, because we need the photo (png) to show up in a web part.

So how do I "use the existing access option"?

I did not create special permissions on the picture library only the permissions inherited from site (and "everyone except external users" are in the visitor group- members and owners group have a few named users in them).

How do I create a link to the files using the existing access option? Do I need to do something special to create the link (other than using the Copy Link feature)?

The site collection is our Intranet so it is not at all private. But still a lot of ordinary users get to see the png files in their personal OneDrive "Shared with Me" part.

Thanks :)

Highlighted
No. Just use it existing access option. It gives you a link it just doesn’t add on sharing tidbits to the file which is what is causing everyone to see the file when they see it on th page in their shared list. By using the existing access option on the copy link dialog you get a link direct to the file not the sharing generated link format.
Highlighted

We have used the Copy Link option with the default settings (only people in our company + allow editing marked).

This is why I don't understand that we get the files in our Shared with Me OneDrive.

So I would like to get some kind of fix that will allow us to copy a link but not get the file shown in Shared with Me. Thanks.

Best Response confirmed by Malene Friborg (Contributor)
Solution
You don’t need a fix it already works. Stop using the “everyone in my company” and use “existing access” when creating the link.
Highlighted

Ahhh, sorry, now I see. I must have been distracted yesterday. Thanks a lot for you help.