MC903785 “Revoke SPOUserSession” retires starting November, 2024
Primary service: SharePoint
ChangePilot summary
- The Revoke-SPOUserSession PowerShell cmdlet will be retired for SharePoint Online.
- Users should transition to the Revoke-MgUserSignInSession cmdlet for enhanced security and ongoing support.
- Organizations relying on Revoke-SPOUserSession need to update their workflows to prevent disruptions.
- Post-retirement, attempts to use Revoke-SPOUserSession will result in an error indicating its deprecation.
- The change is categorized as having an admin impact and represents a retirement of a service.
History
Recorded changes
No changes recorded since ChangePilot first saw this post.
Microsoft message
We will be retiring the Revoke-SPOUserSession PowerShell cmdlet for Microsoft SharePoint Online (SPO), as part of our ongoing efforts to enhance security and streamline scope and permissions for our users. Instead, please use the Revoke-MgUserSignInSession, where we will continue to invest resources.
[When this will happen:]
We will begin rolling this out in early November 2024 and expect to complete by mid-November 2024.
[How this will affect your organization:]
Our telemetry indicates that only a few organizations are active users of the Revoke-SPOUserSession cmdlet for their user management needs. If your organization is currently using this cmdlet, transition to utilizing ‘Revoke-MgUserSignInSession’.
After the retirement, requests using the Revoke SPOUserSession cmdlet will be blocked with an error message similar to:
“This cmdlet has been deprecated and replaced by Microsoft graph cmdlet ‘Revoke-MgUserSignInSession’ as described in: Revoke-MgUserSignInSession
[What you need to do to prepare:]
Please immediately begin transitioning from using the Revoke-SPOUserSession cmdlet. To avoid unexpected impact, also ensure none of your workflows are calling this cmdlet. Instead, please use the Revoke-MgUserSignInSession, <Revoke-MgUserSignInSession> where we will continue to invest resources.
Additional Information:
Revoke user access in Microsoft Entra ID
More information
Details
Services
- SharePoint
Category
- Plan for change
Microsoft tags
- Admin Action
- Retirement