Is the any way to find all the revocation task generated from the campaign based on time frame of the campaign?
And
Is there any to download Campaign Remediation Status Report for multiple campaign at once instead of going through each campaign and downloading it one by one?
This script downloads all campaign reports for campaigns with end dates set for a specified timeframe (default = current quarter). It can download all reports in CSV and PDF formats, compiles the CSV files into one master CSV file for each report type and puts together a summary email to send to the specified recipients. The email portion is in a separate custom PowerShell module, so it will throw an error at that point.
This was developed and tested with a customer that runs over 200 campaigns per quarter (very fine-grained campaign criteria). It includes pausing periodically to avoid API throttling issues and has a retry capability built-in.
It has grown over time, so it’s not the cleanest or most intuitive code, but hopefully it makes enough sense that you can use it. DownloadCampaignReports.ps1 (25.7 KB)