Overview
This tutorial walks you through creating an automated task in Business Applications from start to finish. You will configure a scheduled automated task for an Azure resource, define the operation it performs, set up the execution schedule, and verify that the task runs successfully. By the end of this tutorial, you will have a working automated task that performs a lifecycle operation on your Azure resource on a defined schedule, without requiring manual intervention.
Business value
Routine Azure resource operations, such as disabling a Logic App overnight, restarting a Service Bus queue processor on a schedule, or running a pipeline at a set time, typically require someone to log into the Azure portal and act manually. Automated tasks in Business Applications let you configure these operations once in Turbo360 and execute them on a schedule or on demand, reducing manual effort, ensuring consistent operational cadence, and enabling off-hours automation without scripting.
Prerequisites
Before you begin, make sure you have:
- A Business Application with at least one supported Azure resource already associated
- Knowledge of the operation you want to automate (for example, Start, Stop, Restart, or a pipeline trigger)
- The correct service principal scope to allow Turbo360 to perform the operation on the target resource
Required permissions
You need the Automated task permission in Turbo360:
| Permission level | What you can do |
|---|---|
| Read | View automated tasks and task history |
| Manage | Create, edit, delete, and trigger automated tasks |
How it works
An automated task is a scheduled or on-demand operation bound to a specific Azure resource within a Business Application. When you create a task, you specify the target resource, the operation to perform (such as Start, Stop, or Enable), and the execution schedule. Turbo360 uses the service principal associated with the Business Application to authenticate and execute the operation against the Azure resource at the scheduled time. Task execution history is recorded and viewable in the Task history section of the Business Application.
Steps
This tutorial takes you through creating a scheduled automated task for a Logic App resource. The same steps apply to other supported resource types; the available operations differ based on the resource type selected. Navigate to your Business Application and open the Automated tasks section to get started.
Step 1: Open the automated task creation panel
Opening the creation panel is the starting point for configuring any automated task within the Business Application.
- In the Business Application, select Automated tasks from the navigation.
- Click New configuration.
Step 2: Select the resource and operation
Selecting the target resource and operation defines what Turbo360 will do when the task runs.
- In the Resource dropdown, select the Azure resource you want to automate (for example, a Logic App named
order-intake-logic-app). - In the Operation dropdown, select the operation to perform. Available operations depend on the selected resource type (for example, Enable, Disable, Trigger, Start, or Stop).
- Add a short Task name and optional description so the task is clearly identifiable in the task list and task history.
For a full list of supported resource types and their available operations, see What is an automated task?.
Step 3: Configure the execution schedule
Configuring the schedule determines when Turbo360 executes the task. You can schedule a recurring execution or run the task once at a specific time.
- Under Schedule, select the schedule type:
- Recurring: executes the task on a repeating cadence (for example, every weeknight at 11 PM).
- One-time: executes the task once at a specified date and time.
- Set the Time zone to match the operational context of the team or system running the task.
- For recurring schedules, configure the frequency; choose from daily, weekly, or a custom cron expression.
- Set the start date and time.
- Click Save to create the task.
Step 4: Verify the task
Verifying the task confirms that it was created correctly, is scheduled as expected, and can be triggered manually if needed.
- In the Automated tasks section, confirm the new task appears in the task list with the correct resource, operation, and schedule.
- To test the task before its scheduled time, click Run now in the Actions menu next to the task.
- Navigate to Task history to confirm the task executed successfully. The history entry shows the execution time, triggered-by value, and outcome (success or failure).
If the task appears in the list but Run now is not available, verify that your role has the Manage permission for automated tasks.
Troubleshooting
-
The resource does not appear in the Resource dropdown when creating a task
Cause: The resource has not been associated with the Business Application, or its resource type does not support automated tasks.
Fix: Verify the resource is associated with the Business Application under Resource management. Check the supported resource types list in What is an automated task?. -
The task appears in the list but does not execute at the scheduled time
Cause: The schedule time zone is set incorrectly, or the service principal does not have the permissions required to perform the operation.
Fix: Edit the task and verify the time zone setting. Confirm the service principal has the necessary permissions on the target resource in Azure. -
The task runs but the operation fails
Cause: The service principal does not have sufficient permissions to perform the selected operation (for example, it has Reader access but the operation requires Contributor).
Fix: Update the service principal's role assignment in Azure to grant the required permissions for the operation. See Service principal setup. -
Task history shows no entries after the task should have run
Cause: The task may still be in a pending state, or there was a connectivity issue between Turbo360 and Azure at the scheduled execution time.
Fix: Check the task's schedule to confirm the execution time has passed. Refresh the Task history page. If no history appears, verify the service principal connection is active. -
The New configuration button is not available
Cause: Your role does not have the Manage permission for automated tasks.
Fix: Contact your Turbo360 administrator to have the Manage permission granted on your role.