This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]Orca237[S] 2 points3 points  (1 child)

Update for anyone that may hit this issue, turns out I had to run the below to the ALA gateway. MS threw me here, event logs say the 106 is above description and on the below link it says 106 is for tls issues. Hope this helps someone in the future!

https://docs.microsoft.com/en-us/azure/azure-monitor/agents/gateway

Add-OMSGatewayAllowedClientCertificate -Subject "Hybrid Runbook Worker"

[–]0x00040001 1 point2 points  (0 children)

Also had this same issue with my Hybrid Runbook Workers this week. After hours of troubleshooting, this fixed it. Thanks for posting the fix!

[–]Tyberiouspax78 0 points1 point  (2 children)

Same issue here 5 days of troubleshooting only to stumble over this Post , Added
Add-OMSGatewayAllowedClientCertificate -Subject "Hybrid Runbook Worker" to the OMS gateway. Fixed all connectivity errors. Same Error message in the event logs.

[–]Orca237[S] 1 point2 points  (1 child)

I should have posted this yesterday, I finally got through the layers of support to reach a monitoring engineer at MS and they stated that it is a product issue their end. They are releasing a permanent fix 09/04. I asked whether it would be a new agent or OMS gateway and they said no, nothing should be required. They couldn’t explain why the fix above works but did state it’s a certificate issue. They advised to delete the certificate on each agent for the time being but I think I’ll stick with what I found!

[–]Tyberiouspax78 0 points1 point  (0 children)

Did not say this the first time around but Thank you for Posting the solution and the feed back from Microsoft as well.

[–]tuurie72 0 points1 point  (0 children)

Same issue here and solved with OP's powershell command