Carrying AD name change through to Exchange Online

Semicolon wrote:If I remember correctly (its been a few months since we ran across that here), we changed everything in AD, synced it up, and then changed the user's UPN in AzureAD/Office365 to match the new email address once all of the synced information made it up. I'm a fan of the powershells so I used the Set-MsolUserPrincipalName cmdlet to do this last step; I don't know if there's a method to do that in the GUI.If the user is already synced using Dirsync, then all you have to do is change the relevant information in AD and you're all set. Dirsync links the AD and MSOL users with an immutable ID so once the user has been created in the cloud it will always sync with the correct AD user regardless of any AD attributes changing. While Set-MSOLUserPrincipalName will probably work just fine, it's not entirely necessary.

Hi All
We have a recently-married user who is requesting her name be changed on the system.
When we had OnPrem Exchange, following an AD name change through to Exchange was simple, but I've never had to do it since we've migrated to Exchange Online (we use DirSync with Password Hash)...
Anyone know how the process goes, please? Don't want to lose her mailbox or anything!
Thanks in advance
Dave
This topic first appeared in the Spiceworks Community

Similar Messages

  • Display name of shared calendar in Outlook clients after name change on the Exchange Server

    I have changed the name of a conference room resource calendar on the Exchange server but the name change is not being reflected in the end user's Outlook clients. I tested a remove/re-add and that worked but I cannot have everyone in the company do this.
    Is there anyway to force the change down to the Outlook clients?

    I don't know for sure, but if this is the case, then it's highly likely that the GUID is used by the client after its first view of the calendar.  From that point on, it appears it doesn't "revisit" the directory for updated names. 
    We'd need Outlook team feedback for confirmation.

  • Legal Name Change-can I update online?

    Can't find anywhere where I can either change or request a change.

    You'll need to call Customer Service or visit your local Corporate Verizon store.  They also may need to see the legal paperwork where your name was changed.
    Customer Service:
    Dial *611 from a cell phone
    (800) 922-0204
    Monday - Sunday 6 am - 11 pm

  • Exchange online and Exchange 2010 on-premise calendar availability

    I am running a hybrid exchange 2010 on-premise and online exchange environment.  The online exchange users cannot see calendar availability of anybody on premise.  The on-premise users can see the online exchange availability.  I can see the
    calendar if the calendar is shared, but trying to setup a meeting or calendar appointment still shows the unavailable through all days.
    All of the users are using office 365 for outlook on premise and exchange online.  If it is only working one way, could it be an autodiscover issue where it is not configured correctly on our on-premise exchange 2010 or online exchange?  Which
    side would be causing the issue?

    I have done a little more research and ran the following in powershell:
    [PS] C:\Windows\system32>Get-FederationInformation -domainname weiman.com
    RunspaceId            : f4af09c7-134a-4fe7-95c0-acd120c63949
    TargetApplicationUri  : outlook.com
    DomainNames           : {Weiman.onmicrosoft.com, weiman.com, Weiman.mail.onmicrosoft.com}
    TargetAutodiscoverEpr : https://autodiscover-s.outlook.com/autodiscover/autodiscover.svc/WSSecurity
    TokenIssuerUris       : {urn:federation:MicrosoftOnline}
    IsValid               : True
    [PS] C:\Windows\system32>Get-OrganizationRelationship | FL
    RunspaceId            : f4af09c7-134a-4fe7-95c0-acd120c63949
    DomainNames           : {herbertstanley.com, weiman.com, Weiman.mail.onmicrosoft.com}
    FreeBusyAccessEnabled : True
    FreeBusyAccessLevel   : LimitedDetails
    FreeBusyAccessScope   :
    MailboxMoveEnabled    : True
    DeliveryReportEnabled : True
    MailTipsAccessEnabled : True
    MailTipsAccessLevel   : All
    MailTipsAccessScope   :
    TargetApplicationUri  : outlook.com
    TargetSharingEpr      :
    TargetOwaURL          : http://outlook.com/owa/herbertstanley.com
    TargetAutodiscoverEpr : https://pod51043.outlook.com/autodiscover/autodiscover.svc/WSSecurity
    OrganizationContact   :
    Enabled               : True
    ArchiveAccessEnabled  : True
    AdminDisplayName      :
    ExchangeVersion       : 0.10 (14.0.100.0)
    Name                  : On Premises to Exchange Online Organization Relationship
    DistinguishedName     : CN=On Premises to Exchange Online Organization Relationship,CN=Federation,CN=WEIMAN,CN=Microsof
                            t Exchange,CN=Services,CN=Configuration,DC=herbertstanley,DC=com
    Identity              : On Premises to Exchange Online Organization Relationship
    Guid                  : 26b4ec5d-fe93-473e-b451-1f9aa2e94ebb
    ObjectCategory        : herbertstanley.com/Configuration/Schema/ms-Exch-Fed-Sharing-Relationship
    ObjectClass           : {top, msExchFedSharingRelationship}
    WhenChanged           : 1/13/2014 1:25:54 PM
    WhenCreated           : 12/17/2013 1:04:32 PM
    WhenChangedUTC        : 1/13/2014 7:25:54 PM
    WhenCreatedUTC        : 12/17/2013 7:04:32 PM
    OrganizationId        :
    OriginatingServer     : gemini.herbertstanley.com
    IsValid               : True
    I am not sure why we have that value for the OriginatingServer.  That server is a backup domain controller, not the server that houses the on-premise exchange.
    I then ran the set-OrganizationRelationship and get the below error.
    [PS] C:\Windows\system32>Set-OrganizationRelationship -Identity weiman.mail.onmicrosoft.com -targetapplicationUri outloo
    k.com -TargetAutodiscoverEpr https://pod51043.outlook.com/autodiscover/autodiscover.svc/WSSecurity
    The operation couldn't be performed because object 'weiman.mail.onmicrosoft.com' couldn't be found on 'gemini.herbertst
    anley.com'.
        + CategoryInfo          : NotSpecified: (0:Int32) [Set-OrganizationRelationship], ManagementObjectNotFoundExceptio
       n
        + FullyQualifiedErrorId : F2215CB2,Microsoft.Exchange.Management.SystemConfigurationTasks.SetOrganizationRelations
       hip
    How do I change the originating server to be my exchange server?

  • Outlook does not connect to Exchange 2013 after name change due to marriage

    When launching Outlook and clicking through the setup wizard to create a new profile, Outlook auto-discovers the correct email alias. When establishing a connection it successfully checks network connectivity and successfully searches the email settings.
    When it attempts to logon to the mail server the error comes up.
    "The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action."
    Clicking "Check Name" gives the error:
    "The name cannot be resolved. The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action."
    The same result occurs with a manual setup.
    We are running Exchange Server 2013. User workstations are running Outlook 2013 on Windows 7 Pro. All updates have been applied as of March 31, 2015.
    All name changes have been made in AD and Exchange. Old aliases and new aliases are set in Exchange. Offline Address books are updated daily. The local profile and registry settings have been updated on the workstation and the user is successfully logging
    into the profile. The issue is only with Outlook 2013. User can access mail through OWA and ActiveSync on their mobile device.
    Logging the user into another workstation and running the wizard returns the same results, which rules out the possible problem being with the workstation.

    Hi,
    According to your description, I understand that failed auto-configure Outlook with error “The name cannot be resolved. The connection to Microsoft Exchange is unavailable…”, however OWA works fine.
    If I misunderstand your concern, please do not hesitate to let me know.
    Are all account or any special user experience this question?
    If OWA works fine, it indicate that the mailbox database is mounted, and mailbox works well.
    I notice that you have changed the account name before issue arise, because external access, the client locates the Autodiscover service on the Internet by using the primary SMTP domain address from the user's email address.
    More details about Autodiscover service, for your reference:
    https://technet.microsoft.com/en-us/library/bb124251.aspx?f=255&MSPPError=-2147217396
    Please try below command to force update address list, GAL, OAB, then test again:
    Get-AddressList | update-AddressList
    Get-GlobalAddressList | update-GlobalAdressList
    Get-OfflineAddressBook | Update-OfflineAddressBook
    If the issue persists, please wait for some time to complete configuration.
    Thanks
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Allen Wang
    TechNet Community Support

  • Exchange Online Management cmdlets return Display Name instead of Identity

    Hello,
    We've got an issue when managing our Exchange Online environment using remote PowerShell.
    We use Exchange management cmdlets to manage Exchange Online mailboxes. When we run, for example, the
    Get-MailboxPermission or Get-RecipientPermission
    cmdlets, it returns Display Names of the users with mailbox rights. Previously, when we initially tested remote PowerShell with Exchange Online, the cmdlets returned the
    Identity property, which is unique and worked well for us. However, currently the cmdlets return the
    Display Name, which is not unique and causes us issues. For example, in our environment there can exist two or more users with the same Display Name (see highlighted on the screenshot):
    In cases when only one of the users is granted a permission, we cannot distinguish programmatically, which of the 2 users this is. Also, we cannot run cmdlets, such as
    Get-SecurityPrincipal, to get more info about the principals who are granted the permission.
    Is it possible to get the old behavior of the cmdlets back so that they return the unique
    Identity instead of the non-unique Display Name? Or how do we workaround this?

    Hello,
    Can anyone update on this? The issue causes us HUGE problems :(

  • Exchange delegate names changing to email address.

    I have four Delegates configured in my iCal(v. 4.0.4) app and the names shown for each will change to my email address at random times. So far I haven't been able to make heads or tails of it. Basically, their calendar is intact and completely visible in my iCal, but their name changes to my email address at random times. I can click on the name and type their name back in, but this problem happens on a daily basis. Any ideas? My iCal app is configured to access our Exchange 2010 server here on campus. I've tried deleting all iCal and Mail preferences from my local hard drive and resetting them up again. The only way to fix it is to remove the delegate from the iCal Accounts->Delegation window and re-add them. This pulls their correct name from the Exchange server, but it doesn't seem to stick around for too long. After a while, the name just randomly changes to my email address.

    I get exactly the same issues ( renaming delegate account, randomly, to my email address - can rename in delegates list, or delete and re-add to fix it, but it always changes again at some point)
    Strangely, though, this has only started since our work email has changed from one exchange service provider to a new one. Both exchange servers are using Exchange 2007 setups, but in the old one, I never got this problem, with the new one, I get it all the time - so I'm beginning to think there's an exchange configuration / iCal interaction going on.
    Anyone come up with a solution yet?

  • Exchange Server Affected by SSL Certificate Organization Name Change

    We recently underwent a name change of our company. We added a few new domain names for the new company to our Exchange Server 2007 and updated our address policy to include them and everything seemed to work okay for a while.  We subsequently reissued
    the SSL Certificate for our Exchange Server under the new organization name (per the CA's recommendation) .  Shortly thereafter we experienced all sorts of issues necessitating a rebuild of our Exchange Server.  Is there any dependency between
    the organization name in an SSL certificate and the organization name that Exchange Server stores it's info under in Active Directory (which still had the old name) that would cause Exchange to go haywire?

    Hi,
    Please confirm you were creating a new domain in your AD or creating an accepted domain in Exchange server.
    If you directly create an accepted domain in Exchange, the new domain would be
    considered authoritative when the Exchange organization hosts mailboxes for recipients in this SMTP domain. We don’t need to create a new Exchange certificate for this new accepted domain because the
    SRV records can be used to connect to Autodiscover service. And the Exchange services URLs are not changed and they can still be authenticated by the original certificate (mail.domain.com, autodiscover.domain.com).
    Certainly, we can reissue a new Exchange certificate, please make sure the new Exchange certificate has included all needed namespaces for your Exchange server such as:
    Mail.domain.com, autodiscover.domain.com, autodiscover.newdomain.com
    We can also run Get-ExchangeCertificate | fl to check it.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Exchange 2010 Domain Name change in a multitenant (hosted) environment

    Is there a way to change a domain name from one of our domains?
    We have exchange 2010 SP1 in hosted mode so we have several domains we deliver to our customers.
    However, now 1 of our customers would like to change their domain name.
    For example abc.com should become 123.com
    To make it even a litle bit more complicated, in the first instance they want to add the 123.com domain so they receive emails on both domains. After a month they want to delete the old domain ( abc.com ) and keep on receiving emails on the new domain
    ( 123.com ).
    Please keep in mind that the other domain that we also provide must not be affected.
    Any help would be grate as I am stuck on this one.
    I simply don't know the correct powershell commands.

    Hi Peter,
    I read the email and as I was writing a reply I thought by myself, why not share it with the rest.
    I am sure other people need this to so I copy paste it in here :-):
    ===================================
    Hi Peter,
    If this helps you out, the only thing I want back is for you to help 3 others and share this message so they help out other people aswell. :-D peace
    Unfortunately there is no way according to microsoft ( as far as I am aware ) to make a domain change in the hosted edition and for this reason I had to figure it all out myself.
    I am no scripter so I didn't build a tool for it, sorry.
    I will send you all the information you need.
    1- add the accepted domain: New-AcceptedDomain -Name NameOfOrg -Organization ForWhichDomainWillThisBeTheAcceptedDomain -DomainName NewDomain.Eu -DomainType Authoritative
    2- to create an alias ( tenant admin )
    Import-CSV name-of-textfile.txt | foreach-object {Set-Mailbox $_.alias -EmailAddresses @{add=$_.smtp1}}
    The text file has to be in the following format:
    alias,smtp1
    firstalias,newemailaddress
    secondalias,newemailaddress
    etc.
    3- Make the new alias the primarysmtpaddress ( main exchange admin ):
    Import-CSV name-of-textfile.txt | foreach-object {Set-Mailbox $_.alias -primarysmtpaddress $_.smtp1 -emailaddresspolicyenabled $false}
    The txt file should be in the following format:
    alias,smtp1
    domain\alias1,newemailaddress
    domain\alias2,newemailaddress
    etc.
    4- Rename the alias ( tenant admin ):
    Import-CSV name-of-textfile.txt | foreach-object {Set-Mailbox $_.alias -alias $_.smtp1}
    The txt file should be in the following format:
    alias,smtp1
    alias1,newalias1
    alias2,newalias2
    etc.
    5- Change UserPrincipalName (main exchange admin ). This is the username to sign in to OWA
    Import-CSV name-of-textfile.txt | foreach-object {Set-Mailbox $_.alias -userprincipalname $_.smtp1}
    The txt file should be in the following format:
    alias,smtp1
    domain\alias1,newemailaddress
    domain\alias2,newemailaddress
    etc.
    6-  Change displayname (tenant admin ):
    Import-CSV name-of-textfile.txt | foreach-object {Set-Mailbox $_.alias -displayname $_.smtp1}
    The txt file should be in the following format:
    alias,smtp1
    alias1,displayname
    After a while you might to remove the previous email address ( i waited for this for 3 months! 1 month is way to short for people to communicate it, trust me.. ):
    7- Import-CSV name-of-textfile.txt | foreach-object {Set-Mailbox $_.alias -EmailAddresses @{remove=$_.smtp1}}
    The txt file should be in the following format:
    alias,smtp1
    alias1,OldEmailAddress1
    alias2,OldEmailAddress2
    Andre
    Peace

  • Connect Office 365 Exchange Online through Powershell

    I am trying to perform some operations on Exchange online(Office 365) through powershell.
    First I created a new powershell session and exported the modules to local as "o365", so that on any later operation I no need to use Import-PsSession to download the required modules
    $cred = Get-Credential
    $s = New-PSSession -ConfigurationName "Microsoft.Exchange" -ConnectionUri "https://ps.outlook.com/powershell/" -Credential $cred -Authentication Basic -AllowRedirection
    Export-PsSession -session $s -outputModule o365
    Now, I am creating new session and importing the existing module "o365".
    $cred = Get-Credential
    $s = New-PSSession -ConfigurationName "Microsoft.Exchange" -ConnectionUri "https://ps.outlook.com/powershell/" -Credential $cred -Authentication Basic -AllowRedirection
    Import-Module o365
    Get-DistributionGroup
    While running the command "Get-DistributionGroup", powershell prompts me to enter the office 365 credentials once again. Is it possible to avoid entering the credentials once again? I don't want to use Import-PsSession, since it takes more time.

    Hi,
    Not sure, if the following cmdlets can make a difference. Anyway, suggest you to try these:
    $UserCredential = Get-Credential
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
    Import-PSSession $SessionGet-DistributionGroup
    Regards from ExchangeOnline.in|Windows Administrator Area | Skype:[email protected]

  • IOS4.1 Iphone 4 - carrier name changes from 'O2' to 'TESCO'

    iOS4.1 Iphone 4 - carrier name changes from 'O2' to 'TESCO'
    Does anyone know if this can be changed back without jailbreaking/downgrading OS? thanks.

    I've seen this on two handsets, both after updating the IOS from 4.0.2 to 4.1.0 so I presume the Tesco operator logo has now been included in the OS where it wasn't before. Tesco is an MVNO operating on the o2 network, you can set your own logo to be displayed without jailbreaking, a quick search on google returned a couple of results. Post back if you have any success!

  • Create Appointment through Exchange online - office365

    Hi Everyone,
    Has anyone tried using PHP to create appointment onto calendar through Exchange web services.
    One of our client is using office365 - exchange online as their current email environment.
    So we want to auto create appointment into their outlook calendar when admin update their website (Website is developed using PHP
    Regards,
    Zhiwei

    So then I'm guessing you want to be able to retrieve the list of resources in the address book? If the Exchange admins have configured room lists, you could use those:
    https://msdn.microsoft.com/EN-US/library/office/dn643730(v=exchg.150).aspx.

  • Cannot block ZIP attachments through the mail flow rule in Exchange Online

    Hello Guys,
    I need some help as I have already tried the procedure to block zipped files in exchange online (Office 365).
    I assume the content filtering policy or malware policy is overtaking in someway, but I cannot get the outcome as mentioned in the above scenario.
    My goal is to trap all the emails with attachments containing .zip, .exe, .bat and .rar extensions to be moved to the quarantine mailbox. 

    Hello Guys,
    I need some help as I have already tried the procedure to block zipped files in exchange online (Office 365).
    I assume the content filtering policy or malware policy is overtaking in someway, but I cannot get the outcome as mentioned in the above scenario.
    My goal is to trap all the emails with attachments containing .zip, .exe, .bat and .rar extensions to be moved to the quarantine mailbox. 
    http://support.microsoft.com/en-us/kb/2959596

  • [Exchange-Online][EWS][Android]Is it possible to reach Exchange room resource mailbox through Office 365 API for Java/Android

    Hi guys,
    Title covers largely what I'm trying to do. I'm trying to create an app in Android Studio that uses the Office365 for Android API (https://github.com/OfficeDev/O365-Android-Start).
    In this app i want to bind calander events to Locations that i create in Exchange online. Is this possible? If so, how? Have not been succesful in finding in any information on the issue so far.
    At the moment when the user wants to create an event, the user just types in the "location", but this is just a string and not bound to anything. I would prefer to get a dropdown of all the room resources I have on Exchange and that this will make
    that the location. This to prevent 2 seperate meetings happening in the same room at the same time.
    (Was sent here from the O365-forums, so sorry if this is a misplaced post)
    Thanks for any and all help.
    Mathias

    So then I'm guessing you want to be able to retrieve the list of resources in the address book? If the Exchange admins have configured room lists, you could use those:
    https://msdn.microsoft.com/EN-US/library/office/dn643730(v=exchg.150).aspx.

  • Retrieval of all users in Exchange online

    Exchange Version: Exchange Online at Office 365
    API Name: EWS API 2.0
    IDE: Visual basic C# 2010
    Targeted features: Impersonation and retrieval of all users
    Hi there, I am currently developing a program that uses impersonation and queries the EWS API to retrieve emails and their attachments from users. I have used the C# codes from the MSDN Library to develop the program. The program is successful in retrieving
    the emails from specific users that are hard coded into the program.
    The code below shows the process of authenticating the admin user and the impersonation is done in the  RetrieveEmailFromUser() function.
    ServicePointManager.ServerCertificateValidationCallback = CertificateValidationCallBack;
    ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013_SP1);
    service.Credentials = new NetworkCredential("adminemail@", "password", "domain.onmicrosoft.com");
    service.AutodiscoverUrl("adminemail", RedirectionUrlValidationCallback);
    List<string> emailaddrlist = new List<string>();
    emailaddrlist.Add("[email protected]");
    emailaddrlist.Add("[email protected]");
    foreach (string item in emailaddrlist)
    string content = RetrieveEmailFromUser(service, item);
    Console.WriteLine(content);
            static string RetrieveEmailFromUser(ExchangeService service, string emailAddr)
                service.ImpersonatedUserId = new ImpersonatedUserId(ConnectingIdType.SmtpAddress, emailAddr);
                FindItemsResults<Item> findResults = service.FindItems(WellKnownFolderName.Inbox, new ItemView(50));
    As can be seen from the coding, the users that are to be impersonated have been hardcoded. I would like to know if there are any C# codes or a link to a page where it describes how I can retrieve ALL users with mailboxes from a Microsoft 365 admin account
    without needing to manually add users for retrieval.

    Hi there sorry for asking again but I have successfully retrieved all the users but now I would need to filter them to lower the amount of addresses retrieved.
    For example
    owershell.Runspace = runspace;
    //Create the command and add the parameters to retrieve all users that have mailboxes
    powershell.AddCommand("Get-Mailbox");
    powershell.AddParameter("RecipientTypeDetails", "UserMailbox");
    //Invoke the command and store the results in a PSObject collection
    Collection<PSObject> EmailList = powershell.Invoke();
    //Iterate through the results and add the PrimarySMTP address for each mailbox to emailAddrlist
    foreach (PSObject emailAddr in EmailList)
    string time = emailAddr.Properties["WhenCreated"].Value.ToString();
    string addr = emailAddr.Properties["PrimarySmtpAddress"].Value.ToString();
    EmailAddrList.Add(addr + time);
    The property ("WhenChanged") will retrieve the date time when the mailbox had its options MODIFIED but not when an email is received. Is there a parameter I can input using powershell to retrieve users who have new emails in their mailboxes from
    a specific? Or can I change the value of the Property from  ("WhenChanged") to something else that will give me a date time of the most recent addition of an email to the mailbox. This will then allow me to compare the date time to filter out
    addresses which have not received any emails.
    Thank you.

Maybe you are looking for

  • Year field showing the future on Mac

    The year field on a track is showing up as "2018" on my mac and "2009" on my PC when I download the same track. Any ideas why this may be happening? Thanks, Jenny

  • 11.5.10.2  Upgrade to R12.1.2 Oracle Responsibilities

    We just cloned/ugraded from 11.5.10.2 to R12.2.2 in Test instance. I would like to get your thoughts/experiences in handling the existing responsibilty that was cloned ( i.e. NOT seeded resp). I was made aware there there might be some menus that mig

  • Question regarding Calculated Key Figures in BEx and their impact on SQL

    Hello, I am new to BO SAP integration. I have a question regarding using CKF in BEx. I created universe off of a BEx query with no CKF. I then created a Webi report with come dimensions and measures. I captured the SQL generated using trace (ST05). I

  • How can I reactivate my id account??

    Hi, I want to know how can I reactivate my id account??

  • CO Number Range - cannot copy

    Hi experts I tried to copy CO document number range (tcode- KANK) from Controlling Area 0001 (SAP standard) to a my newly created controlling area 1000. However, during the copy process, system said that CO Area 0001 and 1000 have different elements