Quantcast
Channel: Thomas.Poett@TEAMS (MVP Teams and Cross-Tenant Migration Specialist)
Viewing all articles
Browse latest Browse all 292

Query Office 365 Tenant ID

$
0
0

The Office 365 Tenant ID is pretty good hidden. Therefore here are two was finding out what's your Tenant ID ist.

Open PowerShell and login into Office 365

Set-ExecutionPolicy RemoteSigned

$credential = Get-Credential
Connect-MsolService -Credential $credential

Invoke-WebRequest https://login.windows.net/YourOFFICE365TenantName.onmicrosoft.com/.well-known/openid-configuration|ConvertFrom-Json).token_endpoint.Split(‘/’)[3]



Finding the Tenant ID in SharePoint



Author:


Viewing all articles
Browse latest Browse all 292

Trending Articles