Skip to content

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Modules/CIPPCore/Public/Set-CIPPDefaultAPDeploymentProfile.ps1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,21 @@ function Set-CIPPDefaultAPDeploymentProfile {
3333
'extractHardwareHash' = $([bool]($CollectHash))
3434
'roleScopeTagIds' = @()
3535
'hybridAzureADJoinSkipConnectivityCheck' = $false
36-
'outOfBoxExperienceSettings' = @{
36+
<#'outOfBoxExperienceSettings' = @{
3737
'deviceUsageType' = "$DeploymentMode"
3838
'hideEscapeLink' = $([bool]($hideChangeAccount))
3939
'hidePrivacySettings' = $([bool]($hidePrivacy))
4040
'hideEULA' = $([bool]($hideTerms))
4141
'userType' = "$usertype"
4242
'skipKeyboardSelectionPage' = $([bool]($Autokeyboard))
43+
} #>
44+
'outOfBoxExperienceSetting' = @{
45+
'deviceUsageType' = "$DeploymentMode"
46+
'escapeLinkHidden' = $([bool]($hideChangeAccount))
47+
'privacySettingsHidden' = $([bool]($hidePrivacy))
48+
'eulaHidden' = $([bool]($hideTerms))
49+
'userType' = "$usertype"
50+
'keyboardSelectionPageSkipped' = $([bool]($Autokeyboard))
4351
}
4452
}
4553
$Body = ConvertTo-Json -InputObject $ObjBody

0 commit comments

Comments
 (0)