This repo has a script that automates mass pruning of old Azure VM Diagnostic Metrics data in Azure Table Storage.