-
-
Save davehardy20/d0fd1b16cb4f56c83e94f9f5c86abdc3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /beta/deviceLocalCredentials/[DEVICE-ID]?$select=credentials HTTP/1.1 | |
ocp-client-version: 1.0 | |
client-request-id: 96cbfa59-dbfc-4a92-b261-7f77bd8f4b9b | |
ocp-client-name: Get-LapsAADPassword Windows LAPS Cmdlet | |
User-Agent: Mozilla/5.0 (Windows NT 10.0; Microsoft Windows 10.0.22621; en-US) PowerShell/5.1.22621.963 Invoke-MgGraphRequest | |
SdkVersion: graph-powershell/1.26.0, Graph-dotnet-1.25.1 | |
FeatureFlag: 00000047 | |
Cache-Control: no-store, no-cache | |
Authorization: Bearer [AAD-JWT-HERE] | |
Accept-Encoding: gzip | |
Host: graph.microsoft.com | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 200 OK | |
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 | |
Vary: Accept-Encoding | |
Strict-Transport-Security: max-age=31536000 | |
request-id: 1a63a54d-5192-42d6-9ca1-4d5a39bcb274 | |
client-request-id: 96cbfa59-dbfc-4a92-b261-7f77bd8f4b9b | |
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"UK South","Slice":"E","Ring":"3","ScaleUnit":"002","RoleInstance":"LO1PEPF0000008B"}} | |
Link: <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=beta,PrivatePreview:lapsPreview&from=2022-06-01&to=2022-07-01>;rel="deprecation";type="text/html" | |
Link: <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=beta,PrivatePreview:lapsPreview&from=2022-06-01&to=2022-07-01>;rel="deprecation";type="text/html" | |
Deprecation: Thu, 02 Jun 2022 23:59:59 GMT | |
Sunset: Sun, 02 Jun 2024 23:59:59 GMT | |
OData-Version: 4.0 | |
Date: Fri, 21 Apr 2023 23:04:30 GMT | |
Content-Length: 838 | |
{ | |
"@odata.context": "https://graph.microsoft.com/beta/$metadata#deviceLocalCredentials(credentials)/$entity", | |
"id": "399ca52a-385d-45f7-9974-c34fd760a1db", | |
"deviceName": "WinDev2301Eval", | |
"lastBackupDateTime": "2023-04-21T22:48:02.1964353Z", | |
"refreshDateTime": "2023-05-21T22:48:00.6959177Z", | |
"credentials": [ | |
{ | |
"accountName": "Administrator", | |
"accountSid": "S-1-5-21-177248832-1731710241-724921241-500", | |
"backupDateTime": "2023-04-21T22:48:02.1964353Z", | |
"passwordBase64": "LyQ5M3QkMCtIZDYvcGg=" | |
}, | |
{ | |
"accountName": "Administrator", | |
"accountSid": "S-1-5-21-177248832-1731710241-724921241-500", | |
"backupDateTime": "2023-04-21T22:42:50.1350749Z", | |
"passwordBase64": "LyQ5M3QkMCtIZDYvcGg=" | |
}, | |
{ | |
"accountName": "Administrator", | |
"accountSid": "S-1-5-21-177248832-1731710241-724921241-500", | |
"backupDateTime": "2023-04-21T22:38:12.4255793Z", | |
"passwordBase64": "L2hGbnc1XTklOEF3cXg=" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /manage/[TENANT-ID]/lapsdevicepasswordupdate/[DEVICE-ID]?api-version=1.0&client-request-id=%7Bd92e1472-07fc-472e-a84b-34692c803d15%7D&return-client-request-id=%7Bd92e1472-07fc-472e-a84b-34692c803d15%7D HTTP/1.1 | |
Host: enterpriseregistration.windows.net | |
Connection: Keep-Alive | |
Content-Type: application/json; charset=utf-8 | |
Accept: application/json | |
Authorization: [JWT-HERE] | |
User-Agent: Windows LAPS | |
ocp-adrs-client-name: WindowsLAPS | |
ocp-adrs-client-version: 10.0.22621.0 | |
return-client-request-id: false | |
Content-Length: 289 | |
{ | |
"Version": 1, | |
"ClientSoftwareVersion": "10.0.22621.0", | |
"AccountName": "Administrator", | |
"AccountSid": "S-1-5-21-177248832-1731710241-724921241-500", | |
"NewPassword": "/$93t$0+Hd6/ph", | |
"MaxPasswordAgeInDays": 30, | |
"ClientUTCNow": 133265905709319561, | |
"ClientUTCPasswordExpiration": 133291825709319561 | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 200 OK | |
Content-Length: 96 | |
Content-Type: application/json | |
request-id: d92e1472-07fc-472e-a84b-34692c803d15 | |
Strict-Transport-Security: max-age=31536000; includeSubDomains | |
X-Content-Type-Options: nosniff | |
Date: Fri, 21 Apr 2023 23:21:31 GMT | |
{"Version":1,"NewPasswordVersion":13,"NewPasswordExpiryDateTime":"2023-05-21T23:21:32.2644613Z"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment