Notifications
Announcements
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?
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 NiIf this post helps, then please consider Accept it as the solution to help the other members find it.
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
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
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?
Your code is different from what in my last post:
AzureAD.UpdateUser(User().Email,{extensionAttribute7:"String from your Power App"})
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 721 Most Valuable Professional
Michael E. Gernaey 320 Super User 2025 Season 2
Power Platform 1919 268