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

Post a Comment

Popular posts from this blog

How to hide users from GAL if they are AD Connect synchronized

Cannot join external Lync Meeting: Lync Edge Server Single IP Address (Lync Edge Server Single IP Web Conferenceing Problem)

MFA with Guest Access and different tenants settings