-
Notifications
You must be signed in to change notification settings - Fork 618
Open
Description
Description of the issue
In the mof file and psm1 the EnableDesktopFlowDataPolicyManagement property is defined as string whereas it is a boolean.
This leads to warnings or error with Set-TargetResource.
Microsoft 365 DSC Version
1.25.1203.1
Which workloads are affected
Power Platform
The DSC configuration
param (
)
Configuration M365TenantConfig
{
param (
)
$OrganizationName = $ConfigurationData.NonNodeData.OrganizationName
Import-DscResource -ModuleName 'Microsoft365DSC'
Node localhost
{
PPTenantSettings "PPTenantSettings"
{
AllowNewOrgChannelDefault = $True;
ApplicationId = $ConfigurationData.NonNodeData.ApplicationId;
CertificateThumbprint = $ConfigurationData.NonNodeData.CertificateThumbprint;
DisableAdminDigest = $False;
DisableAiPrompts = $False;
DisableBillingPolicyCreationByNonAdminUsers = $False;
DisableBingVideoSearch = $False;
DisableCapacityAllocationByEnvironmentAdmins = $True;
DisableChampionsInvitationReachout = $False;
DisableCommunitySearch = $False;
DisableConnectionSharingWithEveryone = $False;
DisableCopilot = $False;
DisableCopilotFeedback = $True;
DisableCopilotFeedbackMetadata = $False;
DisableCopilotWithBing = $False;
DisableCreateFromFigma = $False;
DisableCreateFromImage = $False;
DisableDataLogging = $False;
DisableDeveloperEnvironmentCreationByNonAdminUsers = $True;
DisableDocsSearch = $True;
DisableEnvironmentCreationByNonAdminUsers = $True;
DisableHelpSupportCopilot = $False;
DisableMakerMatch = $False;
DisableNewsletterSendout = $False;
DisableNPSCommentsReachout = $False;
DisablePortalsCreationByNonAdminUsers = $True;
DisablePreferredDataLocationForTeamsEnvironment = $False;
DisableShareWithEveryone = $True;
DisableSkillsMatchInvitationReachout = $False;
DisableSupportTicketsVisibleByAllUsers = $True;
DisableSurveyFeedback = $False;
DisableSurveyScreenshots = $False;
DisableTrialEnvironmentCreationByNonAdminUsers = $True;
DisableUnusedLicenseAssignment = $False;
DisableUseOfUnassignedAIBuilderCredits = $False;
EnableCanvasAppInsights = $True;
EnableDefaultEnvironmentRouting = $False;
EnableDeleteDisabledUserinAllEnvironments = $False;
EnableDesktopFlowDataPolicyManagement = $False;
EnableExternalAuthenticationProvidersInPowerPages = "None";
EnableGenerativeAIFeaturesForSiteUsers = "All";
EnableGuestsToMake = $False;
EnableModelDataSharing = $False;
EnableOpenAiBotPublishing = $True;
EnableTenantCapacityReportForEnvironmentAdmins = $False;
EnableTenantLicensingReportForEnvironmentAdmins = $False;
EnvironmentRoutingAllMakers = $False;
IsSingleInstance = "Yes";
PowerCatalogAudienceSetting = "All";
ShareWithColleaguesUserLimit = 10000;
StorageCapacityConsumptionWarningThreshold = 85;
TenantId = $OrganizationName;
UseSupportBingSearchByAllUsers = $True;
WalkMeOptOut = $False;
}
}
}
M365TenantConfig -ConfigurationData .\ConfigurationData.psd1Verbose logs showing the problem
VERBOSE: [SomeMachine]: LCM: [ Start Resource ] [[PPTenantSettings]PPTenantSettings]
VERBOSE: [SomeMachine]: LCM: [ Start Test ] [[PPTenantSettings]PPTenantSettings]
VERBOSE: [SomeMachine]: [[PPTenantSettings]PPTenantSettings] Testing configuration of
the PPTenantSettings with IsSingleInstance {Yes}
VERBOSE: [SomeMachine]: [[PPTenantSettings]PPTenantSettings] Getting the Power Platform
Tenant Settings Configuration
WARNING: [SomeMachine]: [[PPTenantSettings]PPTenantSettings] Could not replace line
breaks in current value of property EnableDesktopFlowDataPolicyManagement
VERBOSE: [SomeMachine]: [[PPTenantSettings]PPTenantSettings] Test-M365DSCTargetResource
returned FalseEnvironment Information + PowerShell Version
OsName : Microsoft Windows Server 2022 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsBuildLabEx : 20348.1.amd64fre.fe_release.210507-1500
OsLanguage : en-US
OsMuiLanguages : {en-US}
Name Value
---- -----
PSVersion 5.1.20348.4294
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.20348.4294
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1Metadata
Metadata
Assignees
Labels
No labels