-
Notifications
You must be signed in to change notification settings - Fork 610
Open
Description
Description of the issue
Starting the DSC configuration with SPOTenantSettings settings fails.
MSFT_SPOTenantSettings does not implement the write property
DisplayNamesOfFileViewersInSpo
It's not part of my config.
This was part of PR: 0e37da3
Looks like it's another missing parameter in https://github.com/microsoft/Microsoft365DSC/blob/0afcd500078375afd59e171542d2d4d1773d680d/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.psm1 .
Microsoft 365 DSC Version
1.25.1112.1
Which workloads are affected
SharePoint Online
The DSC configuration
Configuration M365TenantConfig
{
param (
)
$OrganizationName = $ConfigurationData.NonNodeData.OrganizationName
Import-DscResource -ModuleName 'Microsoft365DSC' -ModuleVersion '1.25.1112.1'
Node localhost
{
SPOTenantSettings "SPOTenantSettings"
{
ApplyAppEnforcedRestrictionsToAdHocRecipients = $True;
CommentsOnSitePagesDisabled = $False;
ApplicationId = $ConfigurationData.NonNodeData.ApplicationId;
CertificateThumbprint = $ConfigurationData.NonNodeData.CertificateThumbprint;
TenantId = $ConfigurationData.NonNodeData.TenantId;
EnableAzureADB2BIntegration = $True;
Ensure = "Present";
ExemptNativeUsersFromTenantLevelRestricedAccessControl = $False;
FilePickerExternalImageSearchEnabled = $True;
HideDefaultThemes = $False;
IsSingleInstance = "Yes";
LegacyAuthProtocolsEnabled = $False;
MarkNewFilesSensitiveByDefault = "AllowExternalSharing";
MaxCompatibilityLevel = "15";
MinCompatibilityLevel = "15";
NotificationsInSharePointEnabled = $True;
OfficeClientADALDisabled = $False;
OwnerAnonymousNotification = $True;
PublicCdnAllowedFileTypes = "CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF";
PublicCdnEnabled = $False;
SearchResolveExactEmailOrUPN = $False;
SignInAccelerationDomain = "";
SocialBarOnSitePagesDisabled = $False;
UseFindPeopleInPeoplePicker = $False;
UsePersistentCookiesForExplorerView = $False;
TenantDefaultTimezone = "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna";
}
}
}
M365TenantConfig -ConfigurationData .\ConfigurationData.psd1Verbose logs showing the problem
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = TestConfiguration,'className'
= MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer runnervmtnls7 with user sid
S-1-5-21-3146901062-3817154037-799242493-500.
VERBOSE: [runnervmtnls7]: LCM: [ Start Compare ]
VERBOSE: [runnervmtnls7]: LCM: [ *FAILED*Compare ] Completed processing compare operation. The operation returned
False.
The command Test-TargetResource of the PS module MSFT_SPOTenantSettings does not implement the write property
DisplayNamesOfFileViewersInSpo mentioned in the corresponding MOF schema file
D:\a\1\s\Modules\Microsoft365DSC\1.25.1112.1\DscResources\MSFT_SPOTenantSettings\MSFT_SPOTenantSettings.schema.mof.
VERBOSE: Operation 'Invoke CimMethod' complete.
All write paramenters mentioned in the schema file must be implemented by the command Test-TargetResource.
+ CategoryInfo : InvalidOperation: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : WriteParameterNotImplemented
+ PSComputerName : localhostEnvironment Information + PowerShell Version
Metadata
Metadata
Assignees
Labels
No labels