Microsoft 365 Admin Get the Microsoft tenant GUID with PowerShell By: pen This PowerShell one-liner will return the Tenant ID replace <TENANT> with your tenant name.