r/PowerShell • • Apr 23 '26

Solved Powershell recent issues are killing me

I have a Mac and a windows box. I run home-brew on the Mac and after upgrading my normal Connect-ExchangeOnline began failing, to where I had to start using a -device to get in. OK..a pain, but I'll deal with it.

Today I start running IPPsSession and that's fails to get. So, screw it, over to the Windows Box.

Same issues. The command I need to run in IPPSSession requires the latest version, but of course I can't get into exchange using the latest version, and the version mismatch is causing it's own set of issues.

WTF??? Anyone else figured out a way around this?

Resolved: So I have to user connect-exchangeonline -device, and then Connect-IPPSSession -UserPrincipalName "user"@yourdomain.onmicrosoft.com -ConnectionUri https://ps.compliance.protection.outlook.com/powershell-liveid/

(SMH). Thanks alll

11 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/badaz06 Apr 23 '26

I have upgraded, removed, cleaned, reinstalled...a few times. Freaking MS.

1

u/BlackV Apr 23 '26 edited Apr 23 '26

I cant test really from your side (On my multiple machines they all work, fresh machine, ps5, no modules installed, existing machine updated to latest module, 3.9.0 to 3.9.2)

but I don't think its MS at fault here

what version of powershell, what version of modules