An Azure service for ingesting, preparing, and transforming data at scale.
Replace the value after /factories/ with the Data Factory name, not the resource-group name.
Your current URI contains:
.../resourceGroups/[Resource Group] Group]/providers/Microsoft.DataFactory/
factories/theResourceGroup/triggers/triggerName/...
The documented path requires:
.../resourceGroups/[Resource Group] Group]/providers/Microsoft.DataFactory/
factories/{factoryName}/triggers/{triggerName}/getEventSubscriptionStatus
The API version 2018-06-01 and the POST operation are correct.^1^
Corrected Azure CLI command
az rest --method post \
--uri "https://management.azure.com/subscriptions/[Subscription ID]/resourceGroups/[Resource Group] Group]/providers/Microsoft.DataFactory/factories/theFactoryName/triggers/triggerName/getEventSubscriptionStatus?api-version=2018-06-01" \
--output json
Replace:
-
xxIdwith the subscription ID. -
theResourceGroupwith the resource-group name. -
theFactoryNamewith the actual Data Factory resource name. -
triggerNamewith the event-trigger name.
If the request succeeds, it returns the event subscription status. An event trigger cannot be started until that status is Enabled.^2^
Supported verification alternative
The Az PowerShell module exposes the same operation directly:
Get-AzDataFactoryV2TriggerSubscriptionStatus `
-ResourceGroupName "theResourceGroup" `
-DataFactoryName "theFactoryName" `
-Name "triggerName"
Expected output resembles:
TriggerName Status
----------- -------
triggerName Enabled
If the corrected REST URI and the PowerShell cmdlet both return an internal server error while the portal still displays the status, capture the request timestamp and correlation/request ID from verbose output and open an Azure support request. To expose additional REST diagnostics, run the corrected command with --verbose.
References