EASYENTRA Blog

News & Updates

InternalServerError: Element ‘Objs’ With Namespace Name ‘http://schemas.microsoft.com/powershell/2004/04’ Was Not Found

InternalServerError: Element 'Objs' with namespace name 'http://schemas.microsoft.com/powershell/2004/04' was not found

A new issue has surfaced in Exchange Online which causes the following two CmdLets to fail:

Get-MailboxFolderStatictics
Get-MailboxRegionalConfiguration

Running these CmdLets often hangs for a long period of time (a minute or more) and results in the following error message:

Write-ErrorMessage : ||Error on proxy command 'Get-MailboxFolderStatistics -Identity:'l.hau'
  -skipCount:'0' -resultSize:'1000'' to server AM0PR09MB3971.eurprd09.prod.outlook.com:
  Server version 15.20.8632.0000, Proxy method PSWS: InternalServerError:
Element 'Objs' with namespace name 'http://schemas.microsoft.com/powershell/2004/04' was not
  found. Line 1, position 2. : {
  "code": "InternalServerError",
  "message": "Element 'Objs' with namespace name
    'http://schemas.microsoft.com/powershell/2004/04' was not found. Line 1, position 2.",
  "innererror": {
    "message": "Element 'Objs' with namespace name
    'http://schemas.microsoft.com/powershell/2004/04' was not found. Line 1, position 2.",
    "type": "System.Xml.XmlException",
    "stacktrace": ""
  },
  "adminapi.warnings@odata.type": "#Collection(String)",
  "@adminapi.warnings": []
} [Server=AM7PR09MB3877,RequestId=c0b1ecb7-9b7e-5da3-0a66-1863fbac8577,
  TimeStamp=4/14/2025 10:54:44 AM] .
At C:\Users\adm.msk\AppData\Local\Temp\tmpEXO_trozoxbs.xa1\tmpEXO_trozoxbs.xa1.psm1:1189
  char:13
+             Write-ErrorMessage $ErrorObject
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo   : NotSpecified: (:) [Get-MailboxFolderStatistics], CmdletProxyException
  + FullyQualifiedErrorId : [Server=AM7PR09MB3877,RequestId=c0b1ecb7-9b7e-5da3-0a66-
      1863fbac8577,TimeStamp=Mon, 14 Apr 2025 10:54:44 GMT],Write-ErrorMessage

This error appears to stem from a malformed or unexpected XML response from the backend, possibly related to changes in how the Exchange Online REST API (EXO V3 module) handles responses.

As a result, third-party tools and scripts that rely on these CmdLets via the EXO REST API proxy may also be affected.

Microsoft has not yet officially acknowledged the issue, but we suspect more information will surface soon—or that a silent backend fix may be rolled out, as is often the case with Exchange Online service updates.

In the meantime, admins depending on this cmdlet should report this issue to Microsoft, monitor the situation, and consider holding off on critical processes that rely on it.

We’ll update this post as new information becomes available.

Update 2025-04-15 00:30 CEST:

There is still no public information on this issue, and we’re no longer seeing the problem in our testing environment.

It’s evident that general issues occurred in Outlook and M365 earlier today, but hopefully this is fixed now:

Outlook Outages
Source: https://downdetector.com/status/outlook/
M365 Outages
Source: https://downdetector.com/status/microsoft-365/

Free 30-minute demo

try 30 days for free

GET EASYENTRA NEWS

Opt out at any time

“One of the best products I've used.”
Gary Shurland
Chief Information Officer, Mirick, United States
“This tool has been invaluable in streamlining our IT processes.”
Tyson Mckay
Chief Information Officer, Southwest Network, United States
“This product has been a miracle for our Help Desk. EasyEntra has completely transformed how we handle Microsoft 365 administration.”
Doug Sanders
Manager of Technical Customer Support, Junior Achievement USA, United States
“Your product is such a time saver. I love it!”
Scott Fehr
IT Infrastructure, MEC Aerial Work Platforms, United States
“It's a good product and saves us lots of time for these ongoing quick admin tasks.” 
Chris McFerran
Managing Director, CTech IT Solutions Ltd, United Kingdom
“EasyEntra has significantly streamlined our workflow, simplifying everything. It feels almost like a revolution.”
Johan Sadelius
IT-chef, Arjeplog Kommun, Sweden
I greatly appreciate your assistance and willingness to enhance the already outstanding product.”
Michael I. Wilson
Executive Director of Information Technology, Archdiocese Of Washington, United States
“It's great not having to switch back and forth between the O365 admin center and the Teams admin center to assign groups. I am sold!”
Thomas Madden
Director Information Technology, AutoPayPlus, United States
“I would highly recommend organizations use the solution as it greatly simplifies various tasks.”
S. Roger Singh
Chief Technology Officer, Prasad & Company LLP, Canada
“EasyEntra is time-saving. Love the copy/paste for user/computer groups and the copy to new user.”
Damian Nita
Associate Network Administrator, Shenandoah Valley Westminster-Canterbury, United States
“EasyEntra has transformed our daily IT operations by simplifying user management, reducing errors, and enhancing overall efficiency.”
Henrik Nefling
IT- and Digitalization Manager, Animal Protection Denmark, Denmark