Skip to main content

Azure Blob

The AzureBlob Execution Method lets a JAMS Job delete, download, or upload a single Azure Blob. No scripting required. Use it to share, update, and maintain files in your Azure environment on a schedule.

What it can and cannot do​

  • Operations: Delete, download, or upload.
  • Scope: One operation on one path, file, or Blob per Job.
  • Not supported: Container-level operations, such as creating a container, deleting a container, or modifying container rules.

Before you begin​

Collect the following from Azure:

ValueNotes
Tenant ID
Client IDThe Client application must have the Storage Blob Data Contributor permission on the storage account.
Client SecretStored in a JAMS Credential (see below).
Storage Account Name
Remote Container Name
Blob Name

Set up JAMS​

You only need to do this once per Azure storage account.

1. Create two Credentials​

CredentialPurpose
Azure secretStores the Azure Client Secret in the Password field. Leave Logon As empty.
Job executionRuns the Job in JAMS.

See Working with User Credential Definitions for how to create a Credential.

2. Create a Connection Store item​

Connecting to an Azure Blob requires a Connection Store item in JAMS. See Connections for Integrations for the configuration steps.

Create the Job​

The procedure is the same for all three operations. Only the fields in step 6 differ. Select your operation below.

  1. Click Definitions from the JAMS Shortcuts menu.
  2. In the Folder Navigator, click the Folder where the Job will be saved. Create one first if it does not exist. See Working with Folders.
  3. Click +, enter a Name for the Job, select AzureBlob in the Execution Method field, then click Ok.
  4. On the Source tab, select your operation in the Blob Operation field.
  5. Click Continue. The operation you selected is displayed in the Blob Operation field.
  6. In the Azure Blob Connection field, select the Connection Store item you created, then complete the remaining fields for your operation:
FieldValue
Remote Container NameThe name of the container.
Blob NameThe name of the Azure Blob to delete.
danger

Deleting a Blob also deletes any snapshots of it. Snapshots cannot be recovered.

  1. Click the Schedule tab and add schedule items to set when the Job runs.
  2. Click the Properties tab, then:
    • In Execute As, select the JAMS Credential that runs the Job.
    • In Agent, select the Agent, but only if the Job will not run on the Scheduler.
  3. Click Save and Close.

Cancel a running Job​

  1. Click Monitor from the JAMS Shortcuts menu.
  2. Right-click the running Job and select Cancel.
  3. Click Yes.

What happens next depends on the operation:

OperationResult of cancelling
DeleteNothing is left behind.
DownloadA partial file may be saved.
UploadNo file is uploaded.