filmov
tv
How to connect to Exchange Online using PowerShell (EXO V2) | #PowerShell #ExchangeOnline #Microsoft
Показать описание
Hi everyone,
This video will show how to connect to Exchange Online using modern authentication and it works with or without multi-factor authentication (MFA).
I’m going to use the Exchange Online PowerShell V2 module ( abbreviated as the EXO v2). You can download the EXO V2 module from PowerShell Gallery
You can connect to all Exchange Related PowerShell environments in Microsoft 365 such as Exchange Online PowerShell, Security & Compliance PowerShell, and Standalone Exchange Online Protection (EOP).
PowerShell Gallery:
Copy and Paste the following command to install this module:
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5
Step1:
Import-Module ExchangeOnlineManagement
Step2:
Connect-ExchangeOnline -UserPrincipalName
How to get UserPrincipalName (UPN):
Method 1: Use the Office 365 portal.
Sign in to the Office 365 portal as a global admin.
Go to the user's management page.
Find and then select the user.
Note the user name, which is the UPN.
Method 2: Use the Azure portal.
Sign in to the Azure portal as a global admin.
Select the Active Directory extension, and then select your directory.
Go to the user's management page.
Find and then select the user.
Note the user name, which is the UPN.
#powershell #microsoft #techtripchannel #office365 #microsoftexcelonline
This video will show how to connect to Exchange Online using modern authentication and it works with or without multi-factor authentication (MFA).
I’m going to use the Exchange Online PowerShell V2 module ( abbreviated as the EXO v2). You can download the EXO V2 module from PowerShell Gallery
You can connect to all Exchange Related PowerShell environments in Microsoft 365 such as Exchange Online PowerShell, Security & Compliance PowerShell, and Standalone Exchange Online Protection (EOP).
PowerShell Gallery:
Copy and Paste the following command to install this module:
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5
Step1:
Import-Module ExchangeOnlineManagement
Step2:
Connect-ExchangeOnline -UserPrincipalName
How to get UserPrincipalName (UPN):
Method 1: Use the Office 365 portal.
Sign in to the Office 365 portal as a global admin.
Go to the user's management page.
Find and then select the user.
Note the user name, which is the UPN.
Method 2: Use the Azure portal.
Sign in to the Azure portal as a global admin.
Select the Active Directory extension, and then select your directory.
Go to the user's management page.
Find and then select the user.
Note the user name, which is the UPN.
#powershell #microsoft #techtripchannel #office365 #microsoftexcelonline
Комментарии