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

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / “User Not Found in F&O...
Power Pages
Unanswered

“User Not Found in F&O” Error with Power Pages Virtual Entities and Service Principal Configuration

(0) ShareShare
ReportReport
Posted on by 2

We have a Power Pages (Power Apps portal) that surfaces data from Microsoft Dynamics 365 Finance & Operations via virtual entities in Dataverse. The portal is prompting the following error:

"User portal:{00000000-0000-0000-0000-000000000000} was not found in Finance and Operations. Please ensure this user exists."

Despite configuring a service principal (Client ID and Secret) in the F&O virtual data source record, the portal still seems to pass the portal user's identity to F&O, causing the “User not found” error. I suspect that something is overriding the service principal authentication and reverting to a per-user delegation mode.

Question:

  1. How do we fully configure Dataverse to use a single service principal for all calls to F&O virtual entities (so that F&O doesn't try to match each portal user)?
  2. Could you provide direct references or official Microsoft documentation that explains how to disable per-user impersonation and ensure the service principal authentication is enforced?

Goal:

  • Stop the portal from sending the portal user's identity to F&O.
  • Rely solely on the service principal account we’ve configured, so the “user not found” error no longer occurs.
  • Confirm the specific steps or environment variables in Dataverse and F&O that must be set, plus any relevant hidden fields or flags, to ensure service principal authentication is used.
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at
    “User Not Found in F&O” Error with Power Pages Virtual Entities and Service Principal Configuration
     
     
    Here are the high-level steps:
    • Configure the F&O virtual entity data source in Dataverse to use Service Principal Authentication.
    • Disable per-user impersonation by setting EnablePerUserImpersonation to False in the portal.
    • Ensure the service principal has the correct permissions in both Dataverse and F&O.
    • Verify that no user mappings exist between portal users and F&O users in F&O’s system administration.
    pls let me know if you need more details. thanks
  • Lucas001 Profile Picture
    2,429 Super User 2025 Season 2 on at
    “User Not Found in F&O” Error with Power Pages Virtual Entities and Service Principal Configuration
    Hi
     
    can you close this thread as you already posted it twice and currently following the conversation in this issue: https://community.powerplatform.com/forums/thread/details/?threadid=d163ad69-2ecd-ef11-8ee9-7c1e52591095

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 Pages

#1
Jerry-IN Profile Picture

Jerry-IN 66

#2
Fubar Profile Picture

Fubar 45 Super User 2025 Season 2

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 31 Super User 2025 Season 2

Last 30 days Overall leaderboard