Project Work Hours
Sat & Sun 6am - 9am
Subscribe via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Are you tired of all the ceremony it entitles to connect to Office 365 (O365) environment via PowerShell?

Then you are in luck, i have been using this for a while just realized not everybody got it this easy, so I am sharing the wealth.

This article covers using a simple script I concocted that will connect you to an Office 365 (O365) environment with as little as a 2 clicks.

O365-Connect

 

Step by step instructions:

  • Download O365-Connect.zip
  • Navigate to C:\Temp\ directory and extract files into C:\Temp\ directory
  • Then you need to edit the O365-Connect.ps1 file to fit your environment variables.

$Username = “<Username for Admin Account for O365>
$SPOAdminSite = “URL for SPO Admin site

  • When you are done editing the information save and close the file.
  • You can now double-click on the ‘O365-Connect’ shortcut to login to your Office 365 environment

 

As always video for visual learners

 

—————————————————————-
One of numerous videos in my Two-Click (2C) series

2C YouTube Playlist: http://www.youtube.com/playlist?list=PLURKD77y7MK9f3vrr7SnQE_1L2QjzdMUM
Other 2C Article: http://hazelnest.com/blog/blog/tag/2c/
Other Office 365 Article: http://hazelnest.com/blog/blog/tag/O365/