Forum Discussion
Getting Link to a Document with Modern Document Libraries
- Sep 09, 2016
There is a way to disable the 'Edit' and 'View' link feature. The only link that appears then is the restricted link.
Go to site settings -> Site permissions -> Access Request Settings -> Disable Allow members to share the site and individual files and folders.
This would prevent the breaking of permission.
two ways i have found to get a real url (one that you can read the path)
Get A LInk Method
1. Click Get A Link
2. From Drop select "Restricted Link"
3 Click in box and copy
From Office
1. Open document in Office Client Program
2. Click File
3. Click on path and select "Copy Path"
Caveat is that the url will have the query sting web=1 which i like to remove.
There was an annoucement in the admin messages on August 15th saying that the "Get A Link" feature will soon default to the Restricted link which will save a click and the creation of unneeded guestaccess links.
Here is the article on the update
There is a way to disable the 'Edit' and 'View' link feature. The only link that appears then is the restricted link.
Go to site settings -> Site permissions -> Access Request Settings -> Disable Allow members to share the site and individual files and folders.
This would prevent the breaking of permission.
- Gregory FrickSep 09, 2016Iron Contributor
Excellent point Bernd Verhofstadt ! The default Access Request settings are a surprise to most users. When I provision a site collection I include a link to a document explaining these settings. I also noticed that at some point MSFT improved the External Sharing Dialog screens in the Admin Center. The dialog now includes a link that turns off sharing for non-owners. This dialog also contains a 'Learn more' link that is well written. I will attach a screen snip for readers who are interested. External Sharing Setting in the Admin Center
- Eric AdlerSep 09, 2016Iron Contributor
That is excellent!! Anyone have a PowerShell Script for this setting?
- Bernd VerhofstadtSep 12, 2016Iron Contributor
Eric Adler the following link is including the right powershell commands.
https://blogs.msdn.microsoft.com/chandru/2015/12/31/sharepoint-onlinecsom-change-access-requests-settings/
I prefere to do this on site level. When I changed the settings on tenant (site collection) level, the results where not the same as disabling this setting on (sub)site level.