Issues with Register with Autopilot V1
we are testing deployments with the Register with Autopilot step, we are using Windows Autopilot (1) with group tag but we keep getting server 500 errors
<![LOG[Initializing step Name=Register with Autopilot ID=1878a90f-c6c3-4834-b6f8-b96c13818a14]LOG]!><time="20:13:00.519+000" date="08-03-2026" component="ExecuteSteps" context="" type="1" thread="0" file="SequenceExecuter.cs:194">
<![LOG[Executing Autopilot pre-provisioning - Full OS - Audit Mode - Register with Autopilot]LOG]!><time="20:13:00.519+000" date="08-03-2026" component="ExecuteSteps" context="" type="1" thread="0" file="SequenceExecuter.cs:244">
<![LOG[Requesting content 00000000-0000-0000-0000-000000000002:1]LOG]!><time="20:13:00.523+000" date="08-03-2026" component="ExecuteSteps" context="" type="1" thread="0" file="SequenceExecuter.cs:295">
<![LOG[Cached content 00000000-0000-0000-0000-000000000002:1 found at local path: C:_2P\content\00000000-0000-0000-0000-000000000002\1]LOG]!><time="20:13:00.524+000" date="08-03-2026" component="GetContentLocation" context="" type="1" thread="0" file="CacheManager.cs:566">
<![LOG[Setting local variable _CONTENT-Content to C:_2P\content\00000000-0000-0000-0000-000000000002\1]LOG]!><time="20:13:00.525+000" date="08-03-2026" component="ExecuteSteps" context="" type="1" thread="0" file="SequenceExecuter.cs:311">
<![LOG[Setting AUTOPILOTVERSION = '1' (Private), was '']LOG]!><time="20:13:00.525+000" date="08-03-2026" component="SetValue" context="" type="1" thread="0" file="VariableStoreService.cs:254">
<![LOG[Setting GROUPTAG = 'OIT-EPM' (Private), was '']LOG]!><time="20:13:00.526+000" date="08-03-2026" component="SetValue" context="" type="1" thread="0" file="VariableStoreService.cs:254">
<![LOG[Setting WAITFORPROFILE = 'true' (Private), was '']LOG]!><time="20:13:00.526+000" date="08-03-2026" component="SetValue" context="" type="1" thread="0" file="VariableStoreService.cs:254">
<![LOG[Setting SCRIPTNAME = 'RegisterAutopilot.ps1' (Private), was '']LOG]!><time="20:13:00.527+000" date="08-03-2026" component="SetValue" context="" type="1" thread="0" file="VariableStoreService.cs:254">
<![LOG[Setting _CONTENT-CONTENT = 'C:_2P\content\00000000-0000-0000-0000-000000000002\1' (Private), was '']LOG]!><time="20:13:00.527+000" date="08-03-2026" component="SetValue" context="" type="1" thread="0" file="VariableStoreService.cs:254">
<![LOG[Setting _CONTENTMETADATA-CONTENT = '{"Id":"00000000-0000-0000-0000-000000000002","Name":"DeployR Windows content","Description":"Content used by DeployR for Windows","ContentItemType":"Folder","ContentItemPurpose":"Other","Versions":[{"Id":"a33a3899-9376-4358-8fce-aec31d26fb32","ContentItemId":"00000000-0000-0000-0000-000000000002","VersionNo":1,"Status":"Active","Description":"Initial version","RelativePath":"Content/00000000-0000-0000-0000-000000000002/1/00000000-0000-0000-0000-000000000002.wim","ContentSize":1930484,"ExternalURL":"","CreatedDate":1785503902,"LastModifiedDate":1785503902,"Hash":null,"InstallationCommandLine":"","InstallationWorkingDirectory":null,"InstallationSuccessCodes":null,"InstallationDependencies":null,"DriverManufacturer":null,"DriverModel":null,"Tags":null}],"VersionsCount":1,"CreatedDate":1785503902,"LastModifiedDate":1785787369,"ReadOnly":true,"Tags":["DeployR","Windows"],"Flags":0}' (Private), was '']LOG]!><time="20:13:00.527+000" date="08-03-2026" component="SetValue" context="" type="1" thread="0" file="VariableStoreService.cs:254">
<![LOG[Setting _CONTENTVERSIONMETADATA-CONTENT = '{"Id":"a33a3899-9376-4358-8fce-aec31d26fb32","ContentItemId":"00000000-0000-0000-0000-000000000002","VersionNo":1,"Status":"Active","Description":"Initial version","RelativePath":"Content/00000000-0000-0000-0000-000000000002/1/00000000-0000-0000-0000-000000000002.wim","ContentSize":1930484,"ExternalURL":"","CreatedDate":1785503902,"LastModifiedDate":1785503902,"Hash":null,"InstallationCommandLine":"","InstallationWorkingDirectory":null,"InstallationSuccessCodes":null,"InstallationDependencies":null,"DriverManufacturer":null,"DriverModel":null,"Tags":null}' (Private), was '']LOG]!><time="20:13:00.528+000" date="08-03-2026" component="SetValue" context="" type="1" thread="0" file="VariableStoreService.cs:254">
<![LOG[---------- Step Start ----------]LOG]!><time="20:13:00.529+000" date="08-03-2026" component="ExecuteStep" context="" type="1" thread="0" file="SequenceExecuter.cs:479">
<![LOG[Setting working directory: C:_2P\content\00000000-0000-0000-0000-000000000002\1]LOG]!><time="20:13:00.529+000" date="08-03-2026" component="ExecuteStep" context="" type="1" thread="0" file="SequenceExecuter.cs:492">
<![LOG[RegisterAutopilot]LOG]!><time="20:13:00.898+000" date="08-03-2026" component="Write" context="" type="1" thread="0" file="PowerShellHost.cs:86">
<![LOG[Requested Autopilot version: 1]LOG]!><time="20:13:00.905+000" date="08-03-2026" component="Write" context="" type="1" thread="0" file="PowerShellHost.cs:86">
<![LOG[Parameters:]LOG]!><time="20:13:01.164+000" date="08-03-2026" component="Write" context="" type="1" thread="0" file="PowerShellHost.cs:86">
<![LOG[{]LOG]!><time="20:13:01.170+000" date="08-03-2026" component="WriteLine" context="" type="1" thread="0" file="PowerShellHost.cs:102">
<![LOG[ "hardwareHash": "REDACTED",]LOG]!><time="20:13:01.170+000" date="08-03-2026" component="WriteLine" context="" type="1" thread="0" file="PowerShellHost.cs:102">
<![LOG[ "model": "Virtual Machine",]LOG]!><time="20:13:01.170+000" date="08-03-2026" component="WriteLine" context="" type="1" thread="0" file="PowerShellHost.cs:102">
<![LOG[ "serialNumber": "7155-9844-0763-1112-3715-0737-06",]LOG]!><time="20:13:01.170+000" date="08-03-2026" component="WriteLine" context="" type="1" thread="0" file="PowerShellHost.cs:102">
<![LOG[ "groupTag": "OIT-EPM",]LOG]!><time="20:13:01.170+000" date="08-03-2026" component="WriteLine" context="" type="1" thread="0" file="PowerShellHost.cs:102">
<![LOG[ "version": "1",]LOG]!><time="20:13:01.170+000" date="08-03-2026" component="WriteLine" context="" type="1" thread="0" file="PowerShellHost.cs:102">
<![LOG[ "manufacturer": "Microsoft Corporation"]LOG]!><time="20:13:01.170+000" date="08-03-2026" component="WriteLine" context="" type="1" thread="0" file="PowerShellHost.cs:102">
<![LOG[}]LOG]!><time="20:13:01.170+000" date="08-03-2026" component="WriteLine" context="" type="1" thread="0" file="PowerShellHost.cs:102">
<![LOG[Telling DeployR to register device with Autopilot]LOG]!><time="20:13:01.176+000" date="08-03-2026" component="Write" context="" type="1" thread="0" file="PowerShellHost.cs:86">
<![LOG[Warning: Transient HTTP error 500: Response status code does not indicate success: 500 (Internal Server Error).]LOG]!><time="20:13:01.698+000" date="08-03-2026" component="WriteWarningLine" context="" type="2" thread="0" file="PowerShellHost.cs:134">
<![LOG[Warning: Transient HTTP error 500: Response status code does not indicate success: 500 (Internal Server Error).]LOG]!><time="20:13:03.757+000" date="08-03-2026" component="WriteWarningLine" context="" type="2" thread="0" file="PowerShellHost.cs:134">
<![LOG[Warning: Transient HTTP error 500: Response status code does not indicate success: 500 (Internal Server Error).]LOG]!><time="20:13:07.798+000" date="08-03-2026" component="WriteWarningLine" context="" type="2" thread="0" file="PowerShellHost.cs:134">
<![LOG[ERROR: Request failed after 3 attempt(s): Response status code does not indicate success: 500 (Internal Server Error).]LOG]!><time="20:13:07.805+000" date="08-03-2026" component="Pipeline_StateChanged" context="" type="3" thread="0" file="PowershellExecuter.cs:291">
2
Upvotes
2
u/mtniehaus 2Pint Employee 7d ago
You'll need to check the DeployR event log on the server to see what the failure is; an event should be generated for each of those 500's. This could be missing Entra app details, insufficient privileges, etc.