Is SerializationData dead?

Nikita Krivets 481 Reputation points
2021-05-18T13:14:11.337+00:00

Hello,

I use Powershell to connect to Exchange Online services with New-PsSession cmdlet to https://outlook.office365.com/powerShell-liveID?SerializationLevel=Full.
The connection works just fine. After that, I use the "Get-Mailbox" cmdlet.

And right now the "SerializationData" property I had access to a few days ago is missing.

So, is it a designed behavior that the "SerializationLevel=Full" doesn't work as expected? What has happened with SerializationData?

Thanks in advance!

PS: @Vasil Michev , Could you please share any information if you have one?

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,211 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,668 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 96,161 Reputation points MVP
    2021-05-18T17:17:12.57+00:00

    No idea, sorry. I know I've previously seen it being returned with a "regular" session (without defining a serializationlevel), but they fixed that. And I'm not really sure whether it's actually supported for ExO.

    1 person found this answer helpful.

  2. Eric Yin-MSFT 4,386 Reputation points
    2021-05-19T07:53:46.297+00:00

    Hi,
    If you mean modifying the default command to:

    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid?SerializationLevel=Full -Credential $UserCredential -Authentication Basic -AllowRedirection  
    Import-PSSession $Session -DisableNameChecking  
    

    It still works for me, I could connect to EXO with that. But it's never suggested in Microsoft official doc.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.