This topic contains 3 replies, has 3 voices, and was last updated by
December 1, 2016 at 1:50 pm #59128ParticipantTopics: 4Replies: 4Points: 0Rank: Member
I am in the process of creating an automated script which will connect me to O365 PowerShell. I am relatively new to PowerShell but I have created my profile with the help of Microsoft Virtual Academy.
The first part of the .ps1 file is Function Connect-EXOnline. When I run this command I return an error 'the term 'connect-msonline' is not recognized as the name of a cmdlet' however, this works in the video I've been watching.
I am running Windows 10 update 1511 which should contain the WM 5.0 package and the latest cmdlets but I can't seem to get it working.
Has anyone else experienced this at all?
December 1, 2016 at 2:25 pm #59130ParticipantTopics: 1Replies: 92Points: 2Rank: Member
This requires that the MSOnline module is installed on your computer. There is a wiki here describing the different versions of the module:
And here is an article describing the "preview" versions of the module:
I recommend v188.8.131.52 as this is what I use and it is very stable.
December 1, 2016 at 3:54 pm #59143ParticipantTopics: 0Replies: 61Points: -11Rank: Member
Connecting to Exchange Online: https://technet.microsoft.com/en-us/library/jj984289(v=exchg.160).aspx
December 2, 2016 at 8:14 am #59220ParticipantTopics: 4Replies: 4Points: 0Rank: Member
Your suggestions worked a treat and I can now use Connect-EXOnline.
Thanks for your help.
The topic ‘Connect-EXOnline’ is closed to new replies.