Robuta

https://learn.microsoft.com/zh-tw/powershell/module/microsoft.graph.users.actions/set-mguserlicense?view=graph-powershell-1.0 Set-MgUserLicense (Microsoft.Graph.Users.Actions) | Microsoft Learn Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization... microsoft graphsetusersactionslearn