Trigger SMA scripts to run synchronously (before action)
Today SMA runbooks can be triggered when an "action" is taken. However there is no (synchronous) way to prevent the action to take place or to "modify" the parameters for the action. Examples where this would be helpful: Runbook that puts VM in maintenance mode for SCOM when tenant does shutdown from portal. Runbook that fetches a new computer name from custom database an injects into create VM action. Today these actions need to be done "after the fact" as a cleanup task (e.g. rename the server)
Thanks for the feedback! This is something that we have thought about and need to do some further investigating to figure out how it can be done.