Read this information to learn the way to rename an Azure Subscription utilizing the Azure portal or EnergyShell in your laptop or in Azure Cloud Shell.
Option 1: Rename a Subscription through the Portal
- Sign in to portal.azure.com, seek for a subscription, after which choose Subscriptions.
- After that, click on the subscription you need to rename.
- Finally, click on the Rename button, give the subscription a brand new title, and click on Save.
Option 2: Rename a Subscription with EnergyShell (Computer)
- Open EnergyShell 5.0 as administrator in your laptop and run the command under.
Connect-AzAccount
- Then, choose the account you need to register to Azure with on the Sign in pop-up. If you want to register with an account not on the checklist, select Use a special account.
- After that, enter the Azure e-mail account after which the password.
- Finally, run the instructions under to set up the required EnergyShell modules and rename the Azure subscription.
#1. Install and import the Az.Accounts and Az.Subscription modules. Without this, the Rename-AzSubscription command is not going to be accessibleInstall-Module -Name Az.Accounts, Az.Subscription -Force
Import-Module Az.Accounts, Az.Subscription -Force#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. Check that the subscription has modified
get-AzSubscription
Option 3: Rename a Subscription through Azure Cloud Shell EnergyShell
- Sign in to portal.azure.com and open Azure Cloud Shell by clicking its icon.
- If it’s your first time opening Azure Cloud Shell, observe the numbering on this screenshot to set it up for the primary time.
- Finally, run the instructions under to set up the required module and rename the Azure Subscription.
#1. Install and import the Az.Accounts module. Without this, the Rename-AzSubscription command is not going to be accessibleInstall-Module -Name Az.Subscription -Force
Import-Module Az.Subscription -Force#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. Check that the subscription has modified
get-AzSubscription
Conclusion
Part of the Azure Infrastructure admin function entails managing and typically renaming subscriptions. In this fast information, I shared three strategies to accomplish this process through the Azure portal, Azure Cloud Shell, and EnergyShell on a pc.
I’m assured that you’ve achieved your purpose of studying this information utilizing one among these strategies. Please let me know what you consider the information by responding to our “Was this page helpful?” query under.