andrew-s-taylor / WindowsAutopilotInfo

GNU General Public License v3.0
61 stars 13 forks source link

Parameter AssignedComputerName dosn#t work #22

Open jdrepo opened 3 days ago

jdrepo commented 3 days ago

It seems to me that the parameter -assignedcomputername no longer works. The device name is always emtpy after importing with the following command

Get-WindowsAutoPilotInfoCommunity.ps1 -Online -AssignedComputerName PC001

andrew-s-taylor commented 3 days ago

Do you get any errors or anything?

jdrepo commented 2 days ago

@andrew-s-taylor No errors but I will give it another try tomorrow, maybe I was to impatient and didn`t wait until the sync took place.

jdrepo commented 1 day ago

Hey @andrew-s-taylor , did another import and now I got the following error message Device is imported but without assigned computer name

Gathered details for device with serial number: PF1GHXN3 Loading all objects. This can take a while on large tenants Adding New Device serial PF1GHXN3 Waiting for 1 of 1 to be imported Waiting for 1 of 1 to be imported Waiting for 1 of 1 to be imported Waiting for 0 of 1 to be imported PF1GHXN3: complete 0 None 1 devices imported successfully. Elapsed time to complete import: 95 seconds Waiting for 0 of 1 to be synced All devices synced. Elapsed time to complete sync: 1 seconds System.AggregateException: Too many retries performed. More than 3 retries encountered while sending the request. ---> Microsoft.Kiota.Abstractions.ApiException: HTTP request failed with status code: 429.▼♦ RK 0► +B ▬" 񫶡 Ф ▲B f f( <N♦ YB / v R↔$ 1h p@ ȫ c5 y☻tښ W,Y T 3 ↨k 2l fG UjD } a k ̍ >V, ↔ 7 ♦[) 'Mgv XR e ▬ H Y"R gB ,◄ L%14 =‼ ↔ ♠W a mлq▼- ^→y -♣ →NZ Ơ ▲ }ۄ; ♦↔8 ▲ ☺zz L d U 6 }v ;K; ? ↔ ♣rЁ;EZ & 9 DD N 4 ՠ7> ▼G ↑ "= y ↕ u I #* } h ♥ ↓ \k ♣ N&~ →I~[ (NET c WYY ↓_p ↨K W∟d e B y (→▼f lZ( N ! 7 ♥ 2 ☻ --- Ende der internen Ausnahmestapelüberwachung --- bei Microsoft.Kiota.Http.HttpClientLibrary.Middleware.RetryHandler.<SendRetryAsync>d__8.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei Microsoft.Kiota.Http.HttpClientLibrary.Middleware.RetryHandler.<SendAsync>d__7.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei Microsoft.Kiota.Http.HttpClientLibrary.Middleware.CompressionHandler.<SendAsync>d__1.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei Microsoft.Graph.PowerShell.Authentication.Handlers.AuthenticationHandler.<SendAsync>d__12.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei Microsoft.Graph.PowerShell.Authentication.Cmdlets.InvokeMgGraphRequest.<GetResponseAsync>d__94.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei Microsoft.Graph.PowerShell.Authentication.Cmdlets.InvokeMgGraphRequest.<ProcessRecordAsync>d__109.MoveNext() ---> (Interne Ausnahme #0) Microsoft.Kiota.Abstractions.ApiException: HTTP request failed with status code: 429.▼♦ RK 0► +B ▬" 񫶡 Ф ▲B f f( <N♦ YB / v R↔$ 1h p@ ȫ c5 y☻tښ W,Y T 3 ↨k 2l fG UjD } a k ̍ >V, ↔ 7 ♦[) 'Mgv XR e ▬ H Y"R gB ,◄ L%14 =‼ ↔ ♠W a mлq▼- ^→y
-♣ →NZ Ơ ▲ }ۄ; ♦↔8 ▲ ☺zz L d U 6 }v ;K; ? ↔ ♣rЁ;EZ & 9 DD N 4 ՠ7> ▼G ↑ "= y ↕ u I #* } h ♥ ↓ \k ♣ N&~ →I~[ (NET c WYY ↓_p ↨K W∟d e B y (→▼f lZ( N ! 7 ♥ 2 ☻<---

---> (Interne Ausnahme #1) Microsoft.Kiota.Abstractions.ApiException: HTTP request failed with status code: 429.▼♦ RM 0► +B ▬" ql 6 ↕ Ҳ
E lj 8 Evv ^ ♦ >♠͛ D pe% A # →
ރs K a ?O N[S ▬/Շ § ↑6Y t 5"B ♦ 6J ְ - Zdjtd{@ a H▼K▬ݎ ? ♦ ( 'Mgv - R Jey.`Yd" J¶P ♣4 $i U ↓‼ v%;↕ ▬ڠwc↔- ^→y
-♣ ▬NZ Π ▲ }݅{ ♦↔8 ▲ ♥zz L Ы gm→ 6# Aw @ o ↔ ♣rЁ;YZ & ) ╈2◄ § i A | ߏ(↔ 1 Az♦ %@ ^ loGTp ; ↔ p ☺t3v V ' ☺ L &5 Q ► ) ʴ( /8΋%t K L e\C!d^( y,ꬩ ,Z ^
j ↨\u→ ‼7 ^ ☺ ♥ - ☻<---

---> (Interne Ausnahme #2) Microsoft.Kiota.Abstractions.ApiException: HTTP request failed with status code: 429.▼♦ RK 0► +B ▬"۱‼ 6 ↕ Ch lo H DK h % "{▼m R↔$ 1h r@tȫ+WN♥ s;i/ kO x c 5֖ <♥z l + ^ ↑ 5_[6Z )5 f } ☺%↓g }h∟25xr↔ C ; §K ? ♦[+2gC↨v , > ◄ X T!$∟ ȳ2 2k >0 ~[ ‼Q 8n :?∟ y I+ ►uF H . ( Ztmہ xO ♣ c{ @ ڍ A§?↓ ݓ_ z : ♥ G▼ u v '▼ D☺♠ m ▼e{7 O S ◄ w 5 ! qc- h↕6IK ے& B$ HW I^- j 3 b yš\ % ↕ d š)E § P: S]¶s9 | Uk K ?q ♥J Z! ☻<---

---> (Interne Ausnahme #3) Microsoft.Kiota.Abstractions.ApiException: HTTP request failed with status code: 429.▼♦ ?y U ¶ w► G \a ↑ #U d 쥺 X c 5; ♥"↑&ط▲P = ه # C ☺ 0 G X2y=" \/↑‼l ▲- údr9 37 Ve 1 e& ☻LS Rօ i? -ف e 6 $]↑jy tʩ=$ o(ѾK p →6} v &ݑ"h! 0 S3 aT ↓ ∟V♥ ޶ v@d > oݦ &$ I89 Y V\' Vf
U u _ ◄ z i~? 0 O #䆶}Տ ▼P ‼ D =(♥↑& | xL g :8 M2 d2 Y l $ \ ↓ i 5 ya U X y&湖 . ▬z r ; E g\ ▬∟ ‼7 . ☺ ♥ )c\ ☻<---

An error occurred. Waiting for 12,5 minutes before retrying...