Schedule a Recurring Scan
A 4-step recipe with Microsoft Purview. We can help you get access.
Recipe · 4 steps
Schedule a Recurring Scan
with Microsoft Purview
Configure a scan and put it on a recurring schedule.
- Create or replace the scan configuration on the data source.
- Attach a recurring trigger to the scan.
- Enable the trigger so scheduled scans begin running.
- Read the trigger back to confirm the recurring schedule is in place.
What you'll need to have ready
- authorization: The OAuth2 bearer token value, e.g. "Bearer eyJ0...".
- apiVersion: The Scanning API version.
- dataSourceName: The name of the existing data source.
- scanName: The name of the scan to create or replace.
- scanKind: The scan kind, e.g. "AzureSqlDatabaseMsi".
- scanRulesetName: The scan ruleset name the scan should use.
- frequency: The recurrence frequency (Week, Month, or Day).
- interval: The recurrence interval.
- startTime: The ISO 8601 start time for the recurrence.
For your developer
Arazzo workflow microsoft-purview:schedule-recurring-scan, 4 operations: createOrReplaceScan → createOrReplaceTrigger → enableTrigger → getTrigger. Specs on APIs.io.