Hi Gurram,
This might be more complex, but you can use Azure automation along with functions within a logic app, which would allow you to use powershell as part of your solution.
overview
Lior Tamir created a logic app playbook with automation that's used to block Exchange IPs.
The same example could apply to a logic app that logged into sql server.
If you're saying you can't run powershell commands like Invoke-Sqlcmd then that's another problem..
Block-ExchangeIP
manage-authentication-in-database-engine-powershell