Establishing a Connection
Enabling SSIS in Visual Studio 2022
If you're using Visual Studio 2022, you will need to install the SQL Server Integration Services Projects extension to use SSIS.
- Navigate to Extensions > Manage Extensions.
- In the Manage Extensions window's search box, search for "SQL Server Integration Services Projects 2022" and select the extension in the list.
- Click Download.
- Close Visual Studio and run the downloaded Microsoft.DataTools.IntegrationServices.exe installer. Proceed through the installer with default settings.
- Open Visual Studio. There should now be an "Integration Services Project" project template available.
Adding the Azure Table Storage Connection Manager
Create a new connection manager as follows:
- Create a Visual Studio project with the "Integration Services Project" template.
- In the project, right-click within the Connection Managers window and select New Connection from the menu.
- In the Description column, select CData Azure Table Storage Connection Manager and click Add...
- Configure the component as described in the next section.
Alternatively, if you have an existing project and CData Azure Table Storage Source or CData Azure Table Storage Destination:
- Right-click your CData Azure Table Storage source or destination component in your data flow
- Select Edit... to open an editor window.
- Click the New... button next to the Connection manager: dropdown selector to create a connection manager.
- Configure the component as described in the next section.
Connecting to Azure Table Storage APIs
The driver will connect to the Azure Table Storage account specified by Account. By default, connections to the Azure Table Storage are secured via SSL, though this can be controlled through UseSSL. The authentication method to the Azure Table Storage is determined by the AuthScheme property.
Authenticating to Azure Table Storage
The following mechanisms may be used to authenticate.
Access Key
Set Account to the storage account name and set the AccessKey of the storage account to connect. Follow the steps below to obtain these values:
If using Storage as the Backend (default):
- Log into the Azure portal and select Storage Accounts in the services menu on the left.
- If you currently do not have any storage accounts, create one by clicking the Add button.
- Click the link for the storage account you want to use and select Access Keys under Settings. The Access Keys window contains the storage account name and key (you can use either key1 or key2 to connect) that you will need to use in the component. These properties map to the Account and AccessKey component connection properties respectively.
If using CosmosDB as the Backend:
- Log into the Azure portal and select Cosmos DB in the services menu on the left.
- Click the link for the Cosmos DB account you want to use and select Connection String under Settings. The Connection String window contains the Cosmos DB account name and primary key that you will need to use in the component. These properties map to the Account and AccessKey component connection properties respectively.
Shared Access Signature
Set Account to the storage account name and set the SharedAccessSignature to a valid signature of a resource to connect to. The SharedAccessSignature may be generated with a tool such as Azure Storage Explorer.
Typically when SharedAccessSignature is used, the specific table to work with must also be specified via the Tables connection property. If no table is specified, a table listing will be attemped, but may fail due to a lack of permissions.