skip to Main Content

Why does Azure Self-hosted agent receive Connection refused error when connecting with EventHubs?

When using Azure self-hosted agent deployed on Kubernetes I face the following error: [Error]2024-06-14T11:28:08.719 [EventHubSendFailed], exception: System.Net.Sockets.SocketException (111): Connection refused at Microsoft.Azure.EventHubs.Amqp.AmqpEventHubClient.CreateConnectionAsync(TimeSpan timeout) at Microsoft.Azure.Amqp.FaultTolerantAmqpObject`1.OnCreateAsync(TimeSpan timeout) at Microsoft.Azure.Amqp.Singleton`1.GetOrCreateAsync(TimeSpan timeout) at Microsoft.Azure.Amqp.Singleton`1.GetOrCreateAsync(TimeSpan timeout) at Microsoft.Azure.EventHubs.Amqp.AmqpEventDataSender.CreateLinkAsync(TimeSpan timeout) at Microsoft.Azure.Amqp.FaultTolerantAmqpObject`1.OnCreateAsync(TimeSpan timeout) at Microsoft.Azure.Amqp.Singleton`1.GetOrCreateAsync(TimeSpan…

VIEW QUESTION

Azure Graph API – Users by CreatedDateTime

I am trying to retrieve users orderby createdDateTime, but the Graph API doesn't seem to like it This fails with a (400) Bad Request: https://graph.microsoft.com/beta/users?`$select=displayName,userPrincipalName,mail,id,createdDateTime,signInActivity,userType&`$top=100&`$orderby=createdDateTime desc Whereas order by displayName works just fine: https://graph.microsoft.com/beta/users?`$select=displayName,userPrincipalName,mail,id,createdDateTime,signInActivity,userType&`$top=100&`$orderby=displayName desc My API permissions are fine…

VIEW QUESTION

Azure – get-policy state not returning correct display name instead returning guid

' subscriptionId = 'abc' $nonCompliantPolicies = Get-AzPolicyState -SubscriptionId $subscriptionId # Define a custom object for each non-compliant resource $customObjects = $nonCompliantPolicies | ForEach-Object { [PSCustomObject]@{ PolicyName = $_.PolicyDefinitionName ComplianceState = $_.ComplianceState ResourceType = $_.ResourceType ResourceGroup = $_.ResourceGroup SubscriptionId = $_.…

VIEW QUESTION
Back To Top
Search