Forum Discussion

TobiasAT's avatar
TobiasAT
Steel Contributor
Sep 02, 2019

Per-Site Anyone Link Expiration Policy just for Communication Sites

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

  • SaurabhDhall's avatar
    SaurabhDhall
    Copper Contributor

    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.

    • StephenRice's avatar
      StephenRice
      Icon for Microsoft rankMicrosoft

      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

      • TobiasAT's avatar
        TobiasAT
        Steel Contributor

        StephenRice 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?

  • It's not limited to just Comm sites, but it is excluded from Group connected sites, but normal Team sites, classic and comm sites allow it. Not sure technically why you can't do it to Group connected sites, could be something with guest access, but you would think it would be a separate setting.

Resources