Sequence for Defender for Cloud Workflow Automation

SC-200 By islever Editorial Last updated

Short answer

1. Create a logic app with the Microsoft Secure Score connector and Teams action. 2. Configure workflow automation in Microsoft Defender for Cloud. 3. Set the trigger condition to activate on a new Secure Score action.

Question

DRAG DROP
You have an Azure subscription that uses Microsoft Defender for Cloud.
You need to create a workflow that will send a Microsoft Teams message to the IT department of your company when a new Microsoft Secure Score action is generated.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Exhibit: Sequence for Defender for Cloud Workflow Automation

Key Takeaways

You must create the underlying Logic App before configuring the Workflow Automation because the automation relies on the Logic App to execute the remediation steps.

To automate Microsoft Teams notifications for Secure Score actions, create the Logic App first, then configure the Workflow Automation, and finally set the trigger condition.

Common mistake: Learners often attempt to configure the Workflow Automation trigger before creating the Logic App, which fails because the automation has no execution context yet.

Expert Analysis

The task requires configuring a workflow in Microsoft Defender for Cloud to notify the IT department via Microsoft Teams when a new Secure Score action is generated. The governing principle here is the dependency chain between Azure Logic Apps and Defender for Cloud Workflow Automations.

First, you must create an Azure Logic App that contains the specific trigger (Microsoft Secure Score) and the action (send Teams message). This Logic App serves as the executable engine. As noted in community feedback, a Workflow Automation cannot exist without a Logic App to host its actions; therefore, creating the Logic App is the prerequisite step.

Second, you configure the Workflow Automation within the Defender for Cloud portal. This object acts as the container or policy that links security events to your Logic Apps. During this configuration, you must select the Logic App created in the first step.

Third, you define the trigger condition within the Workflow Automation settings. You must specify that the workflow should initiate specifically when a 'Secure Score' recommendation or action is generated. Without this trigger definition, the Workflow Automation does not know when to invoke the Logic App.

Comments highlight common confusion regarding whether to start with the Logic App or the Workflow Automation. The correct sequence is: Create Logic App -> Configure Workflow Automation -> Define Trigger Condition. This order ensures the target engine exists before the policy is defined.

Official Reference

https://learn.microsoft.com/en-us/azure/defender-for-cloud/workflow-automation

This link opens the official vendor documentation in a new tab.

Exam Strategy

When asked about automation sequences involving Defender for Cloud, always identify if a Logic App is required. If so, creating the Logic App is typically the first step. Then, configure the Workflow Automation to link the event source to the Logic App, and finally define the specific trigger conditions.

Frequently Asked Questions

Can I use Power Automate instead of Logic Apps?

Yes, Power Automate can be used to create flows that integrate with Defender for Cloud, following similar trigger and action configurations.

Why can't I define the trigger before creating the Logic App?

The Workflow Automation needs a reference to an existing Logic App to know where to send the data. Without the Logic App, there is no destination for the workflow.

Discussion 29 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 29

  1. ceejay12 👍 39
    1. Configure workflow automation 2. Configure a trigger condition 3. Create a logic app that has the Defender for Cloud recommendation trigger https://learn.microsoft.com/en-us/azure/defender-for-cloud/workflow-automation
  2. shadowdark83 👍 18
    It is not possible to create a Workflow Automation without first creating a logic app to place in the action field. So, after creating the Logic App, you create the Workflow Automation, and during the creation of the Workflow Automation, you select the trigger as "Recommendation". So the answer is 4-2-5.
  3. Murtuza 👍 12
    This is the correct sequence 1. Create a logic app that has the Defender for Cloud recommendation trigger 2) Configure workflow automation 3) Configure a trigger condition
  4. Durden871 👍 6
    I'm literally looking at the link right now: 1. From Defender for Cloud's sidebar, select Workflow automation. 4. The triggers that will initiate this automatic workflow. For example, you might want your logic app to run when a security alert that contains "SQL" is generated. 6. From the Actions section, select visit the Logic Apps page to begin the logic app creation process.
  5. g_man_rap 👍 6
    Verified: 1. Create an Azure logic app that includes the Defender for Cloud recommendation trigger. 2. Configure a trigger condition. 3. Configure workflow automation.
Show 24 more comments
  1. hovlund 👍 6
    It is in reverse...
  2. Vokuhila 👍 3
    The links show: Create a logic app and define when it should automatically run Manually trigger a logic app Configure workflow automation at scale
  3. KRAKE3N 👍 3
    1. Logic App 5. Trigger 2. Workflow automation https://learn.microsoft.com/en-us/azure/defender-for-cloud/workflow-automation
  4. Vokuhila 👍 3
    The correct order is: 1 Create logic app with compliance assessment trigger 2 Configure trigger 3 Configure workflow
  5. user636 👍 2
    Another Vague question, you need total of 4 steps. I see multiple correct answers here. I guess Microsoft just wanna test your knowledge & is not looking for the complete solution. You can either start with the workflow automation, define a trigger condition, pause the workflow automation configuration, then manually create a logic & then you have to manually return to the workflow automation configuration page & then must select the logic app in the actions part of the workflow automation. This is a complete setup. OR Create a logic app with a with the appropriate trigger (MDC recommendation trigger in this case), then create a workflow automation and define a trigger condition and select the logic app in the action part. This is a complete setup. You cannot select a logic app in the workflow automation if the logic app with the appropriate trigger doesn't exists. As for the exam, I'll go with the: - create a workflow automation - define a trigger condition - create a logic app However the next step is to select the logic app in the workflow automation, else the workflow automation will never trigger the logic app. Good luck!
  6. davidli 👍 2
    Agree with this answer and confirm that the secure score is a recommendation. https://learn.microsoft.com/en-us/microsoft-365/security/defender/microsoft-secure-score?view=o365-worldwide
  7. Mercury02m 👍 2
    the answer should be 2,1,5 You can trigger logic app only after you create . First you create workflow automation -> create logic app ( regulatory compliance) and then trigger it.
  8. Anil0512 👍 2
    To me it's 1 5 2
  9. Studytime2023 👍 1
    I've got to say, I'm starting to really despise Microshit and all their mixed messages. This is directly from their practice test: "Question 30 of 50 Your company uses Microsoft Defender for Cloud. You need to create a Defender for Cloud workflow automation. What should you create first? Your Answer a logic app This answer is correct. Correct Answer a logic app This answer is correct. Workflow automation in Defender for Cloud can trigger Logic Apps on security alerts, recommendations, and changes to regulatory compliance. For example, you might want Defender for Cloud to email a specific user when an alert occurs. If you want to create workflow automation, you must configure it with an already existing logic app, which will be triggered by the workflow automation. As such, you must first create a logic app, and only after that, you can create a workflow automation in Defender for Cloud."
  10. Studytime2023 👍 1
    In their comments bit with their feedback on the answer they included these two links: https://learn.microsoft.com/en-us/azure/defender-for-cloud/workflow-automation https://learn.microsoft.com/en-us/training/modules/remediate-azure-defender-security-alerts/ Obviously the first link then contradicts their statement. For the sake of my test in two days time. If I'm presented with this question. I'll choose logic apps. workflow. trigger. I'm pretty sure this is the last M$ cert I'm doing. I'm fed up with their nonsense.
  11. neogeek87 👍 1
    1. Create an Azure Logic App with the Defender for Cloud recommendation trigger 2. Configure a trigger condition 3. Configure workflow automation Source: Microsoft Learn: Automate remediation responses in Microsoft Defender for Cloud Workflow configuration asks for Logic app and logic app trigger so need to create those two first then you configure workflow
  12. Ramye 👍 1
    I thought too not possible but apparently, it's possible. Step # 6 under the section: "Create a logic app and define when it should automatically run" in this link tells you you can use the existing Logic app or create a new one while creating Workflow Automation: https://learn.microsoft.com/en-us/azure/defender-for-cloud/workflow-automation
  13. Tuitor01 👍 1
    you're right, the think I I get that people get confused by M$ chosen nomenclature. It's all about the context, trigger inside the logic app and the trigger inside the workflow automation template that triggers the action. So the order is indeed correct in ceeja12 answer.
  14. Gurulee 👍 1
    Agree with your answer. You can also use Power Automate. 1. Create a new flow. 2. Select the Microsoft Secure Score connector. 3. Choose the trigger When a secure score improvement action is generated. 4. Select the Microsoft Teams connector.
  15. Hawklx 👍 1
    you are correct. but most of the preparation questions from Microsoft stress that you need to create a Logic App first, and Logic App, Trigger, Workflow automation is a working solution.
  16. xRiot007 👍 1
    The logic app can be created before configuring the workflow automation or while configuring it. At step 6 you can use an existing logic app, you are not forced to create a new one.
  17. xRiot007 👍 1
    Both are working solutions. The logic app can be created before starting workflow automation configuration or when arriving at the respective step during configuration
  18. SC200XMEN 👍 1
    CoPilot states; Create an Azure logic app that includes the Defender for Cloud recommendation trigger. Configure workflow automation. Configure a trigger condition.
  19. Ramye 👍 1
    These steps will work but you may want to follow the Microsoft given steps here https://learn.microsoft.com/en-us/azure/defender-for-cloud/workflow-automation
  20. Tuitor01 👍 1
    btw, in the automation template triggers are called in the ' trigger conditions' section.
  21. Vokuhila 👍 1
    https://learn.microsoft.com/en-us/azure/defender-for-cloud/workflow-automation
  22. danb67 👍 1
    No it's not. The link he provides shows the order.
  23. aks_exam 👍 1
    on exam 2024/April
  24. chepeerick 👍 1
    Correct

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All SC-200 Questions

Access 80 questions with complete answers and detailed explanations.

View Full SC-200 Practice Test →

← Back to SC-200 Study Guide