Dec 18, 2017

Problems with Azure Data Factory Samba File System sink

I recently had some trouble using a Linux system as a sink in Azure Data Factory.  The Samba destination was on a Linux server in a different domain than the Windows server.

I had tricked the Copy Wizard into using a simple username without domain by adding a local user with the same username as the Samba user.  But although the Copy Wizard could browse the destination folders, when the pipeline started copying an error was thrown "A specified logon session does not exist. It may already have been terminated".

The fix was to create the LinkedService via the JSON file with the Samba server IP as the username domain:

    "name": "Destination-File-SambaFileSystem",
    "properties": {
        "hubName": "mydatafactory_hub",
        "type": "OnPremisesFileServer",
        "typeProperties": {
            "host": "\\\\\\datadir",
            "gatewayName": "IntegrationRuntime-SambaGateway",
            "userId": "\\sambauser",
            "password": "aPlaintextPassword"

Error opening workflows with SharePoint Designer 2013

If you get either of these errors opening a workflow in SharePoint Designer 2013:

"Windows Workflow Foundation, part of .NET Framework 3.0, must be installed to use this feature" or "Server-side activities have been updated. You need to restart SPD to use the updated version of activities"

The solution:

  1. Update your SharePoint Designer to SP1.
  2. Install the Visual Studio 2005 Extensions for .NET Framework 3.0 WWF (only available on CNET):
  3. Copy all files from a known working SharePoint Designer installation folder: C:\Users\MYUSER\AppData\Local\Microsoft\WebsiteCache\MYSITE\ to the same folder on the broken SPD installation.
  4. Restart SharePoint Designer