Skip to content

Commit 71fb7c3

Browse files
update text
1 parent 7408b6c commit 71fb7c3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Modules/CIPPCore/Public/Standards/Invoke-CIPPStandardSPDirectSharing.ps1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ function Invoke-CIPPStandardSPDirectSharing {
3333
param($Tenant, $Settings)
3434
Test-CIPPStandardLicense -StandardName 'SPDirectSharing' -TenantFilter $Tenant -RequiredCapabilities @('SHAREPOINTWAC', 'SHAREPOINTSTANDARD', 'SHAREPOINTENTERPRISE', 'ONEDRIVE_BASIC', 'ONEDRIVE_ENTERPRISE')
3535

36-
Write-LogMessage -API 'Standards' -Tenant $Tenant -Message 'This standard has been deprecated in favor of the "Set Default Sharing Link Settings" standard. Please update your standards to use new standard. However this will continue to function.' -Sev Alert
37-
36+
Write-LogMessage -API 'Standards' -Tenant $Tenant -Message 'The default sharing to Direct users standard has been deprecated in favor of the "Set Default Sharing Link Settings" standard. Please update your standards to use new standard. However this will continue to function.' -Sev Alert
3837
$CurrentState = Get-CIPPSPOTenant -TenantFilter $Tenant |
39-
Select-Object -Property _ObjectIdentity_, TenantFilter, DefaultSharingLinkType
38+
Select-Object -Property _ObjectIdentity_, TenantFilter, DefaultSharingLinkType
4039

4140
$StateIsCorrect = ($CurrentState.DefaultSharingLinkType -eq 'Direct' -or $CurrentState.DefaultSharingLinkType -eq 1)
4241

0 commit comments

Comments
 (0)