Set-MgUserLicense Archives - Practical 365 Practical Office 365 News, Tips, and Tutorials Thu, 12 Oct 2023 19:57:20 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.2 https://practical365.com/wp-content/uploads/2022/06/favicon.png Set-MgUserLicense Archives - Practical 365 32 32 Bulk License Assignment with the Microsoft Graph PowerShell SDK https://practical365.com/bulk-license-assignment-with-the-microsoft-graph-powershell-sdk/ https://practical365.com/bulk-license-assignment-with-the-microsoft-graph-powershell-sdk/#comments Mon, 04 Sep 2023 10:00:00 +0000 https://practical365.com/?p=59002 A reader asked how to use a CSV file for bulk license assignment with the Microsoft Graph PowerShell SDK. We didn't have one to hand, so we wrote a new script to illustrate the principles of how to process license assignments for a set of user accounts (which don't necessarily have to come from a CSV file). We even included some error handling!

The post Bulk License Assignment with the Microsoft Graph PowerShell SDK appeared first on Practical 365.

]]>
https://practical365.com/bulk-license-assignment-with-the-microsoft-graph-powershell-sdk/feed/ 12
Alas Kaizala, All is Lost https://practical365.com/kaizala-retirement-2023/ https://practical365.com/kaizala-retirement-2023/#respond Tue, 30 Aug 2022 10:00:00 +0000 https://practical365.com/?p=57092 On August 26, Microsoft announced that they will retire Kaizala in August 2023. The Kaizala retirement is not big news because it's been coming for a while. If you want to get ahead of the game, you can remove the Kaizala service plans from the Office 365 licenses assigned to user accounts. We explain how to do the job in an example PowerShell script.

The post Alas Kaizala, All is Lost appeared first on Practical 365.

]]>
https://practical365.com/kaizala-retirement-2023/feed/ 0
Creating New Microsoft 365 Accounts with PowerShell https://practical365.com/create-new-microsoft-365-account-powershell/ https://practical365.com/create-new-microsoft-365-account-powershell/#comments Mon, 21 Mar 2022 17:11:00 +0000 https://practical365.com/?p=55597 It's common to find a requirement to create new Microsoft 365 accounts with PowerShell. We're at a point of transition when the old method of using the Azure AD module will switch to the Microsoft Graph PowerShell SDK or Graph API queries. In this article, we explain how to create new accounts and assign licenses with both the Azure AD module and the Microsoft Graph PowerShell SDK.

The post Creating New Microsoft 365 Accounts with PowerShell appeared first on Practical 365.

]]>
https://practical365.com/create-new-microsoft-365-account-powershell/feed/ 3
Microsoft Forces Move from Azure AD Cmdlets for License Management https://practical365.com/microsoft-forces-move-from-azure-ad-cmdlets-for-license-management/ https://practical365.com/microsoft-forces-move-from-azure-ad-cmdlets-for-license-management/#comments Thu, 09 Sep 2021 05:22:00 +0000 https://practical365.com/?p=53319 On June 30, 2022, Azure AD and Microsoft Online Services cmdlets will stop working for license management. The result is that you need to upgrade PowerShell scripts which use these cmdlets. The choice is to use Graph API calls or cmdlets from the Microsoft Graph PowerShell SDK. In this article, we explore the steps necessary to upgrade a script to remove service plans from an Office 365 license (SKU).

The post Microsoft Forces Move from Azure AD Cmdlets for License Management appeared first on Practical 365.

]]>
https://practical365.com/microsoft-forces-move-from-azure-ad-cmdlets-for-license-management/feed/ 9