You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What kind of permissions are needed for these commands Set-PnPSiteVersionPolicy -EnableAutoExpirationVersionTrim $false -MajorVersions 100 -ExpireVersionsAfterDays 0 -MajorWithMinorVersions 0
The text was updated successfully, but these errors were encountered:
PS C:\Research\PnPCommunity\powershell> Set-PnPSiteVersionPolicy -EnableAutoExpirationVersionTrim $false -MajorVersions 100 -MajorWithMinorVersions 10 -ExpireVersionsAfterDays 200
WARNING: The setting for new libraries takes effect immediately. Please run Get-PnPSiteVersionPolicy to display the newly set values.
WARNING: The setting for existing libraries takes at least 24 hours to take effect. Please run Get-PnPSiteVersionPolicyStatus to check the status.
WARNING: The setting for existing libraries does not trim existing versions.
PS C:\Research\PnPCommunity\powershell>
@gautamdsheth I will add required permissions for these two commandlets in the PR #4488
Cannot call this API with an app-only principal.
What kind of permissions are needed for these commands Set-PnPSiteVersionPolicy -EnableAutoExpirationVersionTrim $false -MajorVersions 100 -ExpireVersionsAfterDays 0 -MajorWithMinorVersions 0
The text was updated successfully, but these errors were encountered: