Get-MgUser -Filter example code.

Get-MgUser -Filter Example

The Get-MgUser command comes with a filtering function just like, e.g., Get-ADUser. But if you’re expecting the power of the Get-ADUser LdapFilter switch or the PowerShell expression language Filter switch, then you’re in …

Connect-MgGraph Scopes

Connect-MgGraph -Scopes

For many admins, the use of ‘Scopes’ is a new addition to Office 365 PowerShell’ing. The Scopes parameter was introduced with the Microsoft Graph PowerShell API, but the concept of …

How to enable TLS 1.2

Enable TLS 1.2

Microsoft has recently started blocking TLS 1.0 and 1.1 in the PowerShell APIs for Azure AD and Exchange Online. As a result, applications connecting with TLS 1.0 or TLS 1.1 …