Azure Automation - Error while polling the hybrid notification channel.

Vítor Dias 1 Reputation point
2020-07-20T06:59:27.83+00:00

Facing a lot problems with runing update tasks using Azure Automation.

Source: Microsoft-SMA
Event: 15105

Error while polling the hybrid notification channel. [AccountId={XXXXXXXXXXXXXXXXXXX}] [RunbookWorkerGroup=XXXXXXXXXXXXXXXXXXX] [MachineName=XXXXXXXXXXXXXX] [MachineId={XXXXXXXXXXXXXXXXXXXXXXXX}] [Exception=System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.UriBuilder..ctor(String uri)
at Orchestrator.Shared.Shared.ConfigurationUtil.GetAppRootDirectory(IConfigurationStore configuration)
at Orchestrator.Runtime.SandboxConfiguration..ctor(IConfigurationStore configurationStore, ICertificateProvider certificateProvider)
at Orchestrator.Runtime.SandboxConfiguration..ctor(IConfigurationStore configurationStore, String runbookWorkerGroup, AccountId owner)
at RunbookWorker.Hybrid.HybridCommunicationManager.GetSandboxProperties(NotificationEventArgs eventArgs)
at RunbookWorker.Hybrid.HybridCommunicationManager.OnNotificationReceived(Object sender, NotificationEventArgs notificationArgs)
at RunbookWorker.Hybrid.CloudNotificationManager.OnNotificationReceived(NotificationEventArgs notificationArgs)
at RunbookWorker.Hybrid.CloudNotificationManager.HandleChannelData(IEnumerable`1 channelDataList)
at RunbookWorker.Hybrid.CloudNotificationManager.PollAndNotify()
]

Checked the azure health service, and it seems that everything was ok when i was trying to execute this tasks.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,124 questions
{count} votes

2 answers

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 17,636 Reputation points
    2020-08-04T05:30:10.48+00:00

    @Vítor Dias As per conversation with our technical support , posting the resolution of the issue for the benefit of the community. The connection established between machine and workspace was not made properly - once the key was re-added the issue was solved.

    0 comments No comments

  2. Rohit Jarodia 21 Reputation points
    2023-01-12T09:49:32.2466667+00:00

    HI Swathi,

    It will be a great help if you can mention the steps on how to change the key here.

    I am also facing similar issue.

    Thanks in advance

    0 comments No comments