Reputation: 941
I´m developing a data-extraction tool that gets data out of DynamicsCrm. I have a few tables tough where i get the following exception:
Additional information: The 'RetrieveMultiple' method does not support entities of type 'mailboxstatistics'.
Reading online, using fetchxml is supposed to be the solution. For me, it looks like i´m already using fetchxml. My code:
private static EntityCollection RequestEntityCollection(String FetchXML, Microsoft.Xrm.Client.CrmConnection c)
{
using (OrganizationService service = new OrganizationService(c))
{
EntityCollection r = service.RetrieveMultiple(new FetchExpression(FetchXML));
return r;
}
}
I´m currently using the CRM2013 SDK so EntityCollection is from the Microsoft.Xrm.Client.dll in v6.0.0.0. Also the documentation is using the RetrieveMultiple method.
Do you have some suggestions or is this not supported and the online suggestions are misleading?
Thank you!
Upvotes: 0
Views: 2170
Reputation: 15128
The message is a bit misleading.
You get that error with MailboxStatistics
because the entity is for internal use only.
Upvotes: 4