Please help me to write a powershell script to get list of azure data factory triggers list and its scheduling time. Ex: TriggerName,Frequency,ScheduleTime
Tr_Copy_Data,Daily,13:30
Thank you in advance.
Get list of azure data factory triggers and it’s schedule time for
2
Answers
You can use the REST API :
GET https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/triggers?api-version=2018-06-01
to get the trigger details
https://learn.microsoft.com/en-us/rest/api/datafactory/triggers/list-by-factory?tabs=HTTP
Run this below script in your azure powershell.
Below is the trigger scheduled every day at 10:30.
Output: