Connecting Office 365 via PowerShell

Hi Readers,

This is my second article in the Office 365 category, In the last article we connected Exchange Online but We want to connect Office 365 as well with Powershell, This article is all about it.

Prerequisites:

Install Microsoft Online Services Sign-In Assistant for IT Professionals 32 bit/64 bit both are available when you will browse the link.

Install Microsoft Online Services Module for Windows PowerShell 32 bit/64 bit both are available when you will browse the link.

After both above have been installed on your machine just launch PowerShell

Import-Module MSOnline

Capture

Connect-Msolservice

Capture

Now you can Use Office 365 Commands 🙂

Example Screen Shots:-

Capture

 

Capture

You can explore more shell commands by using Get-Command.

Tech Wizard

https://techwizard.cloud

https://syscloudpro.com/

 

 

 

 

Advertisement

11 thoughts on “Connecting Office 365 via PowerShell

  1. Pingback: Office 365 Users Service Usage Report | Microsoft Technologies Blog

  2. Pingback: office 365 License Report by Email | Microsoft Technologies Blog

  3. Pingback: Avoid Users from Signing Up for Office 365 Services Trials | Microsoft Technologies Blog

  4. Pingback: Office 365 TIP – Extract Direct vs Inherited License | Tech Wizard

  5. Pingback: Avoid Users from Signing Up for Office 365 Services Trials | Tech Wizard

  6. Pingback: Enable o365 Services – input users via text file | Tech Wizard

  7. Pingback: Assign Office 365 Admin Roles in Bulk via Text File Input | Tech Wizard

  8. Pingback: Extract office 365 Role Admins | Tech Wizard

  9. Pingback: office 365 License Report by Email | Tech Wizard

  10. Pingback: Office 365 Users Service Usage Report | Tech Wizard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s