Hi Janne,
Although your average cost change over 1 full day was 7.94%, there were several spikes between hours that exceeded 10% which is likely why you're getting the 'anomaly'.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We created anomaly cost alerts[1] on all subscriptions and configured recurrence weekly on Mondays and Thursdays.
We are now getting the report on Mondays and Thursdays and the content is snapshot of the cost but no explanation about anomaly like linked documentation page has on example screenshot.
What we should get:
What are we getting:
Is this feature broken or does it require some special configuration I missed?
Resource definition:
{
"value": [
{
"id": "subscriptions/43b7da78-afca-4f29-b049-xxxx/providers/Microsoft.CostManagement/scheduledActions/dailyanomalybyresourcegroup",
"name": "dailyanomalybyresourcegroup",
"kind": "Email",
"type": "Microsoft.CostManagement/ScheduledActions",
"eTag": "\"23011208-0000-0100-0000-6419819d0000\"",
"systemData": {
"createdAt": "2023-03-21T10:01:47.9104343Z",
"createdBy": "janne.kujanpaa@",
"lastModifiedAt": "2023-03-21T10:06:21.0192251Z",
"lastModifiedBy": "janne.kujanpaa@"
},
"properties": {
"displayName": "Daily anomaly by resource group",
"scope": "subscriptions/43b7da78-afca-4f29-b049-xxxx",
"status": "Enabled",
"viewId": "/subscriptions/43b7da78-afca-4f29-b049-xxxx/providers/Microsoft.CostManagement/views/ms:DailyAnomalyByResourceGroup",
"fileDestination": {
"fileFormats": [
"Csv"
]
},
"schedule": {
"frequency": "Weekly",
"hourOfDay": 11,
"daysOfWeek": [
"Monday",
"Thursday"
],
"weeksOfMonth": [],
"dayOfMonth": 0,
"startDate": "2023-03-21T10:06:17Z",
"endDate": "2024-03-20T10:06:17+00:00"
},
"notification": {
"subject": "Cost anomaly detected in the {} subscription",
"message": null,
"to": [
"1",
"2",
"3"
],
"language": "en",
"regionalFormat": "en"
},
"notificationEmail": null
}
}
],
"nextLink": null
}
Hi Janne,
Although your average cost change over 1 full day was 7.94%, there were several spikes between hours that exceeded 10% which is likely why you're getting the 'anomaly'.