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
Connect-AzAccount
Update-Module -Name Az
Enable-AzureRmAlias
Login-AzureRmAccount
Get-MsolAccountSku | FL
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
PowerShell 6.x
.NET Framework 4.7.2
Power Shell:
Install-Module -Name Az -AllowClobberConnect-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
Connect-MsolService -Credential $credential
This comment has been removed by a blog administrator.
ReplyDelete