protected void testAzureStorageConnectivity() {
    logger.info("Testing Azure Storage connectivity");
    // Test connection to Blob Service
    PagedIterable<BlobContainerItem> blobContainerItemPagedIterable = azureStorageClient.listBlobContainers();
    for (BlobContainerItem blobContainerItem : blobContainerItemPagedIterable) {
      logger.info("Azure blob storage container = {}", blobContainerItem.getName());
      break;
    }
    logger.info("Successful connection to Azure Storage");
    // Test connection to Table Service
    PagedIterable<TableItem>  tableItemPagedIterable = azureTableServiceClient.listTables();
    for (TableItem tableItem : tableItemPagedIterable) {
      // List one item to populate lazy iterable and confirm
      logger.info("Azure Table = {}", tableItem.getName());
      break;
    }
    logger.info("Successful connection to Azure Table Service");
  }
Tests connection to Azure blob storage
ambry-cloud/src/main/java/com/github/ambry/cloud/azure/AzureCloudDestinationSync.java