Skip to main content

Azure Files Connector

Azure Files Azure Files is Microsoft's cloud file sharing platform. While similar to Azure Blob Storage, Azure Files is geared towards creating SMB file shares that groups of users (rather than applications) can use. This component allows managing files and shares within Azure Files.

Connections

Connection String

Authenticate using a connection string.

Limited access to Azure Storage resources can also be granted using Shared Access Signatures (SAS) authentication, which involves an access token. A connection string containing an SAS token can be obtained from the Azure Portal.

Prerequisites

  • An Azure Storage account
  • Access to the Azure Portal to generate a connection string with an SAS token

Setup Steps

  1. Sign in to the Azure Portal
  2. Navigate to the Storage account
  3. Under Security + networking, select Shared access signature
  4. Configure the allowed services, permissions, and an expiration date, then select Generate SAS and connection string
  5. Copy the generated Connection string

Configure the Connection

  • Enter the Connection String: the connection string for the active directory account
Token Expiration

The SAS token within the connection string will eventually expire. Configure a memorable expiration date so the token can be manually refreshed at a later date.

InputCommentsDefault
Connection StringThe connection string for the active directory account.

Storage Shared Key

Authenticate using a storage shared key.

Azure Files can use storageSharedKeyCredential authentication, which involves an account and key pair.

Prerequisites

  • An Azure Storage account
  • Access to the Azure Portal to obtain the account name and account key

Setup Steps

  1. Sign in to the Azure Portal
  2. Navigate to the Storage account
  3. Under Security + networking, select Access keys
  4. Copy the Storage account name and one of the Key values

Configure the Connection

  • Enter the Account Name: the name of the active directory account
  • Enter the Account Key: the access key for the active directory account
InputCommentsDefault
Account NameThe name of the active directory account.
Account KeyThe access key for the active directory account.

Actions

Copy File

Copy a file from one path to another.

InputCommentsDefault
Connection
Share NameThe name of the Azure Files share, a container where files are stored. A share can be created from within the Azure console. Share names contain only letters, numbers, and dashes.
From PathThe file path of the source object within the share. Do not include a leading slash.
To PathThe file path of the destination object within the share. Do not include a leading slash.

Create Folder

Create a folder under an existing path.

InputCommentsDefault
Connection
Share NameThe name of the Azure Files share, a container where files are stored. A share can be created from within the Azure console. Share names contain only letters, numbers, and dashes.
PathThe file path of the object within the share. Do not include a leading slash.

Create Share

Create a file share.

InputCommentsDefault
Connection
Share NameThe name of the Azure Files share, a container where files are stored. A share can be created from within the Azure console. Share names contain only letters, numbers, and dashes.

Delete File

Delete a file.

InputCommentsDefault
Connection
Share NameThe name of the Azure Files share, a container where files are stored. A share can be created from within the Azure console. Share names contain only letters, numbers, and dashes.
PathThe file path of the object within the share. Do not include a leading slash.

Delete Folder

Delete an empty folder under an existing path.

InputCommentsDefault
Connection
Share NameThe name of the Azure Files share, a container where files are stored. A share can be created from within the Azure console. Share names contain only letters, numbers, and dashes.
PathThe file path of the object within the share. Do not include a leading slash.

Delete Share

Delete a file share.

InputCommentsDefault
Connection
Share NameThe name of the Azure Files share, a container where files are stored. A share can be created from within the Azure console. Share names contain only letters, numbers, and dashes.

Download File

Download a file.

InputCommentsDefault
Connection
Share NameThe name of the Azure Files share, a container where files are stored. A share can be created from within the Azure console. Share names contain only letters, numbers, and dashes.
PathThe file path of the object within the share. Do not include a leading slash.

List Folder

List files and folders in a folder.

InputCommentsDefault
Connection
Share NameThe name of the Azure Files share, a container where files are stored. A share can be created from within the Azure console. Share names contain only letters, numbers, and dashes.
PathThe file path of the object within the share. Do not include a leading slash.

List Shares

List the file shares available in the account.

InputCommentsDefault
Connection

Save From URL

Save a file from a URL to Azure Files.

InputCommentsDefault
Connection
Share NameThe name of the Azure Files share, a container where files are stored. A share can be created from within the Azure console. Share names contain only letters, numbers, and dashes.
PathThe file path of the object within the share. Do not include a leading slash.
Source URLThe URL where the source file currently resides. This endpoint must be accessible via an unauthenticated HTTP GET request, and the response must return a content-length header.

Upload File

Upload a file under an existing path.

InputCommentsDefault
Connection
Share NameThe name of the Azure Files share, a container where files are stored. A share can be created from within the Azure console. Share names contain only letters, numbers, and dashes.
PathThe file path of the object within the share. Do not include a leading slash.
File ContentsThe contents to write to the file. This can be a string of text or binary data (like an image or PDF) that was generated in a previous step.