How to connect to Exchange Online using PowerShell (EXO V2) |

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • 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:
    www.powershell...
    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

Комментарии • 16

  • @IlArnaxlI
    @IlArnaxlI 7 месяцев назад +1

    Very helpful and thanks for including execution policy.

  • @simonboyes2550
    @simonboyes2550 2 года назад +2

    Great video - the only thing I did not need was the -UserPrincipalName addition...........Connect-ExchangeOnline alone was sufficient

  • @figureitoutpunk
    @figureitoutpunk Год назад +1

    Fantastic video. Definitely do more powershell content, clear, concise and effective to the point. Thank you.

  • @ComsicQuestGG
    @ComsicQuestGG Год назад +1

    Thank you so much you just saved me literal hours of work. Now to export a distro members list... yay for me.

  • @bhanusv4256
    @bhanusv4256 2 года назад +2

    this video was spot on and very helpful. Thank you!

  • @hardikak
    @hardikak Год назад +1

    Very helpful, thanks for the video!

  • @stanleyngugi1675
    @stanleyngugi1675 2 года назад +1

    Very informative, thank you.!

  • @wendelljones513
    @wendelljones513 Год назад +1

    Very helpful video. Thank you

  • @Dzflaree
    @Dzflaree 10 месяцев назад

    so clean and simple AND handsome

  • @neftalirivera1969
    @neftalirivera1969 Год назад +1

    excelenttt!!!! thank you

  • @thbadmin7751
    @thbadmin7751 2 года назад +1

    Thank you!

  • @richardreyespacheco1454
    @richardreyespacheco1454 Год назад +1

    after running the command connect-exchange online and using the credentials of the global admin it shows up an error sayng that the connection failed with the following error message: Bad Request

    • @TechTripChannel
      @TechTripChannel  Год назад

      Hi,
      Make sure the RemotePowerShellEnabled parameter value is set to True.

  • @JoshuaDay0550
    @JoshuaDay0550 2 года назад

    did this and got an error that no match was found.

    • @TechTripChannel
      @TechTripChannel  2 года назад +1

      Hi,
      Please send me a screenshot to oshin@techtrip.org
      I can take a look at it.

  • @luise3943
    @luise3943 2 года назад

    wow, that's pretty! Find out how your competition ranks better - Promo'SM !!!