I need you to write a dynamic Powershell script to create an Azure alert for Data Factory.
- Create an Action Group In Each Subscription and resource group that has a a Data Factory resource.
- Notifications email
- Any Azure data Factory resource across a tenant
- Failure Type BadGateway/SystemError/UserError
- All Pipelines
- Operator - greater than total 0
- Aggregation 1min and Frequency 1 min