how to connect to compliance protection

Frequent Contributor

Hi Experts, 

From exchange online powershell module i have used the below syntax to connect to compliance protection, i am getting below error. I am logged in with my laptop with username: but my privilege account to connect to exchange online powershell module is with mfa enabled. is local admin on my laptop.

Connect-IPPSSession -UserPrincipalName

PS C:> Connect-IPPSSession -UserPrincipalName
WARNING: Your connection has been redirected to the following URI:
" BasicAuthToOAuthConversion=true;PSVersion=5.1.16
299.1146 "
WARNING: The names of some imported commands from the module 'tmp_quu4z3hb.tkx' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb

1 Reply
best response confirmed by Roger Roger (Frequent Contributor)

That's not an error but a warning, which you can ignore. You can also simply run Connect-IPPSSession without any parameters and provide credentials when asked.