Azure-Sentinel icon indicating copy to clipboard operation
Azure-Sentinel copied to clipboard

Start-MDEAutomatedInvestigation missing application roles

Open ampred1ct opened this issue 2 years ago • 4 comments

In Start-MDEAutomatedInvestigation logic app

after granted Alert.ReadWrite.All permissions to the managed identity after all steps with powershell commands (plus MS Sentinel responder at resource group for this logic app)

at step Machines-Get single machine pops out error :"message": "Missing application roles. API required roles: Machine.Read.All,Machine.ReadWrite.All, application roles: Alert.ReadWrite.All."

Expected behavior Could you please advise how to make this logic upp running with no reported error?

Screenshots image

Desktop :

  • OS: [Win 11]
  • Browser [chrome]
  • Version [Version 112.0.5615.138]

ampred1ct avatar Apr 26 '23 10:04 ampred1ct

Thank you for submitting an Issue to the Azure Sentinel GitHub repo! You should expect an initial response to your Issue from the team within 5 business days. Note that this response may be delayed during holiday periods. For urgent, production-affecting issues please raise a support ticket via the Azure Portal.

github-actions[bot] avatar Apr 26 '23 10:04 github-actions[bot]

Thank you for submitting an Issue to the Azure Sentinel GitHub repo! You should expect an initial response to your Issue from the team within 5 business days. Note that this response may be delayed during holiday periods. For urgent, production-affecting issues please raise a support ticket via the Azure Portal.

github-actions[bot] avatar Apr 27 '23 04:04 github-actions[bot]

Thank you for submitting an Issue to the Azure Sentinel GitHub repo! You should expect an initial response to your Issue from the team within 5 business days. Note that this response may be delayed during holiday periods. For urgent, production-affecting issues please raise a support ticket via the Azure Portal.

github-actions[bot] avatar Apr 27 '23 04:04 github-actions[bot]

Thank you for submitting an Issue to the Azure Sentinel GitHub repo! You should expect an initial response to your Issue from the team within 5 business days. Note that this response may be delayed during holiday periods. For urgent, production-affecting issues please raise a support ticket via the Azure Portal.

github-actions[bot] avatar Apr 27 '23 04:04 github-actions[bot]

Any update?

Kaloszer avatar May 08 '23 10:05 Kaloszer

Thank you for submitting an Issue to the Azure Sentinel GitHub repo! You should expect an initial response to your Issue from the team within 5 business days. Note that this response may be delayed during holiday periods. For urgent, production-affecting issues please raise a support ticket via the Azure Portal.

Hello, we are 2 weeks after - do we have any news pls?

ampred1ct avatar May 09 '23 09:05 ampred1ct

Hi @ampred1ct as per my understanding of the error you are facing, please follow the steps given below to resolve 'Missing application roles' error: -

  1. Go to the Azure portal and navigate to the resource group that contains the machines you want to query.
  2. Select the Access control (IAM) blade and click on Add to add a new role assignment.
  3. In the Add role assignment blade, select the role Virtual Machine Contributor.
  4. In the Assign access to section, select User, group, or service principal. In the Select section, search for and select the managed identity associated with the logic app.
  5. Click on Review + assign to review the details of the role assignment and click Assign to complete the process.
  6. Repeat the above steps for the Alert Reader and Log Analytics Reader roles.

v-vdixit avatar May 09 '23 09:05 v-vdixit

@v-vdixit many thanks, resolved case ;)

ampred1ct avatar May 09 '23 10:05 ampred1ct

Thank you for submitting an Issue to the Azure Sentinel GitHub repo! You should expect an initial response to your Issue from the team within 5 business days. Note that this response may be delayed during holiday periods. For urgent, production-affecting issues please raise a support ticket via the Azure Portal.

github-actions[bot] avatar May 09 '23 10:05 github-actions[bot]