Skip to content

Commit

Permalink
Merge pull request #4527 from fthorild/fix-siteid
Browse files Browse the repository at this point in the history
Added SiteId to the model since it was missing
  • Loading branch information
KoenZomers authored Nov 9, 2024
2 parents 3e9c943 + 389a19b commit bf8d384
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Added `-ExcludeDeprecated` to `Export-PnpTaxonomy` which allows for deprecated terms to be excluded from the export [#4053](https://github.com/pnp/powershell/pull/4053)
- Added `-HidePeoplePreviewingFiles` to `Set-PnPSite` which allows for hiding the people previewing files feature on a site [#4416](https://github.com/pnp/powershell/pull/4416)
- Added `-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled` to `Set-PnPTenant` which allows for updating of web property bag when DenyAddAndCustomizePages is enabled [#4508](https://github.com/pnp/powershell/pull/4508)
- Added `SiteId` to the output of `Get-PnPTenantSite` [#4527](https://github.com/pnp/powershell/pull/4527)

### Changed

Expand Down Expand Up @@ -78,6 +79,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

### Contributors

- Fredrik Thorild [fthorild]
- San [sankarkumar23]
- Christian Veenhuis [ChVeen]
- Nishkalank Bezawada [NishkalankBezawada]
Expand Down
2 changes: 2 additions & 0 deletions src/Commands/Model/SPOSite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public class SPOSite
public Microsoft.Online.SharePoint.TenantManagement.SharingDomainRestrictionModes SharingDomainRestrictionMode { get; set; }
public bool ShowPeoplePickerSuggestionsForGuestUsers { get; set; }
public Microsoft.Online.SharePoint.TenantManagement.SharingCapabilities SiteDefinedSharingCapability { get; set; }
public Guid SiteId { get; set; }
public bool SocialBarOnSitePagesDisabled { get; set; }
public string Status { get; set; }
public long StorageQuota { get; set; }
Expand Down Expand Up @@ -157,6 +158,7 @@ public SPOSite(SiteProperties props, bool? disableSharingForNonOwnersStatus)
SharingDomainRestrictionMode = props.SharingDomainRestrictionMode;
ShowPeoplePickerSuggestionsForGuestUsers = props.ShowPeoplePickerSuggestionsForGuestUsers;
SiteDefinedSharingCapability = props.SiteDefinedSharingCapability;
SiteId = props.SiteId;
SocialBarOnSitePagesDisabled = props.SocialBarOnSitePagesDisabled;
Status = props.Status;
StorageQuota = props.StorageMaximumLevel;
Expand Down

0 comments on commit bf8d384

Please sign in to comment.