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 Apps / Company's users as a l...
Power Apps
Unanswered

Company's users as a lookup in dataverse

(0) ShareShare
ReportReport
Posted on by 9

Hi,

I want to have a model driven app that is able have a field in a table (within dataverse) that looks up the companies users.  To be clear I dont just want the users that have been given a security role to the specific organisation.  In my case I have 100,000+ users and all I want to do is select them as lookup.  They are not going to be a user of my app and hence no licence need.

 

The user list can likely come from AzureAD as we sync with on prem AD or 365 users for my company.

 

Is there a way to do this?

 

Many thanks

I have the same question (0)
  • MayankP Profile Picture
    464 on at

    I guess if you create look up field in your table which points to user and then filter use look up field based on your requirement this should work...

     

    refer following thread for this...

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Lookup-filter-based-on-different-lookup-field/td-p/697484

     

  • cchannon Profile Picture
    4,702 Moderator on at

    If you want all AD users (not just the ones with Dataverse Licenses) you will need to import that data somehow. The best way to accomplish this is through a Dataflow pulling from the Graph API. Specifically, you will want the ListUsers endpoint.

     

    Learn more about Graph API here.

    Learn more about Dataflows here.

  • r_m_w Profile Picture
    9 on at

    Hi @cc, sounds like it should work but found that MS dont recommend it in this article. https://docs.microsoft.com/en-us/power-query/connecting-to-graph

     

    Unless I have missed something, finding it hard to find the right category for pulling in the data.  Is there a known supported step by step method?

  • r_m_w Profile Picture
    9 on at

    Thanks @MayankP but this is not what I need.  Its not about the lookup- its about getting the data from Azure AD into the dataverse.  Thanks anyway.

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @RMW,
    Suggest and best practice to leverage the out-of-the-box (OOB) User table. See tip #5 https://powerusers.microsoft.com/t5/Power-Apps-Community-Blog/Top-15-best-practices-when-configuring-Power-Platform-and/ba-p/850804 

    For new users in your organization
    The high-level idea is to assign a temp license to the user, wait until it syncs into Dataverse and then unassigned the license. Point that lockup field to the User table. Those users will be automatically be created in Dataverse and then be set as inactive once the license is unassigned. You can automatically assign the license when new users get created in O365 and unassigned once they got created in Dataverse with the help Power Automate flows and 
    group base licensing.

    For existing/old users
    Easiest way I find is to import them with Excel/CSV and use the import tool: 
    https://readyxrm.blog/2018/05/21/importing-legacy-users-to-dynamics-365-online/ 

     

    Hope this helps!

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 Apps

#1
Vish WR Profile Picture

Vish WR 430

#2
timl Profile Picture

timl 318 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard