Skip to main content

Microsoft Office 365

Sign up Free Trial Microsoft Office 365 Enterprise E3 to explore and extend your skills.

Keep updating

April 2020: Starting April 21, Office 365 will be called Microsoft 365, a move that illustrates the company’s desire to shed the stuffy image of the Office branding, and position it as a people first suite of apps.

Using Office 365 PowerShell to connect to Office 365 organization

Install Microsoft Online Services Sign-In Assistant for IT Professionals RTW

Download link: https://go.microsoft.com/fwlink/p/?LinkId=286152

Install Microsoft Azure Active Directory Powershell Module

Install-Module -Name AzureAD
Install Powershell module AzureAD

Connect to Microsoft Azure Active Directory

Connect-AZureAD

Install Microsoft Online Service Powershell Module

Install-Module -Name MsOnline

Connect to Microsoft Online Service

Connect-MsolService

Get MFA information

Connect-MsolService
Get-MsolUser | select DisplayName -ExpandProperty StrongAuthenticationUserDetails | ft DisplayName, PhoneNumber, Email

Popular posts from this blog

Powershell: Check Bad Logon

get-aduser -Filter {BadLogonCount -ne 0} -properties * | select SamAccountName,BadLogonCount,BadPasswordTime,BadPwdCount,@{name='badPasswordTimeDT'; expression={[datetime]::fromFileTime($_.badPasswordTime)}} | sort BadPasswordTime | FT

MSSQL: Fix error 'Consistency validation for SQL Server registry keys'

While installing Microsof SQL Server 2012, I ran into the following error. "The SQL Server registry keys from a prior installation cannot be modified. To continue, see SQL Server Setup documentation about how to fix registry keys." How to fix Replace the D:\x64\FixSqlRegistryKey_x86.exe file with the original file from the ENU\SQLFULL_ENU.iso file downloading from Microsoft Download Center. This ISO file is 4.2GB. So you can click FixSqlRegistryKey_x86.exe to download this file only. After replacing that file, press Re-run to check. All rules are passed.