title: Get Managed Identity ObjectID of Logic App using Azure CLI/Powershell
body: <p>I have a logic App with Managed Identity enabled. For automation purposes, I need to use either Azure CLI or Powershell to grab the objectID of the Logic App Managed Identity to grant it access to a keyvault. 
  I have done the same for Azure Data Factory using a Poweshell command like this: </p>
  
  <pre><code> (Get-AzureRMDataFactoryV2 -ResourceGroupName $ResourceGroup -Name $DataFactoryName).Identity
  
  </code></pre>
  
  <p>Tried something similar for logic app but it does not return the identity.</p>