I am trying to setup auditing for the SQL server in Azure and for the same, I need to send the logs to an Event Hub which is not in the same subscription as the SQL server. I am trying to do add this to the SQL server ARM template, however, I do not know how to get the subscription ID via the subscription Name for the event hub resource.
Thanks for your help in advance.