Allow expiration of all share types.
Anonymous links can be set to expire. Links shared to anyone should also have the ability to expire.
Check out Sharefile's service and the control you have over documents. Much more robust than SharePoint for small businesses in the modern age.
Jason Apt commented
Request is also over here on the admin section:
This is a great idea. If the link expiration option could be de-coupled from "Anyone" sharing links and provided to any level of sharing in SharePoint and OneDrive.
The other direction I looked for this was MCAS which has an option to expire links but this is based on last modified date and not shared date.
My discussion with Microsoft yielded that there wasn't a roadmap item for this request type yet.
Tony Visconti commented
we have some links that we share internally that we want to expire as well
Because site owners don't clean up temporary access given and the shared with column does not remove usernames after access is revoked, assigning expiration dates help prevent cluttered inaccurate permissions.
Jamy Mulder commented
I'd like to revive this uservoice. As a larger organization, we are not allowing people to share with anonymous links. However, our Enterprise Information Management team would love for us to be able to configure a default link expiration for files shared with external vendors. Please consider adding this to your backlog!