Skip to content

Commit

Permalink
Fixes for SPOSharingSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Jan 19, 2024
1 parent 82e5701 commit 195142a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 26 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
* Removed the ability to specify a value of Absent for the Ensure property.
* AADCrossTenantAccessPolicyCOnfigurationDefault
* Removed the ability to specify a value of Absent for the Ensure property.
* SPOSharingSettings
* Fixed an Issue where the MySiteSharingCapability could be returned as an
empty string instead of a null value from the Get method.

# 1.24.117.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,10 @@ function Get-TargetResource
$DefaultLinkPermission = $SPOSharingSettings.DefaultLinkPermission
}

if ([System.String]::IsNullOrEmpty($MySiteSharingCapability))
{
$MySiteSharingCapability = $null
}
return @{
IsSingleInstance = 'Yes'
SharingCapability = $SPOSharingSettings.SharingCapability
Expand Down

This file was deleted.

0 comments on commit 195142a

Please sign in to comment.