File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ function Set-CIPPDefaultAPDeploymentProfile {
3333 ' extractHardwareHash' = $ ([bool ]($CollectHash ))
3434 ' roleScopeTagIds' = @ ()
3535 ' hybridAzureADJoinSkipConnectivityCheck' = $false
36- ' outOfBoxExperienceSettings ' = @ {
36+ ' outOfBoxExperienceSetting ' = @ {
3737 ' deviceUsageType' = " $DeploymentMode "
38- ' hideEscapeLink ' = $ ([bool ]($hideChangeAccount ))
39- ' hidePrivacySettings ' = $ ([bool ]($hidePrivacy ))
40- ' hideEULA ' = $ ([bool ]($hideTerms ))
38+ ' escapeLinkHidden ' = $ ([bool ]($hideChangeAccount ))
39+ ' privacySettingsHidden ' = $ ([bool ]($hidePrivacy ))
40+ ' eulaHidden ' = $ ([bool ]($hideTerms ))
4141 ' userType' = " $usertype "
42- ' skipKeyboardSelectionPage ' = $ ([bool ]($Autokeyboard ))
42+ ' keyboardSelectionPageSkipped ' = $ ([bool ]($Autokeyboard ))
4343 }
4444 }
4545 $Body = ConvertTo-Json - InputObject $ObjBody
Original file line number Diff line number Diff line change @@ -82,16 +82,17 @@ function Invoke-CIPPStandardAutopilotProfile {
8282 description = $settings.Description
8383 usertype = $usertype
8484 DeploymentMode = $DeploymentMode
85- assignto = $settings.Assignto
85+ assignto = $settings.AssignToAllDevices
8686 devicenameTemplate = $Settings.DeviceNameTemplate
87- allowWhiteGlove = $Settings.allowWhiteglove
87+ allowWhiteGlove = $Settings.AllowWhiteGlove
8888 CollectHash = $Settings.CollectHash
8989 hideChangeAccount = $Settings.HideChangeAccount
9090 hidePrivacy = $Settings.HidePrivacy
9191 hideTerms = $Settings.HideTerms
92- Autokeyboard = $Settings.Autokeyboard
93- Language = $Settings.languages .value
92+ AutoKeyboard = $Settings.AutoKeyboard
93+ Language = $Settings.Languages .value
9494 }
95+
9596 Set-CIPPDefaultAPDeploymentProfile @Parameters
9697 Write-LogMessage - API ' Standards' - tenant $tenant - message " Created Autopilot profile '$ ( $settings.DisplayName ) '" - sev Info
9798 } catch {
You can’t perform that action at this time.
0 commit comments