File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Modules/Microsoft365DSC/DSCResources/MSFT_FabricAdminTenantSettings Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 16
16
* Added support for Mail attribute.
17
17
* EXOOrganizationConfig
18
18
* Added support for the RejectDirectSend property.
19
+ * FabricAdminTenantSettings
20
+ * Fixed the export of the resource.
21
+ FIXES [ #6345 ] ( https://github.com/microsoft/Microsoft365DSC/issues/6345 )
19
22
* IntuneMobileAppsLobAppiOS
20
23
* Initial release.
21
24
* IntuneMobileAppsLobAppAndroid
Original file line number Diff line number Diff line change @@ -2014,6 +2014,7 @@ function Export-TargetResource
2014
2014
$Results = Get-TargetResource @Params
2015
2015
2016
2016
$newResults = ([Hashtable ]$Results ).Clone()
2017
+ $noEscape = @ ()
2017
2018
foreach ($key in @ ($Results.Keys ))
2018
2019
{
2019
2020
if ($null -ne $Results .$key -and $key -notin $params.Keys )
@@ -2046,7 +2047,8 @@ function Export-TargetResource
2046
2047
- ComplexTypeMapping $complexTypeMapping
2047
2048
if (-not [String ]::IsNullOrEmpty($complexTypeStringResult ))
2048
2049
{
2049
- $Results .$key = $complexTypeStringResult
2050
+ $newResults .$key = $complexTypeStringResult
2051
+ $noEscape += $key
2050
2052
}
2051
2053
}
2052
2054
}
@@ -2055,7 +2057,8 @@ function Export-TargetResource
2055
2057
- ConnectionMode $ConnectionMode `
2056
2058
- ModulePath $PSScriptRoot `
2057
2059
- Results $newResults `
2058
- - Credential $Credential
2060
+ - Credential $Credential `
2061
+ - NoEscape $noEscape
2059
2062
2060
2063
$dscContent += $currentDSCBlock
2061
2064
Save-M365DSCPartialExport - Content $currentDSCBlock `
You can’t perform that action at this time.
0 commit comments