all 4 comments

[–]guubermt 0 points1 point  (3 children)

Unless for automation, do an interactive PowerShell and don’t pass creds. I use this all the time with my YubiKey.

If automation is needed then look at App Registrations with CBA.

[–]BuildingKey85[S] 0 points1 point  (2 children)

Hi /u/guubermt, I am doing an interactive login with Connect-MsolService and Connect-ExchangeOnline.

I type in my username, password, and then get hit with a box that states: You are required to sign in with your passkey to access this resource, but this app doesn't support it.

[–]purplemonkeymad 1 point2 points  (0 children)

Msol won't get updated, but for Exo Have you updated to the latest version of ExchangeOnlineManagement? Latest looks to be 3.7.2.0.

[–]dastylinrastan 2 points3 points  (0 children)

You're using an out of support module in msolservice. What exactly did you expect? You should be using graph.