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 Automate / Auto-populating fields...
Power Automate
Unanswered

Auto-populating fields from AD on PowerApps

(1) ShareShare
ReportReport
Posted on by 8

Hi Guys,

 

I am building my very first PowerApps so a bit novice at doing things. 

 

I have a SharePoint list that I am building the App for, there are about a dozen options, most will be entered and completed by the user. But there are a couple that need to be autopopulated. 

 

The auto-populated fields are like mobile number, office location, Position, Full name etc... All this information needs to be pulled in from AD and once a user hits new item then they should see all these fields already auto-populatied.

 

I have added Azure AD from as a data connection. I am not sure how to go and do the auto-population.

 

Any help would be greatly appreciated!

 

Thanks

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @IntergenUser01,

     

    Do you want to auto-populate some fields of SharePoint list when you create a new record in PowerApps app?

    I have made a test on my side and please take a try with following workaround:

    • Open “Edit Screen” in PowerApps and select Edit form control.
    • Select the fields that you want it to be auto-populated. In right panel, select Advanced tab. Within Advanced tab, click “Unlock to change properties” to change properties.
    • Within DATA part of Advanced tab, select Default property, type the following formula as below:

     

    AzureAD.GetUser(User().Email).mobilePhone

     

    2.JPG

    If you want Full Name field to be auto-populated, similar way with above step, type the following formula in Full Name field:3.JPG

     

     

     

     

     

    Best regards,

    Kris

  • IntergenUser01 Profile Picture
    8 on at

    Hi Kris, thanks heaps for your reply.

     

    I will try this once I get the chance 🙂

  • IntergenUser01 Profile Picture
    8 on at

    Hi @v-xida-msft

     

    I am getting the following permission error:

     

    Capture.PNG

     

    I am a sharepoint site collection admin, but perhaps not for Azure AD?

     

    Is there any other way to autopopulate those fields, perhaps using the Sharepoint connector (as Sharepoint also has users profile information)?

     

    Thanks!

  • IntergenUser01 Profile Picture
    8 on at

    I have tried another approach, but it still gives me problems. Please see:

     

    https://powerusers.microsoft.com/t5/Using-PowerApps/PowerApps-error-while-trying-to-Auto-populate-using-Office-365/m-p/76642#M336

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard