Created
June 10, 2017 09:50
-
-
Save aaronparker/54836d711c7db6fe51b56dc57746bf6f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Cred = Get-Credential | |
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $Cred -Authentication Basic -AllowRedirection | |
Import-PSSession $Session | |
Set-OrganizationConfig -OAuth2ClientProfileEnabled $true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment