Blog

The way to Rename an Azure Subscription (3 Strategies)

by | Sep 17, 2024 | Gadgets

[ad_1]

Learn this information to discover ways to rename an Azure Subscription utilizing the Azure portal or PowerShell in your pc or in Azure Cloud Shell.

Choice 1: Rename a Subscription through the Portal

  1. Register to portal.azure.com, seek for a subscription, after which choose Subscriptions.
  1. After that, click on the subscription you need to rename.
After that, click the subscription you want to rename.After that, click the subscription you want to rename.
  1. Lastly, click on the Rename button, give the subscription a brand new title, and click on Save.

Choice 2: Rename a Subscription with PowerShell (Pc)

  1. Open PowerShell 5.0 as administrator in your pc and run the command under.
Join-AzAccount
  1. Then, choose the account you need to register to Azure with on the Register pop-up. If you should register with an account not on the listing, select Use a special account.
  1. After that, enter the Azure e mail account after which the password.
  1. Lastly, run the instructions under to put in the required PowerShell modules and rename the Azure subscription.
#1. Set up and import the Az.Accounts and Az.Subscription modules. With out this, the Rename-AzSubscription command is not going to be accessible 

Set up-Module -Identify Az.Accounts, Az.Subscription -Pressure
Import-Module Az.Accounts, Az.Subscription -Pressure

#2. Return all subscriptions in your Azure tenant

get-AzSubscription

#3. Rename the subscription

Rename-AzSubscription -Id 107adc00-2694-430e-b985-d2639d9e1eef -SubscriptionName "AZ-100 Lab"

#4. Test that the subscription has modified

get-AzSubscription

Choice 3: Rename a Subscription through Azure Cloud Shell PowerShell

  1. Register to portal.azure.com and open Azure Cloud Shell by clicking its icon.
Sign in to portal.azure.com and open Azure Cloud Shell by clicking its icon.Sign in to portal.azure.com and open Azure Cloud Shell by clicking its icon.
  1. If it’s your first time opening Azure Cloud Shell, comply with the numbering on this screenshot to set it up for the primary time.
  1. Lastly, run the instructions under to put in the required module and rename the Azure Subscription.
#1. Set up and import the Az.Accounts module. With out this, the Rename-AzSubscription command is not going to be accessible 

Set up-Module -Identify Az.Subscription -Pressure
Import-Module Az.Subscription -Pressure

#2. Return all subscriptions in your Azure tenant

get-AzSubscription

#3. Rename the subscription

Rename-AzSubscription -Id 107adc00-2694-430e-b985-d2639d9e1eef -SubscriptionName "AZ-100 Lab"

#4. Test that the subscription has modified

get-AzSubscription

Conclusion

A part of the Azure Infrastructure admin function includes managing and generally renaming subscriptions. On this fast information, I shared three strategies to perform this activity through the Azure portal, Azure Cloud Shell, and PowerShell on a pc.

I’m assured that you’ve completed your goal of studying this information utilizing considered one of these strategies. Please let me know what you consider the information by responding to our “Was this web page useful?” query under.

[ad_2]

Laubeau Jac Lawrance

Laubeau Jac Lawrance

Your content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text in the module Advanced settings.