Connection - Microsoft Azure
The Microsoft Azure Connection stores the address, sign-in and security settings that these Tasks and Triggers use to connect to Azure Storage, Azure Data Lake Storage, Azure management and Form Recognizer:
- The Cloud Tasks, with every Connection type except "Management" and "Form Recognizer":
- The Cloud file Trigger, with the same Connection types as the Cloud Tasks
- The Azure Queue Storage Trigger, which signs in with the Storage Account and Key of the Connection
- The Azure Tasks, with the "Management" Connection type only:
- Scan document (cloud), with the "Form Recognizer" Connection type
The Connection type on the Common settings tab decides which service the Connection is for and which settings it shows.
Common settings

The Common settings and Proxy tabs are the same for every Connection type that has them; see Common settings and Proxy. A Microsoft Azure Connection also has:
Connection type
- "Page blob" (default): Azure Blob Storage, page blobs
- "Block blob": Azure Blob Storage, block blobs
- "Data Lake Gen1": Azure Data Lake Storage Gen1
- "Data Lake Gen2": Azure Data Lake Storage Gen2
- "File Shares": Azure Files
- "Management": Azure virtual machines and web sites, for the Azure Tasks
- "Form Recognizer": document analysis, for the Scan document (cloud) Task
Test asks the Server to connect with the current settings. Depending on the Connection type, the Server lists the containers (Page blob and Block blob), the file shares (File Shares) or the file systems (Data Lake Gen2), checks the root folder (Data Lake Gen1), or reads the list of regions (Management). For "Form Recognizer", Test reports success without connecting to the service. To check Endpoint and Key, run the Scan document (cloud) Task.
Main settings

These fields are on Connection settings -> Main settings. They depend on the Connection type.
Page blob, Block blob and File Shares
Authentication type
- "Password" (default): the storage account name and an access key of the account
- "Shared Access Signature": a shared access signature
- "Application": an application registered in Microsoft Entra ID
Cloud Tasks connect to Page blob with the Storage Account and Key only, whatever Authentication type is selected. Block blob and File Shares Connections work with "Password" or "Shared Access Signature". With "Application" selected on any of the three types, the Server uses Application id as the account name and Application key as the account key, and the Task fails. Select "Password" for Page blob, and "Password" or "Shared Access Signature" for Block blob and File Shares.
Storage Account and Key
The name of the storage account and one of its access keys. Shown for "Password".
SAS token (Page blob and Block blob) or SAS Uri (File Shares)
Shown for "Shared Access Signature". Enter the full service SAS URL, which is the service address of the storage account followed by the SAS token, not the token alone. File Shares Connections accept only a SAS created at the storage account level.
Application id, Application key, Tenant Id and Setup app
Shown for "Application". Setup app opens the App registrations page of the Azure portal.
Upload BlockBlob block size (bytes) (Block blob) or Upload file block size (bytes) (File Shares)
The size in bytes of each block that an upload sends. Minimum "4096", maximum and default "4194304" (4 MB).
Use SSL
Selected by default. Page blob Connections always use SSL. On Block blob and File Shares Connections, Use SSL applies to "Password". With "Shared Access Signature", the address in the SAS URL decides whether the Server uses HTTPS.
When Use SSL is cleared on a Block blob or File Shares Connection with "Password", the Server connects over HTTP, and the requests and the data travel unencrypted. Leave it selected.
Auto-accept server certificates (Page blob)
Selected by default.
Page blob Connections accept any server certificate, whether or not Auto-accept server certificates is selected. The Server does not check the server certificate when it connects, so it cannot tell the real server from another server that answers at the same address. Connect to Azure Storage only over a network path that you trust.
Data Lake Gen1 and Data Lake Gen2
- Data Lake Gen1: Account FQDN, and Authentication type "SPN with Secret" (default) or "SPN with Certificate", with Application id, Application key or a certificate, and Tenant Id
- Data Lake Gen2: Account name, and Authentication type "Account key" (default), "SPN with Secret" or "SPN with Certificate"
- Setup app opens the App registrations page of the Azure portal
- Data Lake Gen1 also shows Use SSL, and Data Lake Gen2 shows Use SSL and Auto-accept server certificates. The Server does not use them
- Both types have no Proxy tab
Management
- Authentication type: "Publishsettings file" (default) or "Application"
- PublishSettings file path: the publish settings file, for "Publishsettings file"
- App Id, App Secret and Tenant Id, and the Setup app link, for "Application"
- The Management type has no Proxy tab
Account key
The Account key for the account. Please note that when using Azure Tasks (not Cloud) you need to use publish settings file for authentication.
Downloading publish settings file
- Open Powershell
- Type connect-azaccount - logon
- Type Get-AzurePublishSettingsFile

- The browser will open. Select the subscription and click Validate and then click "Download Publish settings"

Application
In the Azure portal, open the subscription and assign the Contributor role to the application.

Form Recognizer
Endpoint and Key of the Form Recognizer resource.
Proxy
The Proxy tab is shown only for Page blob, Block blob and Form Recognizer Connections. Block blob Connections always use the proxy as an HTTP proxy, even when Proxy type is "SOCKS4" or "SOCKS5". With Use credentials selected, they send Domain, Username and Password. See Proxy.
Form Recognizer Connections show the Proxy tab, but the Scan document (cloud) Task does not use it. Make sure that the Server can reach the Form Recognizer endpoint without a proxy, or the Task fails.
Troubleshooting
HTTP request failed with code 400, message is The value for one of the HTTP headers is not in the correct format
The Connection type does not match the storage. For example, a Page blob Connection cannot read block blobs. Select the Connection type that matches the blobs, for example "Block blob".
ResourceNotFound: No deployments were found. You need to select the right AzureSubscription.
No Such Host Is Known
The storage account name is wrong.