Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
* Fixed an issue where empty `PolicyRules` would throw an exception during Get.
* EXOPlace
* Fixes an issue with the export where it was trying to export RoomList.
* PPTenantSettings
* Changed type of `EnableDesktopFlowDataPolicyManagement` property from String to Boolean to avoid errors or warnings
FIXES [#6740](https://github.com/microsoft/Microsoft365DSC/issues/6740)
* MISC
* Removed verbose output from `Get-TargetResource`.
* Updated the error behavior to always throw inside `Get-TargetResource`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function Get-TargetResource
$EnableDefaultEnvironmentRouting,

[Parameter()]
[System.String]
[System.Boolean]
$EnableDesktopFlowDataPolicyManagement,

[Parameter()]
Expand Down Expand Up @@ -485,7 +485,7 @@ function Set-TargetResource
$EnableDefaultEnvironmentRouting,

[Parameter()]
[System.String]
[System.Boolean]
$EnableDesktopFlowDataPolicyManagement,

[Parameter()]
Expand Down Expand Up @@ -1065,17 +1065,10 @@ function Get-M365DSCPowerPlatformTenantSettings

if ($null -ne $EnableDesktopFlowDataPolicyManagement)
{
try
{
$policy = @{
enableDesktopFlowDataPolicyManagement = [Boolean]::Parse($Parameters.EnableDesktopFlowDataPolicyManagement)
}
$governance.Add('policy', $policy)
}
catch
{
Write-Verbose -Message $_
$policy = @{
enableDesktopFlowDataPolicyManagement = $Parameters.EnableDesktopFlowDataPolicyManagement
}
$governance.Add('policy', $policy)
}
$result.powerplatform.Add('governance', $governance)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class MSFT_PPTenantSettings : OMI_BaseResource
[Write, Description("Restrict all developer environments to be created by tenant admins, Power Platform admins, or Dynamics 365 service admins. Default is false.")] Boolean DisableDeveloperEnvironmentCreationByNonAdminUsers;
[Write, Description("TBD")] Boolean EnvironmentRoutingAllMakers;
[Write, Description("Enables the Default Environment routing feature that creates personal, developer environments for new makers. Default value is false.")] Boolean EnableDefaultEnvironmentRouting;
[Write, Description("When this setting is true, admins can view and manage desktop flow action groups in DLP policies in the Power Platform admin center. Default value is false.")] String EnableDesktopFlowDataPolicyManagement;
[Write, Description("When this setting is true, admins can view and manage desktop flow action groups in DLP policies in the Power Platform admin center. Default value is false.")] Boolean EnableDesktopFlowDataPolicyManagement;
[Write, Description("Allow users to collect telemetry data about their app in Azure Application Insights. Setting this to False blocks the transmission of this data.")] Boolean EnableCanvasAppInsights;
[Write, Description("Allow people to create a canvas app based on a Figma file. Default value is false.")] Boolean DisableCreateFromFigma;

Expand Down
Loading