Forum Discussion

Maheedhar1604's avatar
Maheedhar1604
Copper Contributor
Apr 01, 2022

##[error]Encountered with exception:Error: Failed to fetch the deployment status undefined

Getting this error while deploying using Synapse deploy task from pipelines, can anyone please help?

 

#SynapseDeploy #Synapse

  • MMFraser's avatar
    MMFraser
    Copper Contributor

    Maheedhar1604 

    I don't know if you ever solved this, but this what worked for me:

     

    I completely removed the Lake Database from my deployment script.  Specifically, the object with:

    "type": "Microsoft.Synapse/workspaces/databases"
     
    Instead, I have manually created it in the new environment.  It seems like while Synapse knows to include it in the template, the Synapse workspace deployment tool isn't ready for it.

Resources