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 / Change User's UPN Afte...
Power Automate
Unanswered

Change User's UPN After Creation

(0) ShareShare
ReportReport
Posted on by

Being in a hybrid environment, I have need for our on-prem users to link up to the Entra ID user via SMTP matching. Unfortunately, user writeback is not a thing yet, so I have been forced to get creative. Which leads me to Power Automate Desktop! I've successfully connected to the server via LDAP and have been able to successfully create/edit users, no issue.

Sun_Scorched_0-1709820313539.png


The above successfully creates a user who's UPN is "ttester" but I need it to ideally match the SMTP address assigned to it in exchange, something like "ttester@contoso.com". Attempting to change the above username field to "ttester@contoso.com" results in a "Access Denied" error where the non @contoso.com version does not. (Yes, I am running it as an admin) Strangely, it still creates a user object in local AD, but with no UPN, strange SAM Name, and just a lot of empty fields you would expect a new user to have filled.

Is it possible to edit a user's UPN through Power Automate Desktop post-creation? Or assign it as part of the Create User action?

I might just be flat out doing it wrong or this might not be possible - but some additional insight from some professionals would be great!

I have the same question (0)

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