This is the newer v2 PowerShell module referred to as AzureAD. Azure Active Directory PowerShell for Graph – This module is the newer v2 module containing all of the *-AzureAD* cmdlets for managing Azure AD.This is the older v1 PowerShell module referred to as MSOnline. Microsoft Azure Active Directory Module for Windows PowerShell – This module contains the original set of *-Msol* cmdlets for managing Azure AD.The following core modules are needed for managing any underlying Azure AD accounts or tenant components: Yet, as mentioned earlier not all of these services operate identically and there are even some overlapping modules used for accessing the core Office 365 service Also by leveraging Modern Authentication each of these modules utilize the same approach for providing administrative credentials for access. The newer PowerShell Gallery is now used to store and distribute various modules making installation and updates of future module version much easier. One is the creation of a central repository for PowerShell resources and the other is the inclusion of Modern Authentication. Of the more recent changes which improve upon and simplify the overall management experiences there are two primary concepts worth calling out. To access Exchange Online and/or the Office 365 Security & Compliance Center a completely different approach was used than the rest of the PowerShell modules used for managing services to Azure Active Directory (Azure AD), Skype for Business Online, or Teams. While most are updated to use basically the same process there are a few outliers. Now though, most of the various services in Office 365 are easier to connect to via PowerShell for management purposes, but they are still not all using the same methodology and installation processes. There even use to be a separate download required simply to authenticate into Office 365 first using the original Organizational ID (Org ID) online authentication model. The older approaches utilized the original requirements of manually downloading and installing several different PowerShell modules via traditional Windows Installer packages which were created for connecting to services like Lync Online and Exchange Online. They range from examples like an older blog post written specifically for Lync Online to new, updated guidance from Microsoft on how to access multiple services in a single console. There are several different articles available providing guidance for connecting to the various Microsoft Office 365 Online services via PowerShell. Covered are a host of one-time installation steps needed to prepare a single workstation with the requisite software as well as the individual PowerShell cmdlets repeatedly used to invoke access to each service when management processes need to be run.īefore jumping into how to connect a single PowerShell window to all of these UC-related services online it is important to understand the different services and what has changed over the years in terms of PowerShell behavior. This article is intended to share a streamlined approach for managing Office 365 services via PowerShell which are pertinent to the Microsoft UC platform, namely Exchange Online, Skype for Business Online, and Microsoft Teams.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |