My customer is using rest api to get activity logs in powershell.
Sypmtom is that returned value had below strange operation name in Turkey.
Microsoft.Compute - mw-p-1020033 : Etiket yaz (KST: 07/24/2024 07:51:28 )
resourceType: Microsoft.Compute
resourceName: mw-p-1020033
operation: Etiket yaz
status_result: Succeeded
message:
This is not reproducing now, but they want to know why this happened.
Below is the powershell script they are using and below operationName.localizedValue was the trouble part.
$operation = $avstatus_result.operationName.localizedValue`
API Spec link
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/rest-activity-log
API Spec version
2015-04-01
Question/Query
My customer is using rest api to get activity logs in powershell.
Sypmtom is that returned value had below strange operation name in Turkey.
Microsoft.Compute - mw-p-1020033 : Etiket yaz (KST: 07/24/2024 07:51:28 ) resourceType: Microsoft.Compute resourceName: mw-p-1020033 operation: Etiket yaz status_result: Succeeded message:
This is not reproducing now, but they want to know why this happened.
Below is the powershell script they are using and below operationName.localizedValue was the trouble part. $operation = $avstatus_result.operationName.localizedValue`
Please help advise about this symptom.
`$datetime_min_ago = '2024-07-23T22:40:00Z'
$datetime_current = '2024-07-23T23:00:00Z'
$datetime_min_ago = [DateTime]::UtcNow.AddMinutes(-5).ToString('u').Replace(' ','T')
$datetime_current = [DateTime]::UtcNow.ToString('u').Replace(' ','T')
Environment
powershell