MAJOR UPDATE – Microsoft 365 – Microsoft SharePoint: “Revoke SPOUserSession” retires starting November 2024 – Time to take action

Microsoft Graph PowerShell - Exploring PowerShell - "Revoke-MgUserSignInSession"
Microsoft Graph PowerShell - Exploring PowerShell - "Revoke-MgUserSignInSession"

Hi All,

Greetings for the day!!!

Today, sharing Major Update related to SharePoint PowerShell cmdlet.

Major Update : Microsoft SharePoint: “Revoke SPOUserSession” retires starting November, 2024

Details:

  • The Revoke-SPOUserSession cmdlet for SharePoint Online is retiring in November 2024.
  • We should transition to using Revoke-MgUserSignInSession.
  • After retirement, attempts to use the old cmdlet will result in an error directing to the new cmdlet.
  • Error message will be like as below

This cmdlet has been deprecated and replaced by Microsoft graph cmdlet ‘Revoke-MgUserSignInSession’ as described in: Revoke-MgUserSignInSession

  • We also need to make sure none of our workflows / script calling this CMDLET.

Timeline for this update: The rollout starts early November and finishes by mid-November. 

We have detailed article on Revoke-MgUserSignInSession. Microsoft 365 : PowerShell – Microsoft Graph PowerShell tutorial – Part 8 – Exploring CMDLET – Revoke-MgUserSignInSession – https://knowledge-junction.in/2024/10/20/m365-ps-mg-ps-revoke-mgusersigninsession/

Few scenarios where we need to revoke user access

  • For compromised accounts
  • Employee termination
  • Users device is stolen where he/she is logged in

REFERENCES

Thanks for reading ! Stay tuned for more Microsoft 365 updates. If not subscribe, please subscribe 🙂

HAPPY LEARNING 🙂 HAPPY SHARING 🙂 LIFE IS BEAUTIFUL 🙂

Prasham Sabadra

LIFE IS VERY BEAUTIFUL. ENJOY THE WHOLE JOURNEY :) Founder of Microsoft 365 Junction, Speaker, Author, Learner, Developer, Passionate Techie. Certified Professional Workshop Facilitator / Public Speaker. Believe in knowledge sharing. Around 20+ years of total IT experience and 17+ years of experience in SharePoint and Microsoft 365 services Please feel free me to contact for any SharePoint / Microsoft 365 queries. I am also very much interested in behavioral (life changing) sessions like motivational speeches, Success, Goal Setting, About Life, How to live Life etc. My book - Microsoft 365 Power Shell hand book for Administrators and Beginners and 100 Power Shell Interview Questions - https://www.amazon.in/Microsoft-Administrators-Beginners-Interview-Questions/dp/9394901639/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1679029081&sr=8-11

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.