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 / How to create a column...
Power Apps
Answered

How to create a column I want in AAD user dataverse table?

(0) ShareShare
ReportReport
Posted on by 49

I want to create a column in AAD user dataverse table

Bubufun_0-1680858345595.png

like this :

Bubufun_1-1680858408166.png

But then it will happen like "Something went wrong"

Bubufun_2-1680858493236.png

I want to create a custom AAD User table that can connect Azure AD

How can I do this?

I have the same question (0)
  • Verified answer
    Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @Bubufun ,

     

    This is a virtual table with the data stored in Azure Active Directory, you will not be able to add columns to this table like you would do with other tables as the data is not actually stored in Dataverse.  You could created a custom table, something like AADUser_Extend that lives in Dataverse that contains a lookup column related to the AADUser virtual table to create this relationship.  This would allow you to add additional fields / extend as needed.  

  • humblpirate Profile Picture
    71 on at

    @dpoggemann I'm trying to do this same thing and I'm stuck at the next steps.

     

    I created a table called "CurrentUsers" and I essentially want to populate the entire table from the AAD users table.  I created a column also called "Current User" and set the data type as "lookup".  That column now allows me to search for a name.  

     

    Questions:

    1. is there a way to cause all rows of the dataverse table to populate here? (rather than me having to type out the names of all my users first) I've tried to import data, but the AAD user table isn't an option. 
    2. once I have one lookup column, how to add additional columns that pull in data from other columns in the related table?
  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @humblpirate ,

    Take a look at the solution provided in this post:  Solved: Office365Users to synch to a dataverse table - Power Platform Community (microsoft.com) as I think it might be very helpful.

  • RoyMitrany Profile Picture
    10 on at

    Hi Drew,

    I also have a use case where I need to extend the AADUser table. As you suggested, I created a custom table called AADUser_Extend, with lookup column to AADUser. I have (so far) two problems:

    1. There is no 1:1 mapping in Dataverse. So I accidently add multiple records to the same AAD user, and there is no way to indicate this multiplicity

    2. When I add a lookup from a third table to the extended table, I can't use the AADUser name as lookup. It forces my users to manually define Name value to the extended table.

    Any suggestions?

    Thanks,

    Roy

  • MarioRing Profile Picture
    541 Super User 2024 Season 1 on at

    AAD Users is a virtual table and has its limitations. I believe you want to store some information about employees of your organization in the Dataverse with the possibility to extend this data with some additional fields. 

     

    I suggest you not rely on this AAD User virtual table but create a new table by importing the previously exported user data from Azure Active Directory. This may be a good starting point. 

     

    The users will be created and updated in time and (as far as I know) unfortunately, it is not possible to use these events as triggers for executing a Power Automate flow (in order to update the related data in Dataverse). But maybe you have another business process related to onboarding or exiting the employee where you can attach this update? You may update the relevant procedure.

    You can also periodically update the custom table with exported data from AAD.

     

    Another hint - if all of the users you want to process in your app are also the users of Datavers/Power  App you can use Dataverse's system User table which is out-of-the-box connected to the Active Directory itself.

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard