Azure-Player / azure.datafactory.devops

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

New SynapseNotebook activity type throws an error #121

Closed LiquoriChris closed 1 year ago

LiquoriChris commented 1 year ago

Hello,

We are using the new SynapseNotebook activity in our ADF and when we are trying to deploy the ADF into live mode. We are receiving the following error:

##[error]The property 'Success' cannot be found on this object. Verify that the property exists.

Looking into the activity, the referenceName is a dictionary and not a string value.

"notebook": {
                        "referenceName": {
                            "value": "<notebook name>",
                            "type": "Expression"
                        },
                        "type": "NotebookReference"

Compared to a linkedService reference:

"linkedServiceName": {
                    "referenceName": "<linked service name>",
                    "type": "LinkedServiceReference"
                }

Digging further, AdfObject.class.ps1 does not have the following type: notebook

Line |
  91 |              throw "ADFT0029: Unknown object type: $Type."
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | ADFT0029: Unknown object type: Notebook.

This is a new activity Microsoft has release within the last few weeks and just making aware of the issue.

Thank you.

NowinskiK commented 1 year ago

It looks like this new feature (activity) is not supported atm. Thanks for raising this.

NowinskiK commented 1 year ago

Released in ver.1.25.1302