Azure File Storage

Microsoft Azure Storage provides a massively scalable, durable, and highly available storage for data on the cloud, and serves as the data storage solution for modern applications. Connect to File Storage to perform various operations such as create, update, get and delete on files in your Azure Storage account.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions
Flow Premium All Flow regions
PowerApps Premium All PowerApps regions

General Limits

Name Value
Maximum file size (in MB) 50

Creating a connection

To connect your account, you will need the following information:

Name Type Description
Azure Storage Account name string

Name of the storage account the connector should use.

Azure Storage Account Access Key securestring

Specify a valid primary/secondary storage account access key.

Throttling Limits

Name Calls Renewal Period
API calls per connection60060 seconds

Actions

Copy file

This operation copies a file.

Create file

This operation uploads a file to Azure File Storage.

Delete file

This operation deletes a file.

Extract archive to folder

This operation extracts an archive file into a folder (example: .zip).

Get file content

This operation retrieves file contents using id.

Get file content using path

This operation retrieves file contents using path

Get file metadata

This operation retrieves file metadata using file id.

Get file metadata using path

This operation retrieves file metadata using path.

List files

This operation lists files in a folder.

Update file

This operation updates a file in Azure File Storage.

Copy file

This operation copies a file.

Parameters

Name Key Required Type Description
Source url
source True string

Specify the Url to source file

Destination file path
destination True string

Specify the destination file path, including target filename

Overwrite?
overwrite boolean

Should the destination file be overwritten (true/false)?

Returns

Blob metadata

Create file

This operation uploads a file to Azure File Storage.

Parameters

Name Key Required Type Description
Folder path
folderPath True string

Specify folder path to upload

File name
name True string

Specify name of the file to create

File content
body True binary

Specify content of the file to upload

Returns

Blob metadata

Delete file

This operation deletes a file.

Parameters

Name Key Required Type Description
File
id True string

Specify the file to delete

Extract archive to folder

This operation extracts an archive file into a folder (example: .zip).

Parameters

Name Key Required Type Description
Source archive file path
source True string

Specify the path to the archive file

Destination folder path
destination True string

Specify the path in Azure File Storage to extract the archive contents

Overwrite?
overwrite boolean

Should destination file be overwritten (true/false)?

Returns

Get file content

This operation retrieves file contents using id.

Parameters

Name Key Required Type Description
File
id True string

Specify the file to get contents

Infer Content Type
inferContentType boolean

Infer content-type based on extension

Returns

The content of the file.

File Content
binary

Get file content using path

This operation retrieves file contents using path

Parameters

Name Key Required Type Description
File path
path True string

Specify unique path to the file

Infer Content Type
inferContentType boolean

Infer content-type based on extension

Returns

The content of the file.

File Content
binary

Get file metadata

This operation retrieves file metadata using file id.

Parameters

Name Key Required Type Description
File
id True string

Specify the file to get metadata

Returns

Blob metadata

Get file metadata using path

This operation retrieves file metadata using path.

Parameters

Name Key Required Type Description
File path
path True string

Specify unique path to the file

Returns

Blob metadata

List files

This operation lists files in a folder.

Parameters

Name Key Required Type Description
Folder
id True string

Specify the folder

Returns

Represents a page of blob metadata.

Update file

This operation updates a file in Azure File Storage.

Parameters

Name Key Required Type Description
File
id True string

Specify the file to update

File content
body True binary

Specify the content to update the file with

Returns

Blob metadata

Definitions

BlobMetadata

Blob metadata

Name Path Type Description
Id
Id string

The unique id of the file or folder.

Name
Name string

The name of the file or folder.

DisplayName
DisplayName string

The display name of the file or folder.

Path
Path string

The path of the file or folder.

LastModified
LastModified date-time

The date and time the file or folder was last modified.

Size
Size integer

The size of the file or folder.

MediaType
MediaType string

The media type of the file or folder.

IsFolder
IsFolder boolean

A boolean value (true, false) to indicate whether or not the blob is a folder.

ETag
ETag string

The etag of the file or folder.

FileLocator
FileLocator string

The filelocator of the file or folder.

BlobMetadataPage

Represents a page of blob metadata.

Name Path Type Description
value
value array of BlobMetadata

Blob metadata collection.