Hi @sikumars-msft ,
Thank you for responding ,I uploaded certificate as well again facing same issue
"ClientCertificateCredential authentication failed: The certificate certificate does not have a private key."
anyidea where i am going wrong
Please let me know if any additional information required
Thank you in advance
Hi @AnuragSharma-MSFT ,
Thank you for responding ,I followed steps in your answer ,i ran power shell script and i uploaded certificate in azure Automation Accounts, i tried to execute the below command inside runbook in "Automation Account"
Get-AutomationConnection -Name 'XXXXXX'
$connectionName="XXXXXXX"
$servicePrincipalConnection=Get-AutomationConnection -Name $connectionName
Connect-AzAccount -TenantId $servicePrincipalConnection.TenantId -ApplicationId $servicePrincipalConnection.ApplicationId -CertificateThumbprint $servicePrincipalConnection.CertificateThumbprint -ServicePrincipal
I got the below error:
"ClientCertificateCredential authentication failed: The certificate certificate does not have a private key. "
Any idea where i am going wrong
Let me know if any additional information required
Thanks in advance
Hi @stan
Thank you for the blogs, from this blog [azure-monitor-alert-series-part-7][1] the last provided code is suitable for my requirement,In the AlertLogic instead of "Metric measurement" i need to use "Number of Results" as shown in below diagram

If you can provide code for the "Number of Results" in AlertLogic instead of "Metric measurement" it would be a great help for me
[1]: https://cloudadministrator.net/2019/10/07/azure-monitor-alert-series-part-7/
Thank you @stan
I need to create exact same alert rule as a manually created alert rule
first i created alert rule manually then i downloaded template of that
as shown in the below code
It is deployed successfully but the conditions are different from manaually created alert rule to automatically created alert rule
as shown in below diagram:


Thank you @MayankBargali-MSFT ,
In our scenario we need to trigger logic app when there is a new log entry of data factory pipeline fail into log analytics workspace,while creating alert rule when i am selecting scope as "log analytics workspace" ,i can not see any logs related to data factory pipeline fails
If you can provides more details on how to use "When a HTTP request is received" in our scenario it would be great help
Hi @sikumars-msft ,
"ClientCertificateCredential authentication failed: The certificate certificate does not have a private key."
anyidea where i am going wrong
Please let me know if any additional information required
Thank you in advance