Microsoft 365 – Microsoft SharePoint: Major Update – “Remove-SPOExternalUser” retires starting July 29, 2024

Hi All,
Greetings for the day !
Today I am sharing one more MAJOR UPDATE related to SharePoint and PowerShell.
MAJOR UPDATE : The “Remove-SPOExternalUser“ PowerShell cmdlet for SharePoint Online will retire on July 29, 2024.
Details
- The “Remove-SPOExternalUser” PowerShell cmdlet for SharePoint Online will retire on July 29, 2024.
- We need to transition to the “Remove-AzureADUser” cmdlet and update our workflows to avoid disruption.
- Starting July 29, 2024, and ending August 9, 2024, Microsoft will be retiring the Remove-SPOExternalUser PowerShell cmdlet for Microsoft SharePoint Online (SPO) users.
- After the retirement, requests using the Remove-SPOExternalUser cmdlet will be blocked with an error message below.
To streamline scope and permissions for external users, enhance access management, and strengthen our security posture, this cmdlet has been deprecated. Alternatively, please use the Remove-MgUser cmdlet in Microsoft Graph PowerShell for user management.
Action needs to be taken
- We need to begin immediately transitioning from using the Remove-SPOExternalUser cmdlet.
- To avoid unexpected impact, also ensure none of our workflows are calling this cmdlet.
- Use the Remove-MgUser
cmdlet.- We have very good series of articles on Microsoft Graph PowerShell, please have a look once – https://knowledge-junction.in/category/technology-articles/m365/microsoft-graph/microsoft-graph-powershell/
REFERENCES
- Remove-MgUser – https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.users/remove-mguser?view=graph-powershell-1.0
- Remove-AzureADUser – https://learn.microsoft.com/en-us/powershell/module/azuread/remove-azureaduser?view=azureadps-2.0
- Microsoft PowerShell Graph APIs – https://knowledge-junction.in/category/technology-articles/m365/microsoft-graph/microsoft-graph-powershell/
Thanks for reading!
Stay tuned for all Microsoft 365 updates.
If you like this article please share and subscribe to Knowledge-Junction.
Have a wonderful learning . LIFE IS BEAUTIFUL 🙂
