简体   繁体   中英

How does Outlook get the address lists from Exchange Server?

We try to get the same Address Lists that Outlook shows.

As of now, we get the Address Lists using an expanded version of Henning Krause's Searching the Global Address List . This worked well during the last year, with on-premise deployments.

Now if you use cloud services, this does not work. The local AD and the cloud AD are synchronized somehow, and they are not trusted. The local AD does contain Exchange schema (the users have msExch... properties set), but it doesn't contain Address Lists, or at least not where the script would like it to be.

However, using some builtin magic, Outlook can get the Address Lists, while the script cannot.

So, how does Outlook get the Address Lists?

Outlook uses the same API as for the stores - RPC over HTTP or MAPI over HTTP to connect to the AB services on the remote computer. It does not use AD API.

Is using Outlook Object Model an option?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM