capabilities.work

Select Subscription and List Resource Groups

A 3-step recipe with Microsoft Azure. We can help you get access.

Recipe · 3 steps

Select Subscription and List Resource Groups

with Microsoft Azure · IT Infrastructure Management

Discover a subscription and enumerate its resource groups.

  1. List all subscriptions visible to the authenticated tenant.
  2. Get the first subscription's detail and branch: continue only when its state is Enabled, otherwise end the flow.
  3. List all resource groups inside the selected, enabled subscription.
What you'll need to have ready
  • accessToken: An Azure Resource Manager OAuth2 bearer access token.
  • apiVersion: The Azure Resource Manager API version.
For your developer

Arazzo workflow microsoft-azure:select-subscription-and-list-groups, 3 operations: Subscriptions_List → Subscriptions_Get → ResourceGroups_List. Specs on APIs.io.