To very you are connected you can run this command. You should now be connected to Exchange Online. If you have MFA enabled it will automatically prompt you to approve the authentication request. When you run the command you will get prompted to authenticate. This command uses modern authentication and works for MFA or non enable MFA accounts. Use the command below to connect to exchange online. Now that the module is installed we can move forward with connecting to Exchange Online. Get-Module -ListAvailable Step 2: Connect to Exchange Online with PowerShell This command will list all the installed modules on your computer. To verify the module is installed run this command. This will install from the PSGallery Install-Module -Name ExchangeOnlineManagement To manage exchange online with PowerShell you need to install the Exchange Online V2 Module. Step 1: Install Exchange Online PowerShell Module I will also show you some useful commands for getting mailbox details and reports. These steps will work MFA or non enable MFA accounts. In this guide, you will learn how to connect to exchange online with PowerShell.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |