Article ID: 2494043 - View products that this article applies to.
When you try to use the connect-MSOLService cmdlet in the Windows Azure Active Directory Module for Windows PowerShell to connect to a Microsoft cloud service such as Office 365, Windows Azure, or Windows Intune, your attempt is unsuccessful. Instead, you receive one of the following error messages:
Connect-MsolService : Exception of type 'Microsoft.Online.Administration.Automation.MicrosoftOnlineException' was thrown.
Connect-MsolService : Access Denied. You do not have permissions to call this cmdlet.
Connect-MsolService : The user name or password is incorrect. Verify your user name, and then type your password again.
To resolve this issue, use one of the following Microsoft Base Knowledge Base articles, as appropriate for your situation:
For more information about Windows Azure Active Directory Module for Windows PowerShell, see Manage Windows Azure Active Directory by using Windows PowerShell
Still need help? Go to the Office 365 Community
(http://community.office365.com/)website or the Windows Azure Active Directory Forums
Article ID: 2494043 - Last Review: November 13, 2013 - Revision: 35.0