r/PowerShell • MVP, Community Blogger • 2d ago

News Microsoft Graph PowerShell SDK V2.42 and EXO PowerShell Clash (again)

Microsoft Graph #PowerShell SDK V2.42 (released today) and Exchange Online PowerShell 3.11.1 have yet another module clash. This is getting boring. Microsoft really needs to wake up and make sure that its #Microsoft365 modules work together flawlessly. Details at https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3576

40 Upvotes

11 comments sorted by

5

u/Unlikely_Tie1172 MVP, Community Blogger 2d ago

I should have added that the Graph SDK folks are working to create V3.0, which will drop formal support for Windows PowerShell 5.1 to concentrate on PowerShell 7. However, that's no reason to push out a point release for the SDK today without making sure that the SDK works with the other important Microsoft 365 modules.

5

u/Sekers 2d ago

I agree. That said, for the longest time I went WAY out of my way to make sure my scripts and modules were compatible with both Core and Desktop. Now, everything new is moving towards me testing on Core only and I've even dropped 5.1 support from two of my projects already.

2

u/Unlikely_Tie1172 MVP, Community Blogger 2d ago

Sounds like the right approach, especially now that PowerShell 7 will be part of Windows as a replacement for 5.1.

3

u/BlackV 2d ago edited 2d ago

Microsoft Graph #PowerShell SDK V2.42 (released today) and Exchange Online PowerShell 3.11.1 have yet another module clash.

Shocked I tell you, shocked to my core.....

My expectations from a few months back

SDK folks are working to create V3.0, which will drop formal support for Windows PowerShell 5.1 to concentrate on PowerShell 7

This is nice I think

And As always

USE VERSION PINNING

2

u/Unlikely_Tie1172 MVP, Community Blogger 2d ago

That's certainly a good tactic for production environments where you exert some control. However, in the development space where Microsoft has all the control across multiple modules developed by multiple teams, don't you think that a modicum of coordination and professional pride would make them want to ensure that everything works together? That's what I cannot understand about the succession of similar problems seen over the last 18 months.

2

u/BlackV 2d ago

You would think so, in fairness it's different teams with different schedules and different complexity, it's still dumb and it's still painful for us the end user

I can't wait for the shenanigans that happen when they move to PowerShell 7........

4

u/Unlikely_Tie1172 MVP, Community Blogger 2d ago

In fairness, I would have understood had one instance occurred. But not a long running series of screwed up releases, especially when I know that the responsible individuals are aware of the problem.

1

u/KevMar Community Blogger 19h ago

Every time I skip version pinning, I eventually end up with all my versions pinned. I think it isn't worth the hassle and I'm usually wrong more than I'm right.

2

u/BlackV 16h ago

I feel you, I really do, I have been bitten

2

u/lan-shark 2d ago

Seems like it works on 7.7.0. Strange

3

u/Unlikely_Tie1172 MVP, Community Blogger 2d ago

It does work with 7.7.0. All explained in the GitHub report.