customer usage attribution with CLI or PowerShell
The docs here mention the following lines of code for PowerShell and CLI:
and I assume if you're running CLI from PowerShell (not a Bash window) then this might help:
Once I've set that how do I validate it worked? Let's say I run New-AzStorageAccount in PowerShell or "az storage account create" in CLI. I don't see that it creates any "deployments" so the Get-AzResourceGroupDeployment for that resource group returns nothing. Is there somewhere else it is marked? Or does this literally only work for actual ARM templates and not CLI or PowerShell creation of resources (without an ARM template)?
No error. I just don’t know how to validate it tagged us since there are no rows returned from Get-AzResourceGroupDeploy unless we use ARM templates.
Thanks so much for the follow up!