Assume I send a request to the Azure REST API:
az rest
--method GET
--uri 'https://graph.microsoft.com/v1.0/applications/000000-00000-00000-00000'
| ConvertFrom-Json
If a request fail I get an error message:
{
"error":
{
"code": "Request_BadRequest",
"message": "One or more properties contains invalid values.",
"innerError":
{
"date": "2022-10-07T06:12:04",
"request-id": "111111-2222-3333-4444-5555555",
"client-request-id": "12345-1234-1234-1234-12345678"
}
}
}
How can I view the log that is referenced with "request-id":"111111-2222-3333-4444-5555555"
or "client-request-id":"12345-1234-1234-1234-12345678"
?