Sep 02 2019 01:35 PM
I have a question regarding the message center post MC186627 "Per-Site Anyone Link Expiration Policy", roadmap ID 53748. We can use the feature in our tenant, but just for Communication Sites. If I want to change the policy on a group-connected teamsite Powershell fails with an error the parameters are not valid for group-connected sites. If I use the same parameters on CommSites we have no issues. Does anyone know why this feature is limited to Communication sites?
Example:
Set-SPOSite -Identity $Site -AnonymousLinkExpirationInDays 90 -OverrideTenantAnonymousLinkExpirationPolicy $true
Best regards
Tobias
Sep 02 2019 02:02 PM
Sep 02 2019 09:44 PM
@TobiasATmy 2cents - i would check if the Policy Lables (under azure > classification) are published for groups as well. P.S - you'll be able to see that only if you're the admin to that policy and if you've AIP plan in your subscription.
Sep 09 2019 03:05 PM
Hi all,
Can you confirm if you are still seeing this issue? Per-Site Anyone Link Expiration should work for all sites (including group sites) so if you are not seeing that, then that's something for us to track down :)
Stephen Rice
OneDrive, Senior Program Manager
Sep 10 2019 02:36 AM
Hi @Stephen Rice , thanks for the input. I tested the command on a group site again, now it's ok for both site types. I'm using SharePoint Management Shell 16.0.9119.0.
Sep 10 2019 02:51 AM
@Stephen Rice Maybe you can answer me an additional question about this feature? If the policy on the site is changed back to the tenant setting (e.g. 10 days), what happens with existing sharing links? Are they valid until they expire (e.g. for 90 days, from the previous configuration), or do they expire immediately?
Sep 10 2019 10:04 AM
Hi @TobiasAT,
Glad to hear it is working!
And it's been a while since I've looked at this but my recollection is that yes, the old links will respect the new tenant setting though I think they may only show up as expired after a user clicks on them (and gets the access denied experience). Hope that helps!
Stephen Rice
Senior Program Manager, OneDrive