When adding solutions to your OMS workspace you might get prompted to specify an Azure Automation account which then results in a link being created between the OMS workspace and the Azure Automation account. Now let’s assume you don’t need a specific OMS solution but you still want to create a link to an Automation account. While there is an “unlink workspace” option in the Azure portal, there is no “link workspace
option” .
![image image](https://i1.wp.com/www.verboon.info/wp-content/uploads/How-to-link_12F7C/image_thumb.png)
Also within the OMS portal, there no option to directly link the workspace to an automation account.
![image image](https://i1.wp.com/www.verboon.info/wp-content/uploads/How-to-link_12F7C/image_thumb_3.png)
And as long as there is no connection, no runbooks can be selected in the Alert configuration screen.
![image image](https://i1.wp.com/www.verboon.info/wp-content/uploads/How-to-link_12F7C/image_thumb_4.png)
Now here’s the trick, just start the process of adding a solution that requires an automation account. For this example I use the “Change Tracking” solution.
![image image](https://i1.wp.com/www.verboon.info/wp-content/uploads/How-to-link_12F7C/image_thumb_5.png)
Next select “Configure Workspace”
![image image](https://i1.wp.com/www.verboon.info/wp-content/uploads/How-to-link_12F7C/image_thumb_6.png)
Complete the workspace configuration, this will create the link between the OMS Workspace and the Azure Automation account. When completed, you will see a dialog where you can add the solution. There is no need to continue or add the solution, the link is already created.
![image image](https://i1.wp.com/www.verboon.info/wp-content/uploads/How-to-link_12F7C/image_thumb_7.png)
and within the Azure portal, we can now select the linked workspace from the Automation account blade.
![image image](https://i1.wp.com/www.verboon.info/wp-content/uploads/How-to-link_12F7C/image_thumb_8.png)
and last but not least, to unlink the workspace, select the “Unlink workspace” option.
![image image](https://i1.wp.com/www.verboon.info/wp-content/uploads/How-to-link_12F7C/image_thumb_9.png)
Comments
Post a Comment