Azure AD PowerShell Archives - Practical 365 Practical Office 365 News, Tips, and Tutorials Mon, 31 Jul 2023 14:36:54 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.2 https://practical365.com/wp-content/uploads/2022/06/favicon.png Azure AD PowerShell Archives - Practical 365 32 32 Microsoft Extends Retirement Date for Azure AD and MSOL License Assignment Cmdlets https://practical365.com/azure-ad-license-management-extension/ https://practical365.com/azure-ad-license-management-extension/#comments Mon, 01 Aug 2022 15:28:33 +0000 https://practical365.com/?p=56936 Microsoft has extended the deprecation date for the Azure AD license management cmdlets to March 31, 2023. After that time, the cmdlets won't work. The strong recommendation is to replace all the old Azure AD and MSOL license management cmdlets in scripts with Microsoft Graph PowerShell SDK cmdlets or Graph API requests. You have an extra 7 months to do the job, do there's no excuse!

The post Microsoft Extends Retirement Date for Azure AD and MSOL License Assignment Cmdlets appeared first on Practical 365.

]]>
https://practical365.com/azure-ad-license-management-extension/feed/ 7
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
Upgrading PowerShell Scripts with Azure AD Cmdlets to Use Graph API Calls https://practical365.com/upgrade-azuread-ps-scripts-graph/ https://practical365.com/upgrade-azuread-ps-scripts-graph/#respond Wed, 07 Jul 2021 05:18:00 +0000 https://practical365.com/?p=52601 Microsoft has announced that they won't support the Azure AD Graph after June 30, 2022. This means that the Azure AD PowerShell module won't be supported either. With that in mind, it's probably a good idea to think about how to upgrade scripts to use Graph API calls instead of Azure AD cmdlets. In this article, we take a script created to count members in distribution lists and convert it to use the Graph. As it turns out, the Graph bit is easy. It's all the housekeeping beforehand that takes the time.

The post Upgrading PowerShell Scripts with Azure AD Cmdlets to Use Graph API Calls appeared first on Practical 365.

]]>
https://practical365.com/upgrade-azuread-ps-scripts-graph/feed/ 0