-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
online option with grouptag for existing windows autopilot devices doesn't update GroupTag #4
Comments
V1.0.1 of community version now looks for the device, if it exists, just updates the group tag |
I've tested VERBOSE: Importing function 'Update-MgUserScopedRoleMemberOf'. cmdlet Set-AutopilotDevice at command pipeline position 1 if you hit enter here you the following.... cmdlet Set-AutopilotDevice at command pipeline position 1
I'll try to figure it out somehow. |
Pulled request |
all parameters are working fine for brand new devices
if we run
; brand new devices to windows autopilot
.\get-windowsautopilotinfo-v1.ps1 -Online -TenantId aaaa -AppId bbbb -AppSecret cccc -GroupTag HYBRID -Verbose
; existing devices in windows autopilot (we want only update existing GroupTag)
;brand new device to windows autopilot
.\get-windowsautopilotinfo-v1.ps1 -Online -TenantId aaaa -AppId bbbb -AppSecret cccc -Assign -GroupTag HYBRID -Verbose
if we run the functions separately works
Get-AutopilotDevice | Where-Object { $.serialnumber -eq "VM" }
Set-AutopilotDevice -id 58bdc576-d87f-41a3-aec4-9cba1177a19c -groupTag "HYBRID"
Invoke-AutopilotSync
Get-AutopilotDevice | Where-Object { $.serialnumber -eq "VM" }
The text was updated successfully, but these errors were encountered: