PowerShell for Windows Azure

Posted on 2013-10-07
Medium Priority
Last Modified: 2014-11-12
I have installed Windows Azure and am trying to connect to Office365.  During this exercise I have tried to run the command:
 Connect-MsolService –Credential $O365Cred

which fails telling me that it cannot find Connect-MsolService

So, I went to import the cmdlets:
import-Module MSOnline

 This also fails stating that it cannot find MSOnline.

Any help here would be greatly appreciated.
Question by:Howard Bash
LVL 46

Accepted Solution

Vasil Michev (MVP) earned 1000 total points
ID: 39552659
One of the prerequisites for the module is the Sign-In assistant, make sure you have it installed. Also, the newest versions support Windows 7/2008R2 and above only. More info here:

LVL 40

Assisted Solution

Subsun earned 1000 total points
ID: 39555367
If you are trying to Connect to Exchange Online, then refer the following article.. let us know if you get stuck anywhere..


Featured Post

Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Just after setting up Cloud PBX connectivity and migrated Skype users to SFBO, we noticed inbound calls not working but outbound calls would work.
Seizing the Operation Master Roles in Windows Server 2016 in case of FSMO holder failure.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question