You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
We have migrated from using Azure Pipelines to Github actions. The workflow is required to authenticate to the Azure Platform via SPN by using azure/login@v1 action.
The SPN has Contribution access to the Data Factory IAM access.
However the pipeline is failing to complete the pre-deployment step to retrieve all of the active triggers at PrePostDeploymentScript.ps1
Logs:
Getting triggers
Get-AzDataFactoryV2Trigger: /home/runner/work/_actions/Azure/data-factory-deploy-action/v1.2.0/PrePostDeploymentScript.ps1:92
Line |
92 | … $triggers = Get-AzDataFactoryV2Trigger -ResourceGroupName $ResourceGr …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Run Connect-AzAccount to login.
Error: Process completed with exit code 1.
Possible root cause
Azure CLI has a separate logging session than Powershell, therefore the shell session in PrePostDeploymentScript.ps1 Is not authenticated.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem:
We have migrated from using Azure Pipelines to Github actions. The workflow is required to authenticate to the Azure Platform via SPN by using
azure/login@v1
action.The SPN has
Contribution
access to the Data Factory IAM access.However the pipeline is failing to complete the pre-deployment step to retrieve all of the active triggers at PrePostDeploymentScript.ps1
Logs:
Possible root cause
Azure CLI has a separate logging session than Powershell, therefore the shell session in
PrePostDeploymentScript.ps1
Is not authenticated.The text was updated successfully, but these errors were encountered: