Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

The 'RetrieveMultiple' method does not support entities of type 'authorizationserver'.

Posted on by 265

Hi Team,

We have an C# windows application which  extracts the data from DynamicsCRM. We are able to extract data from most of the tables except a specific tables (The count is arround 50), while extracting data from that table it throws the above mentioned error with the corresponding table name. Below are the code snipper.

var query = new Microsoft.Xrm.Sdk.Query.QueryExpression
{
          EntityName = argValue
 };
 query.ColumnSet = new Microsoft.Xrm.Sdk.Query.ColumnSet(true);
 retMultipleRes = orgService.RetrieveMultiple(query).Entities;

Below are the list of tables having these kind of problems. Also we are unable to find any uniqueness among the tables.

authorizationserver
businessdatalocalizedlabel
childincidentcount
complexcontrol
Delveactionhub
dependencyfeature
imagedescriptor
integrationstatus
localconfigstore
lookupmapping
mailboxtrackingfolder
metadatadifference
multientitysearch
multientitysearchentities
officedocument
officegraphdocument
partnerapplication
postregarding
postrole
principalattributeaccessmap
principalentitymap
principalobjectaccessreadsnapshot
principalsyncattributemap
queueitemcount
queuemembercount
recommendeddocument
replicationbacklog
rollupjob
sharepointdata
sqlencryptionaudit
subscription
subscriptionclients
subscriptionmanuallytrackedobject
subscriptionstatisticsoffline
subscriptionstatisticsoutlook
subscriptionsyncentryoffline
subscriptionsyncentryoutlook
subscriptionsyncinfo
syncattributemapping
syncattributemappingprofile
systemapplicationmetadata
systemusermanagermap
systemusersyncmappingprofiles
teamsyncattributemappingprofiles
timestampdatemapping
traceassociation
traceregarding
userapplicationmetadata
webresource
wizardpage
workflowwaitsubscription

Any help highly appreciated. Thanks in advance.

Thanks and Regards

Venkatesa

*This post is locked for comments

  • Suggested answer
    Nadeeja Bomiriya Profile Picture
    Nadeeja Bomiriya 6,804 on at
    RE: The 'RetrieveMultiple' method does not support entities of type 'authorizationserver'.

    Hi venkateshmpr,

    Not all entities are supported by RetrieveMultiple.

    Try using ExecuteFetchRequest() instead.  This supports more entities than RetrieveMultiple.  

    https://msdn.microsoft.com/en-au/library/microsoft.crm.sdk.messages.executefetchrequest.aspx

    Unfortunately, this method is recently deprecated and will be removed in the future.

    http://crmtipoftheday.com/2016/12/14/long-live-executefetchrequest/

    Cheers,

    Nadeeja

    If the answer solves your problem, please mark as Verified. Thanks.

    My Blog: http://dyn365apps.com/ - Follow me on Twitter: https://twitter.com/dyn365apps

    LinkedIn: https://www.linkedin.com/in/nadeeja

  • Suggested answer
    Andreas Cieslik Profile Picture
    Andreas Cieslik 9,265 on at
    RE: The 'RetrieveMultiple' method does not support entities of type 'authorizationserver'.

    Hello,

    not all entities or tables are available for search queries. They are usually used for internal processes or configurations of CRM.

    The list of supported entities for Microsoft.Xrm.Sdk can be found here:

    msdn.microsoft.com/.../microsoft.xrm.sdk.iorganizationservice.retrievemultiple(v=crm.8).aspx

    another list here:

    msdn.microsoft.com/.../gg328576.aspx

    Cheers,

    Andreas

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: The 'RetrieveMultiple' method does not support entities of type 'authorizationserver'.

    Hello,

    Have you tried to use FetchQuery instead of QueryExpression?

    If it is not allowed - this means that Microsoft closed that possibility for some reason. If you anyway need to read those entities - you can create a suggestion on crmideas.dynamics.com/ideas portal.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans