Microsoft SharePoint: “Revoke SPOUserSession” retires starting November, 2024
From Microsoft 365 Message Center Archive by Merill Fernando · Microsoft may not have sent this notice to your tenant.What the notice says
Microsoft’s text, safely structuredWe 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:
What changed
Between archive captures, newest firstThe archive supplies one version of this notice.
Learn more
Links from the notice and their documentation checks- Revoke-MgUserSignInSessionNot read yet
- Revoke user access in Microsoft Entra IDNot read yet
Related public changes
No related announcements were found in the saved public history. Check the source for newer announcements.
Not confirmed here
What this page cannot tell you- Whether your tenant is affected: this is Microsoft's notice, not a check of your settings.
- 2 linked pages have not been read yet.