Try using this to connect Connect-ExchangeOnline -Credential $Credential -UseRPSSession . When you don't use the -UseRPSession flag you only get access to the REST cmdlets which export is not a part of.
The command 'Export-QuarantineMessage' does not work
benroz
1
Reputation point
Hello friends,
I am trying to get the eml file of a message via Exchange online commands but I got timeout every time I tried,
also I tried on a different messages but again got time out every time.
$eml = Export-QuarantineMessage -Identity <Message_Identity>
this command works perfectly before a month but in the last two weeks is not.
notice1: I tried to run this on two different exchange account also nothing works...
notice2: I working with macOS pwsh.
please I would like to your help guys,
thanks
Exchange Online
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Exchange | Exchange Server | Management
Exchange | Exchange Server | Management
The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
1 answer
Sort by: Most helpful
-
Ken Ward 1 Reputation point
2023-01-09T15:08:48.147+00:00