Expiring links

%3CLINGO-SUB%20id%3D%22lingo-sub-286046%22%20slang%3D%22en-US%22%3EExpiring%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286046%22%20slang%3D%22en-US%22%3E%3CP%3EWe're%20looking%20at%20enabling%20external%20sharing%20from%20OD4B%2C%20and%20the%20expiry%20of%20links%20has%20raised%20a%20couple%20of%20questions.%3C%2FP%3E%3COL%3E%3CLI%3EIf%20we%20set%20the%20expiry%2C%20does%20this%20affect%20all%20links%2C%20both%20internal%20and%20external%3F%3C%2FLI%3E%3CLI%3EI%20presume%20that%20a%20document%20is%20still%20shared%2C%20only%20the%20link%20no%20longer%20works%2C%20so%20internally%2C%20a%20file%20listed%20under%20shared%20with%20me%20will%20still%20be%20available%3F%3C%2FLI%3E%3CLI%3EI%20think%20not%2C%20but%20would%20like%20confirmation%20that%20the%20setting%20does%20not%20carry%20over%20into%20SharePoint%20online.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-286046%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-286169%22%20slang%3D%22en-US%22%3ERe%3A%20Expiring%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286169%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20can%20be%20some%20setting%20causing%20this%2C%20though%20i%20can't%20think%20of%20one.%20It%20happened%20on%20many%20occasions%20(usually%20when%20someone%20creates%20a%20link%20to%20send%20to%20external%20user%20and%20then%20wants%20to%20make%20sure%20it%20works%20and%20sends%20the%20URL%20to%20a%20colleague%20and%20it%20doesn't%20work%2C%20unless%20that%20user%20logs%20off%20from%20Office%20365%20(also%20deletes%20cookies%20as%20it%20will%20remember%20you%20tried%20to%20open%20that%20link%20with%20that%20user)).%20At%20first%20i%20thought%20they%20were%20sending%20the%20URL%20from%20the%20address%20bar%2C%20not%20the%20sharing%20link%2C%20but%20direct%20link%20to%20OneDrive%2C%20but%20our%20users%20only%20use%20Windows%20client%20most%20of%20the%20time%20and%20when%20i%20tested%20it%20happened%20to%20me%20also.%20It%20was%20a%20few%20months%20ago%2C%20maybe%20something%20changed.%20Can't%20test%20now%20as%20i%20don't%20work%20there%20anymore.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-286162%22%20slang%3D%22en-US%22%3ERe%3A%20Expiring%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286162%22%20slang%3D%22en-US%22%3EYou've%20got%20something%20going%20on%20with%20that.%20I've%20always%20been%20able%20to%20use%20Anon%20links%20with%20others%20inside%20the%20org%2C%20they%20use%20it%20all%20the%20time%20without%20issues%2C%20logged%20in%20or%20not.%20If%20they%20are%20logged%20in%20they%20get%20extra%20features%20for%20opening%20in%20client%20etc.%20and%20also%20tags%20the%20users%20as%20%22Viewing%22%20%2F%20%22Editing%22%20the%20documents%20and%20all%20that.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-286161%22%20slang%3D%22en-US%22%3ERe%3A%20Expiring%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286161%22%20slang%3D%22en-US%22%3E%3CP%3EBased%20on%20my%20experience%20and%20testing%20%22Anyone%22%20link%20can't%20be%20opened%20if%20you%20are%20logged%20in%20with%20an%20Office%20365%20account%20(or%20MS%20account).%20It%20shows%20an%20error.%20Anyone%20links%20are%20meant%20to%20be%20opened%20by%20a%20neutral%20Guest%20user%2C%20which%20only%20works%20if%20you%20are%20not%20logged%20in%20anywhere.%20To%20share%20to%20anyone%20in%20the%20organization%20one%20has%20to%20use%20%22People%20in%20_organization%20name_%22.%20Such%20link%20won't%20have%20an%20expiration%20and%20will%20work%20when%20being%20opened%20with%20a%20logged%20in%20Office%20365%20user%20(well%2C%20it%20won't%20work%20without%20being%20logged%20and%20will%20as%20to%20login).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-286157%22%20slang%3D%22en-US%22%3ERe%3A%20Expiring%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286157%22%20slang%3D%22en-US%22%3E1.%20It%20affects%20all%20anyone%20links.%3CBR%20%2F%3E2.%20If%20they%20are%20internal%20using%20an%20anyone%20link%20and%20they%20are%20logged%20in%20when%20clicking%20the%20document%20(If%20it's%20still%20not%20expired)%20then%20they%20basically%20become%20%22Specific%20user%22%20at%20that%20point%2C%20so%20they%20can%20then%20access%20the%20file%20from%20%22Shared%20with%20me%22%20direct%20link%20etc.%20However%2C%20they%20won't%20be%20able%20to%20use%20the%20link%20itself%20if%20it%20was%20posted%20somewhere%20or%20in%20an%20e-mail%20after%20it%20expires.%3CBR%20%2F%3E3.%20The%20setting%20is%20global%20to%20SP%20and%20OneDrive.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-286152%22%20slang%3D%22en-US%22%3ERe%3A%20Expiring%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286152%22%20slang%3D%22en-US%22%3EI%20assume%20nr2%20won%E2%80%99t%20work%20either!%20The%20%E2%80%9Cshared%20with%20me%E2%80%9D%20is%20still%20just%20a%20link%20to%20the%20persons%20onedrive%20who%20shared%20the%20file%20with%20you%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-286149%22%20slang%3D%22en-US%22%3ERe%3A%20Expiring%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286149%22%20slang%3D%22en-US%22%3EIt%E2%80%99s%20external%20links!%20Internal%20don%E2%80%99t%20expire!%3CBR%20%2F%3EIt%20applies%20to%20both%20sharepoint%20and%20onedrive%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Fmanage-sharing%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Fmanage-sharing%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-286065%22%20slang%3D%22en-US%22%3ERe%3A%20Expiring%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-286065%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20i%20remember%20correctly%20expiration%20is%20only%20applied%20to%20anonymous%20links.%20In%20that%20case%20a%20user%20can%20only%20access%20a%20file%20via%20such%20link%20and%20it%20shouldn't%20be%20accessible%20after%20the%20expiration.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Regular Contributor

We're looking at enabling external sharing from OD4B, and the expiry of links has raised a couple of questions.

  1. If we set the expiry, does this affect all links, both internal and external?
  2. I presume that a document is still shared, only the link no longer works, so internally, a file listed under shared with me will still be available?
  3. I think not, but would like confirmation that the setting does not carry over into SharePoint online.

 

7 Replies
Highlighted

If i remember correctly expiration is only applied to anonymous links. In that case a user can only access a file via such link and it shouldn't be accessible after the expiration.

Highlighted
It’s external links! Internal don’t expire!
It applies to both sharepoint and onedrive

https://docs.microsoft.com/en-us/onedrive/manage-sharing
Highlighted
I assume nr2 won’t work either! The “shared with me” is still just a link to the persons onedrive who shared the file with you
Highlighted
1. It affects all anyone links.
2. If they are internal using an anyone link and they are logged in when clicking the document (If it's still not expired) then they basically become "Specific user" at that point, so they can then access the file from "Shared with me" direct link etc. However, they won't be able to use the link itself if it was posted somewhere or in an e-mail after it expires.
3. The setting is global to SP and OneDrive.
Highlighted

Based on my experience and testing "Anyone" link can't be opened if you are logged in with an Office 365 account (or MS account). It shows an error. Anyone links are meant to be opened by a neutral Guest user, which only works if you are not logged in anywhere. To share to anyone in the organization one has to use "People in _organization name_". Such link won't have an expiration and will work when being opened with a logged in Office 365 user (well, it won't work without being logged and will as to login).

Highlighted
You've got something going on with that. I've always been able to use Anon links with others inside the org, they use it all the time without issues, logged in or not. If they are logged in they get extra features for opening in client etc. and also tags the users as "Viewing" / "Editing" the documents and all that.
Highlighted

It can be some setting causing this, though i can't think of one. It happened on many occasions (usually when someone creates a link to send to external user and then wants to make sure it works and sends the URL to a colleague and it doesn't work, unless that user logs off from Office 365 (also deletes cookies as it will remember you tried to open that link with that user)). At first i thought they were sending the URL from the address bar, not the sharing link, but direct link to OneDrive, but our users only use Windows client most of the time and when i tested it happened to me also. It was a few months ago, maybe something changed. Can't test now as i don't work there anymore.