OWA 2007 recent recipients and OWA 2010 nicknames

Status
Not open for further replies.

tfiske

Member
Hi, we recently upgraded from Exchange Server 2007 to Exchange Server 2010, which included an upgrade to OWA. Many of our webmail users relied on the recent recipients feature of the previous version and had a lot of email addresses that they now no longer can get to.

Does anyone know where they were stored in the previous version? If I can find them, I can do a number of things to bring them forward such as adding them to the user's contacts or even just printing them out.

I like the fact that Outlook 2010 will handle this more comprehensively. Right now most of our users are on 2003 and 2007 and I still have to move NK2 files around, but at least these are accessible. Our webmail folks are kind of stuck because of this though. Hopefully people have some suggestions on where to retrieve this info.

Todd Fiske
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
AFAIK, they are stored in the mailbox for OWA's use. (Outlook 2010 stores them in the mailbox too - and it has suggested contacts so users won't lose their "address book" if the autocomplete cache is cleared.)




I know of no way to get the addresses our of the mailbox, short of adding them to a message so you can create a contact. But i will double check on this.




If they have the contact, you can prepopulate the list in Outlook by addressing a message to all contacts then closing it.
 

tfiske

Member
That is very helpful, thank you!




There may not be a direct recovery or migration capability, but if I can even extract them in whatever format, I can convert it to something usable for our staff.




I found the MAPI Editor tool that he mentions listed elsewhere. The mailbox database from our previous Exchange 2007 server is gone, but I should be able to restore an older copy from a backup tape. Then I may be able to dig into it and find these people's contacts.




You at least gave me a direction to keep searching in, and hope that this is possible. Thank you very much!
 

Forum Admin

Senior Member
According to Dmitry Streblechenko:

"RDO can read nicknames from the store. http://www.dimastr.com/redemption/rdo/rdonicknames.htm



I guess you can always save the autocomplete hidden message (IPM.Configuration.AutoComplete) from the Inbox as an MSG file and then import it back to the target folder."
(For OWA, its called IPM.Configuration.OWA.AutocompleteCache according to the other link.)
 

alex bo

Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
i wrote c# code to do this directly without RDO:

using System;

using System.Collections;

using System.Collections.Generic;

using System.IO;

using System.Linq;

using System.Text;

using System.Xml;

using Microsoft.Exchange.WebServices.Data;

> ..

// provide work email, password, owa url as "https://owa.yourcompany.com"
public static SortedList<string, string> GetOutlookContactsRecent(string workEmail, string password,
string owaUrl)
{
// get proper exchange version:
ExchangeService service = null;
Folder root = null;
foreach (ExchangeVersion ev in Enum.GetValues(typeof (ExchangeVersion)))
{
// works for Exchange2007_SP1 as well, but returns incorrect emails... restrict to Exchange2010
if (ev != ExchangeVersion.Exchange2010)
continue;
try
{
service = new ExchangeService(ev)
{
Credentials = new WebCredentials(workEmail, password),
Url = new Uri(owaUrl),
};
service.AutodiscoverUrl(workEmail, url => true);
root = Folder.Bind(service, WellKnownFolderName.Root);
}
catch (Exception ex)
{

if (ex.Message.Contains("Autodiscover"))
{
string domain = workEmail.Split('@')[1];
// autoDiscoverCheckUrl1 https://yourcompany.com/AutoDiscover/AutoDiscover.xml
string auto1 = string.Format("https://autodiscover.{0}/AutoDiscover/AutoDiscover.xml", domain);
string auto2 = auto1.Replace("//autodiscover.", "//");

Console.WriteLine("check autodiscover connectivity \n\t" + auto1 + "\n or \n\t" + auto2);
}

}

}
if (root == null) return null;
// private contacts, not Global Address Book
var lst = new SortedList<string, string>();

try
{
// IPM.Configuration.OWa.AutocompleteCache
var owaAutocompleteCache = UserConfiguration.Bind(service, "OWA.AutocompleteCache",
root.ParentFolderId, UserConfigurationProperties.All);
var doc = new XmlDocument();
doc.Load(new MemoryStream(owaAutocompleteCache.XmlData));
var nlist = doc.SelectNodes("//entry");
if (nlist == null) return lst;
foreach (XmlElement v in nlist)
{
if (v == null) continue;
var ndName = v.SelectSingleNode("@displayName");
var ndEmail = v.SelectSingleNode("@smtpAddr");
if (ndName != null && ndEmail != null)
lst.Add(ndName.Value, ndEmail.Value);
}
}
catch (Exception ex)
{
Console.WriteLine(ex);
}
return lst;
}
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
J IPAD Outlook OWA App - Help using Exchange 2007 Using Outlook 4
R Lost Outlook 2007 message found in OWA Using Outlook 4
T Syncing OWA 2010 to Outlook 2007 Exchange Server Administration 15
J Unable to access public folders in Outlook 2007 on Exchange 2010. OWA PF works fine Using Outlook 7
P OWA Settings->Calendar->Events from Email; Setting changes do not hold Using Outlook 1
G How to have domain client use owa server instead of exchange server while connect to network Using Outlook 1
J OWA vs. Outlook 2016 Bandwidth Exchange Server Administration 1
O Synchronize safe persons Outlook 2016 -> Outlook Web Access (OWA) Using Outlook 30
C OWA External Access - No URL / URL Invalid Exchange Server Administration 2
Diane Poremsky New Office365 Feature: URL Preview in OWA New Slipstick.com Articles 0
S Cannot disable OWA light Exchange Server Administration 5
J Stuck using OWA Exchange Server Administration 0
T Outlook Calendar Sync MY GOAL: see work calendar on home desktop w/o OWA Using Outlook 2
T Sync OWA? Exchange Server Administration 0
O Multiple simulteniously opened OWA 2010 accounts in one browser work fine ! Using Outlook 3
S Newly added user doesn't show up in GAL but available in OWA, Using Outlook 0
B Customize OWA page to open in a new window when logging in Exchange Server Administration 1
B OWA Calendar Views not available Exchange Server Administration 2
O outlook 2010, owa, exchange Exchange Server Administration 2
B Searching OWA Additional Mailbox - in which Secondary folder is the email? Using Outlook 1
D OWA and Windows 8 Exchange Server Administration 1
Z OWA Mailbox unavailable Exchange Server Administration 2
G Outlook 2013: Getting meeting invites in OWA format Using Outlook 9
D OWA Send invitation AS (not from) Exchange Server Administration 1
E OWA phones home too much? Exchange Server Administration 1
S Cannot open any attachment from OWA Exchange Server Administration 2
R OWA can't delete mail Exchange Server Administration 8
J Outlook and owa access Using Outlook 1
S Track emails in OWA Exchange Server Administration 1
T OWA and post dating Exchange Server Administration 1
S Unable to Sync Phones but OWA connects Exchange Server Administration 1
B [SOLVED] Forced to type Domain/username for OWA 2003 with IE 7 or 8 Exchange Server Administration 3
M Attachments cannot be opened in Outlook, OWA works fine Using Outlook 2
T OWA Folders Using Outlook 0
A Managing GAL via OWA Exchange Server Administration 5
J Mail read in OWA won't appear in Outlook Exchange Server Administration 1
1 mobile OS or apps for sync of all OWA/exchange PIM functions Exchange Server Administration 3
A OWA Certificate Expired Issue Using Outlook 1
S Signature size limit for OWA / Exchange 2010 Exchange Server Administration 10
U OWA 2010 Limited Exchange Server Administration 4
M OWA - Dead GUI, Won't open inbox messages. Exchange Server Administration 1
E Java script issue OWA Exchange 2010 Exchange Server Administration 5
R New users creating get page cannot be displayed when accessing OWA Exchange Server Administration 16
D OWA access gives error HTTP 400 bad request Using Outlook 15
S Outlook 2007 crash linked to gdiplus.dll Using Outlook 0
S Outlook 2007 - Automatic purge fail Using Outlook 0
J outlook 2007 doesn't let me choose which .pst to search Using Outlook 2
D Outlook 2007 vs. Outlook 2010 -- ToDo Bar Using Outlook 0
D Outlook 2007 on 365 Using Outlook.com accounts in Outlook 2
S Macro for other actions - Outlook 2007 Outlook VBA and Custom Forms 23

Similar threads

Top