AD-pradeep Script Error Logs

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

PS C:\WINDOWS\system32> Upload-WindowsAutopilotDeviceInfo.

ps1 -TenantName
"olx0.onmicrosoft.com" -GroupTag "India-Autopilot" -Verbose
VERBOSE: Attempting to locate AzureAD module
VERBOSE: AzureAD module detected, checking for latest version
VERBOSE: Attempting to locate PSIntuneAuth module
VERBOSE: Authentication module detected, checking for latest version
VERBOSE: Checking for existing authentication token
VERBOSE: Authentication token does not exist, requesting a new token
VERBOSE: Gather device hash data from local machine
VERBOSE: Constructing required JSON body based upon parameter input data for device
hash upload
VERBOSE: Attempting to post data for hardware hash upload
Response content:
{"error":
{"code":"UnknownError","message":"{\"ErrorCode\":\"Forbidden\",\"Message\":\"{\\r\\
n \\\"_version\\\
": 3,\\r\\n \\\"Message\\\": \\\"An error has occurred - Operation ID (for
customer support): 00000000-0000-0
000-0000-000000000000 - Activity ID: a2f58f2e-90c4-4516-a0a1-7b8a2176b6b5 - Url:
https://fef.msua08.manage.mic
rosoft.com/DeviceEnrollmentFE_2204/StatelessDeviceEnrollmentFEService/
deviceManagement/importedWindowsAutopilo
tDeviceIdentities?api-version=5022-02-03\\\",\\r\\
n \\\"CustomApiErrorPhrase\\\": \\\"\\\",\\r\\n \\\"RetryA
fter\\\": null,\\r\\n \\\"ErrorSourceService\\\": \\\"\\\",\\r\\
n \\\"HttpHeaders\\\": \\\"{\\\\\\\"WWW-Auth
enticate\\\\\\\":\\\\\\\"Bearer realm=\\\\\\\\\\\\\\\"urn:intune:service,f2f6fa41-
932f-4d25-9e56-14ec49d3405a,
f0f3c450-59bf-4f0d-b1b2-0ef84ddfe3c7\\\\\\\\\\\\\\\"\\\\\\\"}\\\"\\r\\
n}\",\"Target\":null,\"Details\":null,\"
InnerError\":null,\"InstanceAnnotations\":[]}","innerError":{"date":"2022-04-
28T05:30:08","request-id":"a2f58f
2e-90c4-4516-a0a1-7b8a2176b6b5","client-request-id":"a2f58f2e-90c4-4516-a0a1-
7b8a2176b6b5"}}}
WARNING: Failed to upload hardware hash. Request to
https://graph.microsoft.com/beta/deviceManagement/imported
WindowsAutopilotDeviceIdentities failed with HTTP Status Unauthorized and
description: Unauthorized

You might also like