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

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
- 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/
- Microsoft Graph PowerShell tutorial – https://knowledge-junction.in/category/technology-articles/m365/microsoft-graph/microsoft-graph-powershell/
- Revoke user access in Microsoft Entra ID – https://learn.microsoft.com/en-us/entra/identity/users/users-revoke-access
Thanks for reading ! Stay tuned for more Microsoft 365 updates. If not subscribe, please subscribe 🙂
HAPPY LEARNING 🙂 HAPPY SHARING 🙂 LIFE IS BEAUTIFUL 🙂
