Anyone know how to remove Viva Engage as the MS KB article is out of date

Tony Brisciani 0 Reputation points
2025-03-12T00:17:00.9866667+00:00

I need to remove the access to Yammer/Viva Engage on our tennant.

I found various PS scripts and this KB article.

https://learn.microsoft.com/en-us/viva/engage/manage-engage-licenses-microsoft-365

In typical MS fashion they've made changes and "new looks" for this area and changes to the PS commands, so the KB article is no longer valid and the code on the page is no long working as Set-MsolUserLicense is now a dead command. (https://answers.microsoft.com/en-us/msoffice/forum/all/why-set-msoluserlicense-is-no-longer-working/9e10ddbe-0990-4bb8-ba42-0e4d854de0d3)

Is there any other ways? I have also tried removing users via the admin center but they can still access Viva Engage after this is done.

Thanks in advance

Microsoft 365 App Publishing
Microsoft 365 App Publishing
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.App Publishing: The process for app developers to prepare, validate, submit, monetize, release, update, drive adoption, distribute, and maintain their app.
34 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 115.2K Reputation points MVP
    2025-03-12T08:24:40.9233333+00:00

    Microsoft is in the process of deprecating the MSOnline module and they are yet to update all the affected documentation, as you have noted above. You can of course remove licenses via the UI, but that's only feasible for small tenants. If you want an automated approach, PowerShell remains the best option. Tony has a good script on doing just that here: https://office365itpros.com/2024/04/23/remove-service-plan-powershell-2/

    As for the latter part of your questions, removing the license is just a part of the solution. You must also configure the Yammer/Engage settings to block users without license. This is done on a per-network basis, you need to access the Network admin settings > Security settings > toggle the Block Office 365 users without Yammer licenses checkbox under Office 365 Identity enforcement.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.