<p>Is there a way to retrieve the oms workspace ID and Key in Azure via the az cli or azure powershell?
I am deploying k8s clusters (in Azure) and automatically want to deploy the oms container agent via helm. I need a workspace ID and key for that and I don't want to create the workspace by hand and manually put the Id and Key in my release job :).</p>

bramvdk
<p>Another option that is very convenient to find Azure Resource IDs is the resource explorer. Navigate your browser to <a href="https://resources.azure.com/" rel="nofollow noreferrer">https://resources.azure.com/</a></p>
