Comments (3)
V1.0.1 of community version now looks for the device, if it exists, just updates the group tag
from windowsautopilotinfo.
I've tested
it stops waiting for the Set-AutopilotDevice -id
VERBOSE: Importing function 'Update-MgUserScopedRoleMemberOf'.
Connected to Intune tenant NNNNNNNNNNNNN using app-based authentication (Azure AD authentication not supported)
VERBOSE: Operation '' complete.
VERBOSE: Checking localhost
VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' =
root\cimv2,'className' = Win32_BIOS'.
VERBOSE: Operation 'Enumerate CimInstances' complete.
VERBOSE: Perform operation 'Query CimInstances' with following parameters, ''queryExpression' = SELECT * FROM
MDM_DevDetail_Ext01 WHERE InstanceID='Ext' AND ParentID='./DevDetail','queryDialect' = WQL,'namespaceName' =
root/cimv2/mdm/dmmap'.
VERBOSE: Operation 'Query CimInstances' complete.
Gathered details for device with serial number: 8547-1568-1987-0982-5331-6302-49 << vm serial number
VERBOSE: GET https://graph.microsoft.com/beta/deviceManagement/importedWindowsAutopilotDeviceIdentities
VERBOSE: GET https://graph.microsoft.com/beta/deviceManagement/importedWindowsAutopilotDeviceIdentities with 0-byte
payload
VERBOSE: received 5763-byte response of content type application/json
cmdlet Set-AutopilotDevice at command pipeline position 1
Supply values for the following parameters:
id:
if you hit enter here you the following....
cmdlet Set-AutopilotDevice at command pipeline position 1
Supply values for the following parameters:
id:
VERBOSE: POST https://graph.microsoft.com/beta/deviceManagement/windowsAutopilotDeviceIdentities//UpdateDeviceProperties
{ groupTag: "MYTAGHERE" }
VERBOSE: POST https://graph.microsoft.com/beta/deviceManagement/windowsAutopilotDeviceIdentities//UpdateDeviceProperties
with 25-byte payload
VERBOSE: received 456-byte response of content type application/json
Set-AutopilotDevice : Microsoft.Graph.PowerShell.Authentication.Helpers.HttpResponseException: Response status code does
not indicate success: BadRequest (Bad Request).
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
At C:\temp\get-windowsautopilotinfo.ps1:1987 char:30
- ... $imported += Set-AutopilotDevice -groupTag $_.'Group Tag'
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
- FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Set-AutopilotDevice
I'll try to figure it out somehow.
https://stgacct010101.blob.core.windows.net/shared/ERROR1.png
from windowsautopilotinfo.
Pulled request
from windowsautopilotinfo.
Related Issues (15)
- Get-AutopilotDevice() - the issue with space(s) in the serial number HOT 3
- Suggestion: Get-AutopilotImportedDevice to filter based on the serial number HOT 1
- Not requesting enough permissions HOT 1
- Function Get-AutopilotDevice() throwing error: Invoke-MgGraphRequest: The pipeline has been stopped. HOT 9
- asking to call connect-mggraph HOT 1
- getalldevicesandusers' is not recognized as the name of a cmdlet, function, script, file or operable program HOT 2
- possible to remove a userPrincipalName in the autopilot nuke script? HOT 2
- errors attempting to install because of dependency on latest version of HOT 2
- Invoke-MGGraphRequest 400 Bad Request HOT 15
- Problem with preprov HOT 12
- Not an issue! HOT 2
- Get-AutopilotDevice - Microsoft.Graph.PowerShell.Authentication.Helpers.HttpResponseException: Response status code does not indicate success: Forbidden (Forbidden). HOT 3
- Module suddenly stop working HOT 13
- Error when using identifier option HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windowsautopilotinfo.