CreateContainer
Frends Task for creating a container to Azure Blob Storage.
Task version: 3.0.0
Required Frends version: 5.7+
Required .NET version: 8.0
Compatible Agents: Crossplatform
Source code: https://github.com/FrendsPlatform/Frends.AzureBlobStorage/tree/main/Frends.AzureBlobStorage.CreateContainer
Task Parameters
ContainerName : String
Name of the Azure Blob Storage container where the data will be uploaded.
Naming: lowercase
Valid chars: alphanumeric and dash, but cannot start or end with dash.
Default: test-container
Example: test-container
AuthenticationMethod : ConnectionMethod
Defines which connection method should be used for connecting to Azure Blob Storage.
Possible values:
ConnectionString: Defines which connection method should be used for connecting to Azure Blob Storage.OAuth2: Defines which connection method should be used for connecting to Azure Blob Storage.SasToken: Defines which connection method should be used for connecting to Azure Blob Storage.ArcManagedIdentity: Defines which connection method should be used for connecting to Azure Blob Storage.ArcManagedIdentityCrossTenant: Defines which connection method should be used for connecting to Azure Blob Storage.
Default: 1
Example: ConnectionMethod.ConnectionString
🗝ConnectionString : String
Connection string to Azure storage.
Default: -
Example: DefaultEndpointsProtocol=https;AccountName=account-name;AccountKey=abc==;EndpointSuffix=core.windows.net
ApplicationId : String
Application (Client) ID of Azure AD Application.
Default: -
Example: Y6b1hf2a-80e2-xyz2-abc33h-3a7c3a8as4b7f
TenantId : String
Tenant ID of Azure Tenant.
Default: -
Example: Y6b1hf2a-80e2-xyz2-abc33h-3a7c3a8as4b7f
🗝ClientSecret : String
Client Secret of Azure AD Application.
Default: -
Example: Password!
🗝SasToken : String
A shared access signature to use when connecting to an Azure storage container.
Grants restricted access rights to Azure Storage resources when combined with URI.
Default: -
Example: sv=2021-04-10&se=2022-04-10T10%3A431Z&sr=c&sp=l&sig=ZJg983RovE%23ZXI
StorageAccountName : String
Name of the Azure storage account.
Default: -
Example: TestStorage
Scopes : String[]
Scopes used when authenticating with Arc Managed Identity Cross Tenant.
Default: -
Example: [api://AzureADTokenExchange/.default]
TargetTenantId : String
Target Tenant ID of Azure Tenant.
Default: -
Example: Y6b1hf2a-80e2-xyz2-abc33h-3a7c3a8as4b7f
TargetClientId : String
Target Client ID of Azure Tenant.
Default: -
Example: Y6b1hf2a-80e2-xyz2-abc33h-3a7c3a8as4b7f
ThrowErrorOnFailure : Boolean
Throw error on failure.
Default: True
Example: true
ErrorMessageOnFailure : String
Error message on failure.
Default: -
Example: Task failed
Task Result
Success : Boolean
Container created.
Example: true
Uri : String
URI string of a newly created container.
Example: https://test.blob.core.windows.net/test8f237ae0-ad33-b4b3-48d9-23b20a14c909
Error : Error
Error information if the operation failed.
Example: object { string Message, Exception AdditionalInfo }
Task Changelog
Changelog for Task Frends.AzureBlobStorage.CreateContainer.
[3.0.0] - 2026-04-26
Changed
Standardized parameter names and validation across all Azure Blob Storage tasks for consistency.
[2.2.0] - 2026-01-23
Added
Add options to support Arc Managed Identity authentication.
[2.1.0] - 2026-01-15
Changed
Updated Azure packages to the latest versions:
Azure.Storage.Blobs 12.27.0
Azure.Identity 1.17.1
[2.0.0] - 2025-10-23
Added
Created new Connection tab to organize authentication and connection details.
Created new Options tab with
ThrowErrorOnFailureandErrorMessageOnFailurefields.Added structured Error object (
Message,AdditionalInfo) to task result.
Changed
Moved connection-related parameters from Input to Connection tab.
Renamed:
Input.ConnectionMethod→Connection.AuthenticationMethodInput.ApplicationID→Connection.ApplicationIdInput.TenantID→Connection.TenantId
Breaking changes
Parameter moves and renames make this a breaking change.
To upgrade:
Move all connection fields to the Connection tab.
[1.3.0] - 2024-08-21
Updated
Updated Azure.Identity to version 1.12.0.
[1.2.0] - 2024-01-31
Updated
Azure.Identity to version 1.10.4
Azure.Storage.Blobs to version 12.19.1
Fixed
Modified Input parameters to be similar to other AzureBlobStorage Tasks.
[1.1.0] - 2022-11-28
Added
OAuth autentication
Modified
Unnecessary packages removed:
Azure.Core 1.20.0
MimeMapping 1.0.1.37
Microsoft.CSharp 4.7.0
System.ComponentModel.Annotations 4.7.0
Task's result modified: Result.Success added.
Documentation updated.
[1.0.0] - 2022-11-04
Added
Initial implementation of Frends.AzureBlobStorage.CreateContainer.
Last updated
Was this helpful?

