run cmd as admin cd C:\program files\Microsoft office\office16 (or program files (x86), whatever’s relevant) type in: cscript ospp.vbs /dstatus this generates a list of all the license keys install on your pc. You want to look at the last line of each paragraph: “Last 5 characters of installed product key: […]
O365
install “Microsoft Online Services Sign in Assistant for IT Professionals” Open Powershell (Admin) Enter the following commands… Install-Module MSOnline Install-Module AzureAD Import-Module AzureAD Connect-MsolService Get-msoluser (to test connection. Should list users) NOTE:- Disable the Microsoft ADSync service!! Enter the following commands… Set-MsolDirSyncEnabled –EnableDirSync $false get-msolcompanyinformation (to check if the sync […]
To match a new AD user to an existing 365 user. match UPN and smtp Alias 2 install “Microsoft Online Services Sign in Assistant for IT Professionals 3 Open Powershell (Admin): Install-Module -Name AzureAD 4 connect to AD: Connect-MsolService 5 Return the immutable ID: Get-MsolUser -UserPrincipalName john@cesarhara.com | select ImmutableID […]