I need to list all resources in all RGRPs on all subscriptions.
all what is there basically.
I try to do it with regex but does not work.
I need to list all resources in all RGRPs on all subscriptions.
all what is there basically.
I try to do it with regex but does not work.
2
Answers
Get all resources on all subscriptions:
Check if your resource exists and print subscription of it
Let me know if there is simpler way.
Cheers
You can use a resource graph query (kusto/kcl) for that
See also here:
https://learn.microsoft.com/en-us/azure/governance/resource-graph/samples/starter?tabs=azure-cli#list-resources
PowerShell: