Share via

Powershell command Connect-ExchangeOnline failed

Anonymous
2024-09-18T13:53:50+00:00

Hi,

I am trying to get space used by mailboxes of users in exchange.

I tried to connect to Exchange Online using powershel command Connect-ExchangeOnline.

I failed with message :

New-ExoPSSession : La connexion au serveur distant outlook.office365.com a échoué avec le message d’erreur suivant: Le client WinRM a reçu un statut d’erreur du serveur HTTP (500), mais le service distant n’a pas inclus

d’autres informations sur la cause de l’échec. Pour plust d'informations, voir la rubrique d'aide about_Remote_Troubleshooting.

Au caractère C:\Users\guytr\OneDrive\EspaceSingulier\Sauvegardes\Documents\WindowsPowerShell\Modules\ExchangeOnlineManagement\2.0.5\netFramework\ExchangeOnlineManagement.psm1:475 : 30

+ ... PSSession = New-ExoPSSession -ExchangeEnvironmentName $ExchangeEnviro ...

+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo          : ResourceUnavailable: (:) [New-ExoPSSession], PSRemotingTransportException

+ FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.Exchange.Management.ExoPowershellSnapin.NewExoPSSession

Opened a support ticket, but they couldn't solve the problem.

It seems to be a Windows , or account problem.

Has anyone encountered the same problem and/or have a solution to offer me ?

Thanking you in advance.

Windows for home | Windows 11 | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-09-18T17:26:37+00:00

    Hi Guy,

    Thank you for reaching out to the Microsoft Community , I'm kishen an Independent Advisor and a Microsoft user like you.

    I'll be glad to assist you today. As this is not a live chat, Kindly expect some delay in response.

    Sorry, the Microsoft Community is a forum for home users. Due to the scope of your question, I suggest you access the link below, which will direct you to the Microsoft Q&A IT Pro forum.

    https://learn.microsoft.com/en-us/answers/quest...

    Microsoft Q&A has IT Pros and system administrators who can best help with this question.

    You may also try this question on StackOverflow.

    https://stackoverflow.com/

    Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    NOTE: The page is in English. Use your browser's automatic translator to translate the page.

    Regards,

    Kishen :)

    Was this answer helpful?

    0 comments No comments