The Simplest Way to Make Azure Logic Apps and Cohesity Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams use azure logic apps and cohesity to run backup tasks without manual work. Logic Apps triggers workflows on a schedule, and Cohesity runs the data protection jobs. This setup lets your team start snapshots, check job status, and send alerts fast. You link your cloud apps with your storage system using simple web requests. When a cloud resource changes, the workflow tells the backup system right away. How azure logic apps and cohesity share keys and data Logic Apps talks to Cohesity by

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams use azure logic apps and cohesity to run backup tasks without manual work. Logic Apps triggers workflows on a schedule, and Cohesity runs the data protection jobs.

This setup lets your team start snapshots, check job status, and send alerts fast. You link your cloud apps with your storage system using simple web requests. When a cloud resource changes, the workflow tells the backup system right away.

How azure logic apps and cohesity share keys and data

Logic Apps talks to Cohesity by sending web requests to its API endpoints. First, the workflow must log in to the backup cluster with a secret key. You should store this key inside a secure cloud vault, not in the workflow.

At run time, Logic Apps reads the key from the vault using a managed identity. Then it sends the key to Cohesity to start a session and run commands. Cohesity checks the role tied to that key before it allows any action.

Once the check passes, the workflow can read job logs or start a backup. Cohesity sends back a status message in a standard text format. Logic Apps reads this response and decides what step to run next. If a backup fails, the workflow can post a message in your team chat. It can also open a ticket for the on-call engineer to check.

Common traps with shared keys and broad roles

Many teams use one admin account for every automated workflow in their system. This choice creates a big risk if someone steals the shared key. An attacker could delete backups or read private files across the whole cluster. Also, shared accounts make it hard to see which workflow ran a command.

To fix this, create a separate role in Cohesity for each Logic App task. If a workflow only checks backup status, give it a read-only role. Never grant delete permissions to a workflow that only starts new snapshots.

Azure RBAC + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Network paths between the cloud and your backup cluster also need strict rules. Do not open your Cohesity cluster to the public internet for cloud requests. Use a private network link or an on-premises data connector in Azure. This keeps all traffic inside your private network and blocks outside scans.

Unlogged requests cause another big headache during an audit or an outage. Make sure you log every request and response between the two tools. Be careful not to write secret tokens or raw user data into those logs. If your job output holds emails or phone numbers, mask those fields in results.

How to keep backup workflows fast and reliable

Backup jobs take time to finish, so your workflow should not wait in one step. Instead, use a polling pattern inside Logic Apps to check the job state. The workflow starts the backup, waits a few minutes, and checks the status again. This pattern stops your cloud actions from timing out during large data transfers.

You should also set up clear retry rules for network drops. Sometimes a web request fails because a network link is busy for a second. A good retry rule waits a short time and sends the request again. If the request still fails after three tries, send an alert to your team.

Finally, rotate the API keys for your Cohesity service accounts on a regular schedule. Since your keys live in a cloud vault, you can update them without breaking apps. Regular rotation limits the damage if an old key ever leaks in a log.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

How should Logic Apps store Cohesity keys?

Store all Cohesity keys and tokens inside Azure Key Vault. Give your Logic App a managed identity so it can read the secret at run time.

Can Cohesity trigger a Logic App workflow when a backup fails?

Yes, Cohesity can send a webhook alert when a job fails or finishes. Set up an HTTP trigger in Logic Apps to catch that alert and start a task.

How do we restrict what a Logic App can do in Cohesity?

Create a custom role in Cohesity with only the exact permissions the workflow needs. Assign that role to a dedicated service account used only by that one workflow.

The query runs. The emails stay hidden.