web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / AADUser Virtual Table ...
Power Apps
Unanswered

AADUser Virtual Table Error

(0) ShareShare
ReportReport
Posted on by 22

I was trying to hook into the new AADUser virtual table. I'm the environment admin. When I add the lookup column to the AADUser in my custom entity, anytime I try to interact with it on a model app, it'll spin for 2 minutes, then time out. I'll get an error:

 

"The specified domain does not exist or cannot be contacted".

 

I see the call in the browser console to the fetchXml on the aaduser entity, but it's got a 400 error with:

 

{"error":{"code":"0x80040224","message":"An unexpected error occurred from ISV code. (ErrorType = ClientError) Unexpected exception from plug-in (Execute): Microsoft.Dynamics.CDS.AADPlugins.PersonTypeRetrieveMultiplePlugin: System.TimeoutException: Couldn\u2019t complete execution of the Microsoft.Dynamics.CDS.AADPlugins.PersonTypeRetrieveMultiplePlugin plug-in within the 2-minute limit.","@Microsoft.PowerApps.CDS.HelpLink":"http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80040224&client=platform","@Microsoft.PowerApps.CDS.TraceText":"\r\n[Microsoft.Dynamics.CDS.AADPlugins: Microsoft.Dynamics.CDS.AADPlugins.PersonTypeRetrieveMultiplePlugin]\r\n[0885949a-fa91-ec11-b400-000d3a558d0a: External plug-in implementation]\r\n\r\n","@Microsoft.PowerApps.CDS.InnerError.Message":"An unexpected error occurred from ISV code. (ErrorType = ClientError) Unexpected exception from plug-in (Execute): Microsoft.Dynamics.CDS.AADPlugins.PersonTypeRetrieveMultiplePlugin: System.TimeoutException: Couldn\u2019t complete execution of the Microsoft.Dynamics.CDS.AADPlugins.PersonTypeRetrieveMultiplePlugin plug-in within the 2-minute limit."}}

 

Any ideas how I can get this working?

I have the same question (0)
  • meelamri Profile Picture
    468 on at

    Hi, 

    Indeed, the lookup for a virtual entity can take more time than a dataverse table, but it should not exceed 2 min. Is this problem still present? Actually, this feature works without problem on my environments.

  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at

    Hello @kenstone 

     

    hope you are doing good.

     

    If you want to use AAD user you can use it as an OOB Behavior., please find my video for your reference.

     

    https://www.youtube.com/watch?v=L1Rxbktqq6g

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

  • kenstone Profile Picture
    22 on at

    It definitely still happens. The error is indicating it can't find the domain. My environment is in our tenant and all the other AAD interactions work as expected (e.g. Users table, AAD-based security roles, etc.). Our AAD is fairly large (100K+ accounts), but I don't think that's the issue.

     

    Is there an error logging mechanism somewhere I could see what this operation is trying to do?

  • Verified answer
    Nhelgren Profile Picture
    on at

    This is a known issue if the AAD has a large number of users. It currently times out. A fix for this is in the process of rolling out and will be in all regions by June 3rd.

  • Verified answer
    kenstone Profile Picture
    22 on at

    Good to know, Thanks! 

  • Community Power Platform Member Profile Picture
    on at

    Hi, 

     

    Do you have a specific build version this will be released in? I am still seeing this error in my tenant.

     

  • Nhelgren Profile Picture
    on at

    This was live in all regions as of June 10th. If you are still seeing the issue please contact support.

  • kenstone Profile Picture
    22 on at

    I see it now and the box actually does something now. However

     

    When I search for anything in the lookup box, it just keeps giving me the same list of possible results. I've tried lastname, *lastname, email address. In all those cases it still just shows me the first batch of entries that don't match at all. inline lookup and advanced lookup do the same thing (inline has the results sorted, advanced doesn't seem to). 

     

     

  • GaryBelcourt Profile Picture
    28 on at

    Apparently the table was never designed to be searched, if you can believe that. 

    https://powerusers.microsoft.com/t5/Microsoft-Dataverse/New-table-in-Dataverse-AADUser/m-p/1627921#M20712

  • Nhelgren Profile Picture
    on at

    At this time the filed allows filtering based on AAD User name only. It currently doesn't allow searching on other columns.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard