Comment désactiver les licences M365 en libre service


How to disable self-service M365 licenses

Comme vous le savez ou pas , Microsoft 365 permet à des utilisateurs de tester de nouvelles licences. C’est que l’on appelle les licences AllowSelfServicePurchase. Vous trouverez ce dessous la liste de ces services présents à ce jour.

As you may or may not know, Microsoft 365 allows users to test new licenses. These are known as AllowSelfServicePurchase licenses. Below you’ll find a list of the services currently available.

Power Automate per user
Power Apps per user
Power BI Pro
Project Plan 1, Project Plan 3
Visio Plan 1
Visio Plan 2
Power Automate RPA
Power BI Premium per user
Windows 365 Enterprise, Windows 365 Business
Windows 365 Business with Windows Hybrid Benefit
Viva Learning
Dynamics 365 Marketing, Dynamics 365 Marketing Attach
Microsoft 365 F3
Dynamics 365 Marketing Additional Application, Dynamics 365 Marketing Additional Non-Prod Application
Viva Goals
Power Automate Per User with Attended RPA Plan
Teams Exploratory
Python On Excel
Teams Premium
Purview Discovery
Microsoft ClipChamp
Microsoft 365 Copilot
Teams Essentials

Le fait que les utilisateurs puissent utiliser des licences d’éssais peut être assez contreproductif car ces derniers peuvent commencer à utiliser des fonctions avancées sans que infine, ces fonctions soient acquises par l’entreprise.

The fact that users can use trial licenses can be quite counterproductive, as they can start using advanced functions without these functions ever being acquired by the company.

Désactiver les licences d’essai / Deactivate trial licenses

Pour désactiver les licences d’éssai, vous pouvez le faire assez rapidement en Powershell via le script suivant :

To deactivate trial licenses, you can do so fairly quickly in Powershell using the following script:

Install-Module -Name MSCommerce -Scope CurrentUser
Import-Module -Name MSCommerce
Connect-MSCommerce #log in here
$products = Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase | Where { $_.PolicyValue -eq « Enabled »}
foreach ($p in $products)
{
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId $p.ProductId -Enabled $False
}

Note : Pour faire cela il vous faudra avoir les droits d’admin du tenant / Note: To do this, you’ll need to have admin rights to the tenant.

Laurent TERUIN | MVP | https://workingtogether.fun/ | @workingtogether.bsky.social |contact@workingtogether.fun

Laisser un commentaire