r/PowerShell • u/Unlikely_Tie1172 MVP, Community Blogger • Sep 17 '26
News Microsoft Starts Twelve-Month Retirement of Windows PowerShell Support for Graph SDK
On September 16, 2026, Microsoft announced a 12-month retirement period for support of PowerShell V5.1 by the Microsoft Graph PowerShell SDK. Microsoft also announced V3 of the Graph SDK and said that the new version will only support PowerShell V7. The transition for most scripts should be straightforward, but attention needs to be paid when scripts use outdated .NET assemblies. Famous last words…
https://office365itpros.com/2026/09/17/microsoft-graph-powershell-sdkv3/
151
Upvotes
67
u/OverOnTheRock Sep 17 '26
But PS 5.1 is still standard on Windows 2025 Server. Does every server have to have a PowerShell upgrade then? Shouldn't Microsoft be first providing PowerShell V7 as standard first?
49
u/rickAUS Sep 17 '26
lol. My old workplace is boned. They couldn't even get stuff cutover to Graph ahead of the deprecation of MSOnline and Azure AD modules. They'll address it when scripts stop working; and they have a lot of scripts to update.
71
u/Euphoric-Blueberry37 Sep 17 '26
RIP ISE, I love you more than VSCode
11
u/dova03 Sep 17 '26
My workplace might be screwed. 😆
8
u/purplemonkeymad Sep 17 '26
Considering how much other stuff is ps7 only this is not that surprising. I now use it as my main shell and have only had a couple of things that required moving back to 5.1. I wonder if those 3rd party modules that use snap-ins might update now? (who am i kidding.)
7
u/icebreaker374 Sep 17 '26 edited Sep 17 '26
EDIT: I'm now more clearly understanding this is just the SDK. If I script against the API directly using Invoke-RestMethod, I really don't have anything to worry about correct?
This should be an interesting change. I don't mind PS7, I also don't mind VSCode, I just fucking HATE VSCode's Intellisense and Tab Completion compared to ISE... I find it's wildly inaccurate and useless all the time (and even slow at times, but mostly in larger scripts.).
13
u/AmitBrian Sep 17 '26
PowerShell 7 is good with me.
6
u/WendoNZ Sep 17 '26
The lack of version number in that title is criminal. Trying to give us all heart attacks!
2
u/quantgorithm Sep 18 '26
Did you know that Microsoft demoted the creator of ps1 because of ps1? He was essentially pushed out and later went to google and is now retired. I’m so thankful for him. His name is Jeffrey Snover.
4
u/cloudAhead Sep 17 '26
It's about time. Without steps like this IT orgs will cling to v5.1. Bring on the downvotes.
7
u/AroTesCra Sep 17 '26
Yeah I migrated my last 2 companies to 7 from 5.1
7 is so much better then 5.
And I started with ise but honestly ISE uses its own console so like ascii color codes would show as plain txt on output.
1
u/tar-xz Sep 18 '26
I kind of expected this to happen at some point, but it'll be interesting to see when they'll also drop support for Powershell 5.1 for things like ExchangeOnlineManagement modules.
With Microsoft.Graph and ExchangeOnlineManagement I had much less issues on 7 than on 5.1 and in one case I ran into a Bug with DKIM Cmdlets on Powershell 5.1 that clearly worked without issues with 7.x (got fixed at some point).
A collegue nevertheless tried to log a case with Microsoft, but later confirmed me that Microsoft support was very reluctant to even confirm the issue even when pointing out the documentation where they it clearly sais that Powershell 5.1 was indeed (still) supported. He eventually moved on th Powershell 7 for Exchange Online related scripting ...
3
u/Modify- Sep 17 '26
If I read it correctly older versions will still be working even after the 12 month period.
As long as the endpoint does not change too much were "safe"
Not to say we won't eventually migrate, but not anytime soon I guess..
2
u/richie65 Sep 17 '26
I recall that there IS a method for creating a 'switch to PoSh 7' option in ISE - under 'Add-Ons'...
I tried it some years ago - But since there's never been a pressing reason for me to actually learn v7, I never actually used that method, per se (other than setting it up, and confirming it worked).
I see that (according to Gemini) that there is a chance that method my have some glitches...
Digressing...
I am not really a fan of VSCode (I know it is an excellent too - I don't mean to seem like I am hating) -
Mostly because I have the color scheme for ISE the way I want it, and configuring it in VSC is much more complicated (manually changing Hex values etc...). Plus, I add the process ID, and if the session is running as admin, to the ISE window title (can't do this in VSC)...
All from within my profile script.
2
u/Particular_Fish_9755 Sep 17 '26
Aha. My workplace is doomed 😂
They don't want to migrate on PS7, and still use MSOnline and Azure AD modules.
2
u/Rincey_nz Sep 17 '26
I started a new job last year, wasn't a lot of automation, so as I started to introduce it, I made myself use ps7 and graph.
A couple of the exchange guys were using msol, got them converted over.
Hate to think what my old job has in front of them
3
u/whatsforsupa Sep 17 '26
It's really frustrating how quickly they have moved on from AzureAD, MSOnline, and now Graph commands.
It's like they're taking on projects, just to take on projects.
1
u/jbrady33 Sep 18 '26
Hey why not, they already hosed all the purview scripts I built
1
u/RedRockRun Oct 12 '26
This keeps popping up for me that it's been connected to my outlook account as an app. I never authorized this. Are they doing this automatically?
1
u/[deleted] Oct 13 '26
[removed] — view removed comment