I'm trying to replace the report I have been running via Powershell with a Logic App, to automate it and store the results in Sharepoint. However, I can't find a way to list the subscription tags and theit values within the logic app, only the tag names or the tag names and values for the resources hosted in the subscription. The main problem is all the tags aren't always present, so it has to be a dynamic list.
I have been trying to use the action "Get tags for each subscription", iterating theough the subscription list as it was the recommended one, but it lists the tags and values for all the nested resources.
I have also been trying to create a Kusta query to list the tags and their valules, but that only brought out the tag names.





You can get subscription name from
List subscriptionsaction and tag valueList subscription resource tagsin logic app using belowdesign:Output:Also refer this SO-Thread.