title: Method to check self hosted agent running status on azure
body: <p>I have two questions.</p>
  
  <ol>
  <li><p>Is there any method to check self hosted agent on Azure VM is busy in running azure pipeline.</p></li>
  <li><p>and if there is any method available then can we shift that Azure pipeline from self hosted agent to Microsoft Hosted Agent, so that we can use that self hosted agent for other pipeline.</p></li>
  </ol>