Office 365 Subscription ID and Tenant ID

Hi all,

I'll very often ask where to find the tenant ID and further the subscription ID in Office 365 

Find your Tenant ID

Requirements:
PowerShell 6.x
.NET Framework 4.7.2

Power Shell:

Install-Module -Name Az -AllowClobber
Connect-AzAccount
Update-Module -Name Az

Enable-AzureRmAlias
Login-AzureRmAccount






 Azure Portal:



Find your Subscription ID:

PowerShell:
Set-ExecutionPolicy RemoteSigned
$credential = Get-Credential
Connect-MsolService -Credential $credential

Get-MsolAccountSku | FL




Comments

Popular posts from this blog

Skype for Business, Lync and Exchange Web Services (EWS) and different DNS Domains- Exchange crawling e.g. for presence

Teams Admin Center Error Code: SECURITY_ZONE_ERROR

Change Office 365 Group Email Address