diff --git a/CHANGELOG.md b/CHANGELOG.md index 74bdc00ea9..6ee3d5c915 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change log for Microsoft365DSC +* SPOSharingSettings + * Fixes typo to reenable export of ExternalUserExpireInDays and ExternalUserExpirationRequired. + # 1.23.1115.1 * AADApplication diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOSharingSettings/MSFT_SPOSharingSettings.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOSharingSettings/MSFT_SPOSharingSettings.psm1 index f56913aaa1..a60538c49d 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOSharingSettings/MSFT_SPOSharingSettings.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOSharingSettings/MSFT_SPOSharingSettings.psm1 @@ -206,8 +206,8 @@ function Get-TargetResource BccExternalSharingInvitations = $SPOSharingSettings.BccExternalSharingInvitations BccExternalSharingInvitationsList = $SPOSharingSettings.BccExternalSharingInvitationsList RequireAnonymousLinksExpireInDays = $SPOSharingSettings.RequireAnonymousLinksExpireInDays - ExternalUserExpireInDays = $SPOCCSharingSettings.ExternalUserExpireInDays - ExternalUserExpirationRequired = $SPOCCSharingSettings.ExternalUserExpirationRequired + ExternalUserExpireInDays = $SPOSharingSettings.ExternalUserExpireInDays + ExternalUserExpirationRequired = $SPOSharingSettings.ExternalUserExpirationRequired SharingAllowedDomainList = $allowDomains SharingBlockedDomainList = $blockDomains SharingDomainRestrictionMode = $SPOSharingSettings.SharingDomainRestrictionMode