PnP-PowerShell icon indicating copy to clipboard operation
PnP-PowerShell copied to clipboard

StorageMaximumLevel and StorageWarningLevel not set SharePoint 2013

Open mvdschaaks opened this issue 9 years ago • 2 comments

Reporting an Issue or Missing Feature

New-PnPTenantSite command using StorageQuota and StorageQuotaWarningLevel does not seem to set storage quota options. When retrieving quota information both options are set to 0.

Expected behavior

storage quota options set to defined values

Actual behavior

both quota options set to 0

Steps to reproduce behavior

  1. define vars
  2. New-PnPTenantSite -Url $targetSite -Title $targetSiteTitle -Owner $admin -TimeZone $tz -Lcid $lc -StorageQuota $storageQuotaMaxLevel -StorageQuotaWarningLevel $storageQuotaWarningLevel
  3. $sc = Get-SPSite $targetSite
  4. $sc.Quota

Which version of the PnP-PowerShell Cmdlets are you using?

  • [X ] PnP PowerShell for SharePoint 2013
  • [ ] PnP PowerShell for SharePoint 2016
  • [ ] PnP PowerShell for SharePoint Online

What is the version of the Cmdlet module you are running?

2.11.17

How did you install the PnP-PowerShell Cmdlets?

  • [X ] MSI Installed downloaded from GitHub
  • [ ] Installed through the PowerShell Gallery with Install-Module
  • [ ] Other means

mvdschaaks avatar Jan 23 '17 11:01 mvdschaaks

Hi, StorageQuotas doesn't work on premises CSOM, the properties in the cmdlet is just ported from online. Her's an old comment from Vesa

sandeberget avatar Feb 23 '17 21:02 sandeberget

We closed this issue as it had not activity within last 180 days. This is a generic process we have decided to perform for issues, which have not been explicitly marked still to be "work in progress" based on tags. We are performing this cleaning to make sure that old issues that have already been solved (but not closed) or are no longer relevant are cleaned out and make the issues more manageable. If this issue still valid, we would ask you to open a new issue and follow the guidance in the issue template related on the recommended location. We do apologize any inconveniences this might cause. Please do remember that issues in the issue lists are also messages for others in the community, so you can also check if you can assist on any of them. “Sharing is caring!”

spdevdocs avatar Apr 28 '18 14:04 spdevdocs