Not able to connect MS office 365 with powershell

sns 9,246 Reputation points
2021-06-11T09:28:05.423+00:00

Not able to connect MS office 365 with PowerShell104742-capture.png. Please see the errors below.
Please help.

Microsoft 365 and Office SharePoint For business Windows
0 comments No comments
{count} votes

Accepted answer
  1. Leon Laude 86,026 Reputation points
    2021-06-11T09:57:16.983+00:00

    Hi @sns ,

    Looks like you're either missing the MSOnline PowerShell module, or it has not been imported.

    Run the following command and check the results:

    Get-Module -ListAvailable -Name MSOnline*  
    

    If the module is available, try importing it as follows:

    Import-Module MSOnline  
    

    If you need to install the PowerShell module, try the following:

    Install-Module MSOnline  
    

    You can also follow this blog post on how to install/import the MSOnline module:
    The term ‘Connect-MsolService’ is not recognized

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Best regards,
    Leon


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.