Table of Contents

Issue

I got an issue where I was unable to trigger SMA runbook and the status of the runbook turns to Queued status. Then I found Runbook service status was stopped. I tried to start it several times but no luck.

Then I observed events in SAM server>Event viewer>Windows Logs>Applications and Services Logs>Microsoft-ServiceManagmentAutomation which says The service exited. License expired on 11/9/2015 5:21:28 PM

Resolution

there is no resolution other then applying a license to your SMA server.

You can use below command to get your SMA server activated with system center Key.
$WebServiceEndpoint = "https://localhost"
$ProductKey = 'xxxx-xxxx-xxxx-xxxx-xxxx'
Set-SmaLicense -ProductKey $ProductKey -WebServiceEndpoint $WebServiceEndpoint