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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to query Micros...
Power Automate
Suggested Answer

Unable to query Microsoft Entra IDs dataverse table

(2) ShareShare
ReportReport
Posted on by 407

Hi everyone,

I'm trying to run a query against the Microsoft Entra IDs Dataverse table, but I keep getting the following error:

 

Microsoft Entra IDs table 2.png

 

System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: AccessToken not found. Please make sure plugin is registered as synchronous and not called with app credentials. (Fault Detail is equal to Exception details: 
ErrorCode: 0x80040216
Message: AccessToken not found. Please make sure plugin is registered as synchronous and not called with app credentials.
TimeStamp: 2024-05-29T13:47:40.0000000Z
OriginalException: Microsoft.Crm.CrmException: AccessToken not found. Please make sure plugin is registered as synchronous and not called with app credentials.
 at Microsoft.Crm.ObjectModel.OboTokenProvider.<>c__DisplayClass13_0.<GetOBOToken>b__0()
 at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)
 at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)
 at Microsoft.Crm.Sandbox.Service.PluginSecureStoreServiceProvider.<>c__DisplayClass39_0.<OnBehalfOfTokenServiceProviderAcquireToken>b__0()
 at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult...).

 

Any ideas on how to bypass this?

 

Thanks

 

 

Categories:
I have the same question (2)
  • _sourcecod3_ Profile Picture
    407 on at
    Does anyone have another approach to retrieve data from this table using power automate?
  • Rusty_VanSandt Profile Picture
    7 on at

    No, I wish someone would let us know how.😩

  • Rusty_VanSandt Profile Picture
    7 on at

    I am having the same issue.

  • Rusty_VanSandt Profile Picture
    7 on at

    Try "Get user profile (V2)".

  • _sourcecod3_ Profile Picture
    407 on at

    Hi @Rusty_VanSandt, I don't want to use the user profile connector or doing an API call to graph because the flow has a lot of queries and adding an api call would slow it down drastically. 

  • foxpower Profile Picture
    17 on at
    I also get this same error when I am listing rows from a Dataverse table which has a lookup column to the Microsoft Entra ID Dataverse table, and I am trying to expand that column.

    Very keen for a way around this!
  • Suggested answer
    Mira Ghaly Profile Picture
    11,415 Moderator on at
    Hi 
    This does not look possible to achieve .. the way around it , is to use the the Get User Profile
  • Suggested answer
    UU-21041832-0 Profile Picture
    21 on at
    So I was able to find a way around this. I used invoke HTTP request action in Power Automate. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 922

#2
Valantis Profile Picture

Valantis 837

#3
Haque Profile Picture

Haque 534

Last 30 days Overall leaderboard