microsoft/Microsoft365DSC

SPOSite: Unable to export the SharingDomainRestrictionMode & SharingAllowedDomainList settings

Tom-DB opened this issue · 0 comments

Description of the issue

In the SPOSite resource I'm unable to export the following 2 settings:

  • SharingDomainRestrictionMode
  • SharingAllowedDomainList
    It doesn't matter at which values they are set.

When applying these settings, everything is set as expected.

There only seems to be an issue with the exportation of these 2 settings.

Microsoft 365 DSC Version

1.24.612.1

Which workloads are affected

SharePoint Online

The DSC configuration

No response

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

Name                           Value
----                           -----
PSVersion                      5.1.19041.4291
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.4291
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1