As the title says, just looking for a way to retrieve all of the public IPs of all of my subscriptions. az network public-ip list. just gives me the IPs for my default subscription. I want to know the current IPs for all of my subscriptions with one command. I know there's some powershell stuff out there but I don't want to go that route.
Get-Az Subscription [-SubscriptionName ] [-TenantId ] [-AsJob] [-DefaultProfile ] [] Description. The Get-AzSubscription cmdlet gets the subscription ID, subscription name, and home tenant for subscriptions that the current account can access. Examples

First, go to the Azure app registration for the pipeline in the Azure portal. The Azure pipeline app registration. On the API permissions pane, choose to Add a permission. Select the Azure Active Directory Graph as the API of choice and select the Application.ReadWrite.OwnedBy permission.

Resource permissions. The final step is to ensure your registered app has permission to work with your Azure resources. In the Azure Portal navigate to Resource groups and select the resource group (s) that you want the registered app to access. Next, select the Access Control (IAM) option and if your app isn’t listed, click Add.
August 29, 2021. When working with multiple Azure subscriptions, the PowerShell Az.* modules allow for easy context switching. This means that you can run commands agains multiple subscriptions, or you can run commands against subscriptions without changing your default context. An Azure Context object contains information about the Account
Select a link to provide feedback: Open a documentation issue Provide product feedback. The Set-AzCurrentStorageAccount cmdlet modifies the current Azure Storage account of the specified Azure subscription in Azure PowerShell. The current Storage account is used as the default when you access Storage without specifying a Storage account name. sIqz. 277 287 231 378 158 207 346 273 223

az account set subscription powershell