1

I am trying to find which Azure Subscription has me as the Owner.

I have access to nearly 200 subscriptions within my company, one of which is supposed to have me as its Owner and the person who set this up is no longer available to assist with its identification. Is there a Powershell or any other CLI query I can run to iterate through the entire collection, to retrieve this critical piece of information for me?

hitman126
  • 699
  • 1
  • 12
  • 43
  • You can login into the Portal and get this information. Simply search for or click on "Subscriptions". There you can will see the subscriptions you have access to and your role in each of them. – Gaurav Mantri Mar 25 '21 at 15:19

2 Answers2

0

login to your Azure portal and check the subscriptions blade: enter image description here

Juanma Feliu
  • 1,298
  • 4
  • 16
  • https://resources.azure.com/subscriptions you can get metadata here but no roles or ownerships. – Juanma Feliu Mar 25 '21 at 20:42
  • Hi, thanks for your feedback. However, I don't quite think that will give me the desired information. Why do I say that? Well, I'll give you an example. I have a private Azure Subscription where I'm the one and only user of that subscription. Even though I was the person who created that subscription, if I follow the steps you've outlined and filter on the "My role" dropdown for the Owner of the subscription, no result is displayed. What would be ideal is to find perhaps the Subscription metadata that has an "Owner" attribute, with my name set as the value. Any ideas? – hitman126 Mar 25 '21 at 20:42
  • Let's see, can you see all your 200 subscriptions with your azure account user?? when you create a subscription you become an Account Admin, not an owner. You need to add this role, indeed every subscription should have at least 2 owners. – Juanma Feliu Mar 25 '21 at 20:52
  • Yes, I can see all subscriptions with my Azure user account and you are correct, when one creates a subscription, you automatically become the Account Admin and not the Owner. – hitman126 Mar 26 '21 at 06:39
0

Open the subscriptions blade, inside this blade you can filter subscriptions based on the Owner role. Subscription's role filter

AvishalomJan
  • 391
  • 3
  • 3