Azure-Player / azure.datafactory.devops

Azure DevOps Deployment Tasks for Azure Data Factory objects
MIT License
39 stars 21 forks source link

Update global parameters fails for Azure Government subscription #148

Closed cog-adf closed 1 year ago

cog-adf commented 1 year ago

Describe the bug I'm receiving a 404 (Subscription not found) when the task is trying to update the global parameters.

To Reproduce Run the pipeline to deploy/update an ADF instance to a subscription hosted in Azure Government which contains global parameters.

GlobalParam.ps1 contains a hardcoded reference to https://management.azure.com (= Azure commercial URL) The Azure Government URL equivalent is https://management.usgovcloudapi.net

Expected behaviour The parameters are updated without any issues/errors.

Screenshots 2023-07-26 14_22_22-Azure Data Factory - Release-15 - Pipelines

NowinskiK commented 1 year ago

Duplication of https://github.com/Azure-Player/azure.datafactory.tools/issues/356