Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, April 3, 2017 11:45 AM | 1 vote
Receiving this error:
PS /Users/ralph> connect-msolservice
connect-msolservice : The term 'connect-msolservice' is not recognized as the n
ame of a cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is correct and tr
y again.
At line:1 char:1
+ connect-msolservice
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (connect-msolservice:String) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
All replies (4)
Tuesday, April 4, 2017 5:59 AM
Hi Ralph,
This issue can occur if the Azure Active Directory Module for Windows PowerShell isn't loaded correctly.
Try to install the Azure Active Directory Module for Windows PowerShell on the computer (if it isn't already installed) via the following Microsoft website:
Manage Azure AD using Windows PowerShell
More reference:
Regards,
Ethan Hua
Please remember to mark the replies as answers if they helped.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, April 11, 2017 9:19 AM
Hi Ralph,
How is it going? Please feel free to let us know if you need further assistance on this.
Regards,
Ethan Hua
Please remember to mark the replies as answers if they helped.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Thursday, April 20, 2017 8:03 PM | 2 votes
Ethan,
Ralph is referring to connecting to Office 365 through Powershell on Mac. You are posting links for a Windows machine. Powershell was introduced on Mac 8 months ago, and supposed to be able to run the same CMDlets as Windows powershell, but that doesn't seem to be working. Any idea when the CMDlets to connect to Office 365 will be available?
https://blogs.msdn.microsoft.com/luisdem/2016/08/21/powershell-on-linux-and-mac/
Wednesday, February 27, 2019 9:03 AM
Hi Ethan,
is it possible to use Connect-MsolService in PowerShell on macOS?
Regards,
Andreas