Microsoft SharePoint: “Revoke SPOUserSession” retires starting November, 2024 [MC903785]

Message ID: MC903785

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

Source: Microsoft

Latest Posts

Share This Update