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 / Update a field in Azure
Power Apps
Unanswered

Update a field in Azure

(0) ShareShare
ReportReport
Posted on by 82

Hey Team,

I wan to detect username and read current value from Active directory and then update a field called  extensionAttribute7 .Which function can I use for this?

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

    Hi @sayalides ,

     

    Would you like to update an custom attribute for a specific user in Azure AD?

     

    If so, you could leverage the Azure AD connector in Power Apps along with the action "Update user". Please refer to below doc:

    https://docs.microsoft.com/en-us/connectors/azuread/#update-user

     

    You could apply below formula on a button in Power Apps:

    AzureAD.UpdateUser(userPrincipalName,{extensionAttribute7:"String from your Power App"})

     

    You will be able to retrieve UPN with AzureAD.GetUser action:

    https://docs.microsoft.com/en-us/connectors/azuread/#get-user

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • v-jefferni Profile Picture
    on at

    Hi @sayalides ,

     

    Have you resolved the issue? 

    If above post helps, then please consider Accept it as the solution to help the other members find it.


    Best regards,
    Community Support Team _ Jeffer Ni

  • skd Profile Picture
    82 on at

    Hey @v-jefferni ,

    Not yet I'm still working on it. Once I finish working on it and have no more issues I will accept the solution 

  • skd Profile Picture
    82 on at

    HEy @v-jefferni ,

    I'm trying to update the extensionattribute7 field but I'm getting this error can you pls help me know why I'm I facing this issue?

    Powerappazure.png

     

  • v-jefferni Profile Picture
    on at

    Hi @sayalides ,

     

    Your code is different from what in my last post:

     

    AzureAD.UpdateUser(User().Email,{extensionAttribute7:"String from your Power App"})

     

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • skd Profile Picture
    82 on at

    Hey @v-jefferni ,

     

    Yes because the I'm not getting an option "extensionattribute7:" directly 

    in my PowerApp. I get an option "Onpremisesextensionattribue:"

     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard