Hi @Priya Jayaraman ,
Can you login Outlook after configuring the profile?
If so, I believe this is because the Exchange 2013 uses Anywhere for clients to connect. And for Exchange 2007, it should be different.
A related thread that may help: https://social.technet.microsoft.com/Forums/exchange/en-US/067fd791-fec0-47dd-a7fa-423d5a997762/outlook-cannot-connect-after-mailbox-move-from-exchange-2007-to-2013?forum=exchangesvrgeneral
Best regards,
Lou
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.