Can Update-MgUser Now Update Primary Email Addresses?

0
2
Asked By CuriousNinja42 On

I noticed while cleaning up some UPN prefixes for a client that the Update-MgUser command is also updating the primary email address of my test lab user. I thought I would need to use Exchange Online (EXO) to do this. Is it now automatic? How long has this been the case?

3 Answers

Answered By TechGuru99 On

Looks like the Graph API is working wonders! It's definitely exceeding a lot of expectations with this update.

OptimisticDreamer -

Haha, right? We can always hope!

Answered By ExplainerExtraordinaire On

It seems like the behavior you're seeing is tied to a change in EntraID, not just the PowerShell cmdlet. When you change the UPN domain manually, it also updates the primary SMTP address automatically now.

Clarifier88 -

Exactly! It updates email and SIP addresses too. I can’t recall when it exactly changed, but it seems it's more to do with the IdP rather than the API method.

Answered By DocReader On

You might want to check out Microsoft’s documentation on this. Depending on your situation, changes to UPN usually result in updates to email addresses or proxy addresses as well. Here’s a link for more info: https://learn.microsoft.com/en-us/troubleshoot/en...

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.