Azure / Azure-DataFactory

Other
485 stars 590 forks source link

@microsoft/azure-data-factory-utilities - validation error: Pipeline has more than the max number of 40 activities allowed per pipeline. #659

Closed ranovladimir closed 4 months ago

ranovladimir commented 7 months ago

Hello,

It's been several weeks now that Microsoft has shared that they increased the Maximum Activities Per Pipeline from 40 to 80

I use the CI/CD process with Azure DevOps to deploy my ADF. I have followed this link. It auto generates the ARM template and the PrePostDeploymentScript.ps1 script for manage ADF triggers.

But running npm run build validate <rootFolder> <factoryId> raise the following error : "CmdApiApp: Resource 'pipeline_test' has the following validation error: Pipeline 'pipeline_test' has more than the max number of 40 activities allowed per pipeline."

I am using the last @microsoft/azure-data-factory-utilities 1.0.2 version.

When I validate my pipeline via Azure Portal with the "validate template" button I get no errors.

What action should I take to increase the number of activities when calling the npm command ?

Version: node: 18.20.1 npm: 10.5.0 @microsoft/azure-data-factory-utilities : 1.0.2 command run from my package.json file : node node_modules/@microsoft/azure-data-factory-utilities/lib/index --preview export /azp/_work/60/s /subscriptions/XXX-xxx-xxx/resourceGroups/xxx-xxx-xxx/providers/Microsoft.DataFactory/factories/xxx-xxx-xxx adf-artifact

Thanks for your help <3

ranovladimir commented 7 months ago

Hello @xumou-ms @soma-ms, I see the last update was 6 months ago. Is the increase is implemented in the @microsoft/azure-data-factory-utilities package ? image

fhljys commented 4 months ago

Should have been fixed.