Select the product you need help with
How to troubleshoot Windows PowerShell issues that affect Exchange Online for Office 365Article ID: 2570535 - View products that this article applies to. Not sure what release of Office 365 you're using? Go to the following Microsoft website: Am I using Office 365 after the service upgrade?
(http://office.microsoft.com/redir/HA103982331.aspx)
On This PageINTRODUCTIONThis article describes how to troubleshoot Windows PowerShell issues that affect Microsoft Exchange Online for Microsoft Office 365. PROCEDUREWindows PowerShell is a command-line interface that's used to run administrative commands on Windows operating systems and server products. Windows PowerShell 2.0 includes Remote Windows PowerShell functionality. Remote Windows PowerShell lets users run Windows PowerShell cmdlets on other computers or web services. This functionality relies on the Windows Remote Management service to connect to web services and to download the available cmdlets based on the user who is currently logged in. Office 365 lets admins connect to Exchange Online by using Exchange Online Remote PowerShell. To connect to Exchange Online, you must have the following tools:
968929 For more information about how to connect to Exchange Online by using Windows PowerShell, go to the following Microsoft website:
(http://support.microsoft.com/kb/968929/
)
Windows Management Framework (Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0)Connect Windows PowerShell to the Service
(http://help.outlook.com/en-us/140/cc952755.aspx)
Troubleshoot the Windows PowerShell connection to Exchange OnlineIssue: You receive a "The WinRM client cannot process the request because the server name cannot be resolved" error messageWhen the local computer is denied access to ps.outlook.com, you may receive the following error message:[ps.outlook.com] Connecting to remote server failed with the following error message : The "WinRM client cannot process the request because the server name cannot be resolved. For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) []. PSRemotingTransportException + FullyQualifiedErrorId : PSSessionOpenedFailed To determine whether the Windows Remote Management service is installed and has started, follow these steps:
Issue: You receive an "Access is denied" error messageYou receive the following error message if an incorrect user name or password is entered or if the user tries to sign in to the service by using an account that doesn't have access to Exchange Online:[ps.outlook.com] Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) []. PSRemotingTransportException + FullyQualifiedErrorId : PSSessionOpenedFailed Import-PSSession : Cannot validate argument on parameter 'Session'. The argument is null. Supply a non-null argument and try the command again. At D:\Users\Connect.ps1:7 char:21 + Import-PSSession < < < < $Session + CategoryInfo : Invalid Data: (:) [Import-PSSession], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.ImportPSSessionCommand To resolve this issue, add the user as a member of the administrator role group. To do this, use one of the following methods: Use Exchange Admin Center in Office 365 To add a user by using the Exchange Admin Center in Office 365, follow these steps:
To add a user by using the Exchange Control Panel in Office 365 pre-upgrade, follow the steps that are described in the following article: Add or Remove Role Group Members
(http://help.outlook.com/en-us/beta/Ee441201.aspx?sl=1)
Still need help? Go to the Office 365 Community
(http://community.office365.com/)
website.PropertiesArticle ID: 2570535 - Last Review: May 15, 2013 - Revision: 9.0 Applies to
| Article Translations
|


Back to the top








