Querying microsoft exchange address book

Hello guys
How can I query the address book of microsoft exchange server using jndi?
Thanks for any help.
a code example would be a great help.

If you are using Exchange 2000 or Exchange 2003, it uses the Active Directory for its address book.
If you are using Exchange 5.5 (an older and probably no longer supported product), it provides it's own directory service that is also accessibile via LDAP. You may be able to find information on it's LDAP implementation at http://www.microsoft.com/technet/prodtechnol/exchange/55/reskit/exc00.mspx

Similar Messages

  • The Microsoft Exchange Address Book was unable to log on to Exchange

    I am currently migrating a exchange 2007 to exchange 2013.
    Exchange 2013 is installed on a seperate Windows Server 2012 server.
    Exhange 2007 is installed on a  seperate Windows Server 2003 R2 server.
    I have moved some mailboxes from exchange 2007 to exchange 2013 and also created some new mailboxes on the exchange 2013 server itself. 
    OWA, ActiveSync , IMAP are all working correctly for those mailboxes , but I am not able to connect to outlook with the exchange option (local connection).
    Outlook 2013:
    When I use autodiscover to connect to the exchange server step 1 & 2 are working correctly (establishing network connection & searching for mailbox settings) but on the 3th step (logging on to the mail server) I receive the following error
    The name cannot be resolved. The Microsoft Exchange Address Book was unable to log on to Exchange. Contact you system administrator if the problem persists.
    When I filll in the exchange server manually (using the normal servername server.hq.corp.domain.local not the guid version) the check name resolves correctly and the profile creation is finishing ok. But when I try to open outlook with that profile it gives
    me the following errors :
    with cached exchange mode selected:
    Cannot start Microsoft Outlook. Cannot open the Outlook windows. The set of folders cannot be opened. 
    You must connect to Microsoft Exchange with the current profile before you can synchronize your folders with your Outlook data file (.ost)
    with cached exchange mode deselected:
    Cannot start Microsoft Outlook. Cannot open the Outlook windows. The set of folders cannot be opened. 
    Microsoft Exchange is not available. Either there are network problems or the Exchange server is down for maintenance
    When I use the Microsoft Connectivity Analyzer it fails on the following step:
    Testing the address book "Check Name" operation for user [email protected] against server [email protected]
    An error occured while attempting to resolve the name. Elapsed Milliseconds: 91 Additional Details: The address book bind operation failed with status -2147221231. NSPI Status 2147746065

    Hi,
    Please run the following command in Exchange server to get Exchange GUID:
    Get-Mailbox UserA | FL Identity,ExchangeGuid
    Then open Outlook, click File > Account Settings > Account Settings > Change (If you can’t open Outlook, go to Control Pane > Mail to change it). In Server Settings, import the [email protected] into the Server box and click Check Name
    to have a try.
    If the name is checked successfully but also can’t open the profile, please close Outlook. In the Start menu, Run command (Windows key + R), type or paste
    outlook.exe /resetnavpane  (Note: Make sure there is a space between the words.)
    Then press Enter (or OK button) to restart Outlook
    Regards,
    Winnie Liang
    TechNet Community Support

  • Importing Exchange Address Book Into Mail

    So I setup my exchange account without any issues but I'm somewhat struggling to figure out how to import my company (exchange) address book. Can anyone assist?

    OK, any Contacts you have on the Exchange Server are now in your Mac's Address Book. Right?
    So I think that you are after the "contacts" that are in the Global Address List, which contains all the addresses within you companies domain and which is maintained on the Exchange Server.
    From what I know the Global Address List is only available when talking against an Exchange 2007 server.
    Apple says:
    "Now with Snow Leopard, the Mac has out-of-the-box support for Microsoft Exchange Server 2007, something even Windows PCs don't have. Instead of using Outlook to access Exchange services such as email, calendar invitations, and Global Address Lists, you’ll use Mail, iCal, and Address Book."

  • Cannot configure to use exchange address book with thunderbird

    Dear Support,
    I have followed the following link to configure exchange address book with my thunder bird client( I am using the latest version), it is working perfectly fine with some computers, but for few it is not working.
    the strange thing is i am not getting any error, when i am typing any name in the address book field it is not giving any results, where as same settings are working fine with other users.
    any help will be highly appreciated.

    sorry forget to post link i followed
    http://community.spiceworks.com/how_to/32654-configuring-mozilla-thunderbird-to-use-your-domain-s-global-address-book

  • How do you backup to iCloud an Exchange Address Book?

    How do you backup to iCloud an Exchange Address Book?

    You can't use iCloud  to back up anything from your Mac.

  • How do I download my Microsoft Outlook address book to my iPhone?

    How do I download my Microsoft Outlook address book to my iPhone?

    See http://office.microsoft.com/en-us/outlook-help/synchronize-outlook-and-apple-iph one-or-ipod-touch-contacts-HA010266802.aspx.  (You have to be using Outlook 2003 or newer.)

  • (Exchange) Address Book will not SYNC

    I've had issues for a couple days now..
    We were struggling with some BESAdmin security issues. but they've been resolved.
    but one of our blackberries out of 4 will not sync with his address book on exchange.
    i've re-activated his account.
    i've pushed service books.
    i've check the PIM settings and they're fine..
    i've tried everything and i'm getting ragged on because he's a boss.
    please help! any tips or ideas..
    it's a 8310 on the Rogers network.. we have 2 others the same model without any problems. 

    So in the Address Book Options the Wireless Synchronization is set to Yes? Was the device wiped and re-activated at any point, or just re-activated?
    I'd try to deleted the Desktop[SYNC] service book, regenerate the encryption key from the device, and undelete the Desktop[SYNC] service book.
    If that doesn't work you can force a sync with the Desktop Manager. First in the Address Book Options change the Wireless Synchronization to No. Then go into Backup and Restore | Advanced. Select the Address Book on the right side and hit Clear. Now go back into the Address Book Options and change the Wireless Synchronization back to Yes. That will force a sync from the Contacts folder to the Address Book on the BlackBerry
    If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
    Remember to resolve your thread by clicking Accepted Solution.

  • Accessing Microsoft Outlook address Book using java

    Hi All,
    Can anyone tell me how can i access outlook address book using java or java script
    Thanks in anticipation,
    Reagrds,
    Preeti Gupta

    www.microsoft.com/java/sdk/default.htm
    support.microsoft.com/support/kb/articles/Q168/9/42.asp
    Hope this helps you.
    Rajesh

  • Lost Exchange Address Book

    After the upgrade to SL, I had many duplicate contacts and groups. Looking in the ~/Library/Application Support/Address Book folder, I found two 'AddressBook-v22' files. I moved the older file to the desktop, and the issue of duplicates was resolved. However, I lost all my connections to the Exchange 2007 address book. What is the best way to resolve this?
    Update -- I did the obvious and recreated the Exchange account in the address book preferences and I am re-connected to our server. But again ... I have a host of duplicate address book entries that show up when I click on 'All Contacts.' They do NOT appear when I select 'On My Mac.)
    Interestingly, I have two AddressBook-v22' files again: One at ~/Library/Application Support/Address Book and another one layer deeper at ~/Library/Application Support/Address Book/Address Book. Interesting to see the nested 'Address Book' directory.
    Message was edited by: Frankns

    Thanks ...
    I ended up doing something I didn't really want to do, that is deleting all my contacts on our Exchange server and retaining my address book records.
    My Exchange contacts came from Entourage, prior to SL, and were mostly simple duplicates. After the upgrade to SL, I had nearly 6,000 entries in my Address Book and response time was beginning to lag.
    Not the best or most elegant choice, but I've never found AB to handle large collections well.

  • Exchange address book limit - 1500 contacts?

    Is it possible that LG or Verizon has put a limit of 1500 contacts on the address book?  That's what I seem to be running up against for my Exchange account. Sync stops precisely at 1500.  If I delete a few old contacts, and then resume sync, it stops again at 1500.
    Called VZN, and ended up getting put through to an LG support person who kept telling me to upload my contacts to my Gmail account.

    Here's the thing..
    With Address Book App on the MAC connected to an exchange server, when you delete a contact it just disappears. It doesn't go in the trash- on the mac, in the address book app (yes, I know there is no trash in the address book app.), or on the OWA interface.
    When you delete a contact from within OWA, it goes in the trash folder. When you delete a contact within Entourage it goes in the trash folder.
    When you delete a contact from Address Book while on an exchange server, unless you restore from that servers backup, it is gone for good.

  • Reading exchange address book with javamail

    Hello guys
    does anybody know how to read an exchange server address book with javamail ?
    Thanks for any information

    I never think JavaMail could read the address book from exchange server.
    I think you should make sure if the exchange has a pai supporting this function
    java email verify
    http://www.wisesoft.biz/

  • The action cannot be completed. the connection to microsoft exchange is unavailable

    Hi dear.
    We have exchange 2013 and we want auto configure outlook 2007,2010 and 2013. In first time when we are setup exchange 2013 we can auto
     configure outlook. But I don’t know now we cannot configure outlook. I think when we make some change in exchange certificate ( created by exchange in first time ) and after that we cannot configure outlook. Just we can set up pop3 and imap
    for outlook. Now we have outlook with pop3 and outlook web app ( OWA ) and we don’t have problem with them, but we want our client see the all contact list in outlook. When we want configure outlook with Microsoft exchange server we get the error “ 
    the action cannot be completed. the connection to Microsoft exchange is unavailable “.please help me. I don’t know how I solve the problem.

    hi.
    ok. this is the out put of autodiscover url in address bar :
    ""  <?xml
    version="1.0" encoding="utf-8" ?>
    - <Autodiscover
    xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
    - <Response>
    - <Error Time="10:30:23.5154338"
    Id="3405091169">
      <ErrorCode>600</ErrorCode>
      <Message>Invalid Request</Message>
      <DebugData
    />
      </Error>
      </Response>
     </Autodiscover> ""
    thanks for your help.
    If it returns error code 600, your autodiscover service should be accessible in Exchange server. Please restart Microsoft Exchange Address Book service in Exchange server, then create a new Outlook profile in Outlook to have a try.

  • The action cannot be completed. The connection to Microsoft Exchange is unavailable. outlook must be online or connected to complete this action

    I have outlook 2013 and am trying to add an exchange 2010 multi-tenant account.
    I have created a new profile.
    I select Manual setup or additional server types
    Then select Microsoft Exchange Server or compatible service
    I enter the server settings. But the following error is returned when i click check name
    "The action cannot be completed. The connection to Microsoft Exchange is unavailable. outlook must be online or connected to complete this action"
    I have tried selecting more settings, selecting security, and then selecting the option:- Always propt for logon credentials.
    But the same error is still returned
    I tried deselecting the option Encrypt data between Microsoft outlook and Microsoft Exchange
    But still continue to get the same error.
    Reading from other forums I have tried restarting the Microsoft Exchange Address book service under services on the exchange server.
    But this did not help either
    i am able to access the email accout via outlook web access. I am also able to add the email account to my iphone with the server details and it adds fine onto my iphone but cannot add it to outlook 2013.
    any help would be appreciated.
    Thanks
    Rehan Miah

    Hi,
    This issue may occur when the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders registry key does not contain all of the required data. Specifically, these problems occur if the
    AppData string value is missing from this registry key.
    NOTE: The \User Shell Folders key also contains a string value called
    Local AppDatawhich is different from the value called AppData. The value that causes this problem (if it is missing) is the
    AppData value.
    To resolve this issue, import the User Shell Folders registry key from a working Windows User Profile.
    For more information, please refer:
    http://support.microsoft.com/kb/2264398
    Hope this helps.
    Best Regards,
    Steve Fan
    TechNet Community Support
    I have looked in the registry and Appdata is not missing it has the following value "%USERPROFILE%\AppData\Roaming" also Local AppData is there with the following value "%USERPROFILE%\AppData\Local" i do not have a working machine to import the user shell
    folders registry key so any other advice would be useful.
    thanks
    Rehan Miah
    In order to test what you suggested i created a windows 7 virtual machine installed outlook 2003 however i also get the error on the virtual machine that i have created.
    any further suggestions would be a great help.

  • Address book entries don't sync to iPhone

    There appears to be a category of entries in my Address Book that don't sync to my iPhone 4S.  Instead of having the word "Work" or "Home" in front of the email address, it contains "email 1", "email 2", etc.  Editing the item doesn't reveal "Work" or "Home".  Any ideas on how to fix this?

    Those contacts probably live in a Microsoft Exchange address book.
    Click on the red "book mark" in Address Book to display the lists of contacts in the left-hand page, and see if you have an Exchange server configured (it would show up under an "On My Mac" section, with a name configured in Address Book preferences).
    You can either configure your iPhone to communicate with the Exchange server, or drag those contacts into the "All on My Mac" category (or another contact group on your Mac).
    Hope this helps!

  • Contact Pictures in Address Book Vanish When dragged to Exchange Server ???

    Forgive me in advance if this has been solved and then please direct me to the right link - however this problem is really becoming a deal breaker for me because so much of my intranet software pulls from contact images
    I have a brand new Macbook Pro clean installation and after setting it up I linked it to my 07 Exchange server and pulled down my contacts it worked flawlessly and i thought all was well - Every field including the notes section and pictures transferred.
    Then when I edited pictures in address book contacts under the on my mac section and copied them to my exchange address book the contact transfers but the picture is missing - after the initial transfer of contacts from my exchange server it happens vice versa also if i take a contact on my exchange server with a picture and drag it to address book (in the address book application) it deletes the picture
    Alot of my applications pull from my exchange contact database and I rely heavily when replying to calls or messages at looking at the picture when it pops up on my screen
    Apple support said they are sort of aware of this issue and there is a work around but they dont know what it is ??? and recommended that i ask on the forum
    Any help on this issue would be greatly appreciated Im at my wits end or does address book just not work right ? - Oh and one more thing when clicking on a contact on the exchange server from address book i can edit a contact but i cant edit the picture field either
    Someone tell me something'
    Thanks

    I'm having the exact same problem... worked fine until I did a clean install Last week.
    anyone figured out a fix or workaround ?

Maybe you are looking for

  • How do I use Right Click Functionality in Captivate 5

    Hello there, I am trialing Adobe Captivate 5, with a view to purchasing it, and I have been loving it, but have hit a snag.  My Right Click actions are not working except with the web preview.  I noted from the manual a lot of restrictions and from r

  • Encore DVD Writing Cancels won't play on DVD player issue

    So I have a very confusing issue with encore. When I press build everything works fine. Then writing begins. The moment the writing reaches the end of the progress bar (the exact moment)  the progress bar goes to empty and the bottom bar says canceli

  • I am having trouble pairing my iphone 5s with my 2014 toyota corolla.

    I recently switched from Blackberry to iphone.  I was told my car (2014 corolla with tech pkg) would work better and be more functional with iphone.  I have lost all functionality of the bluetooth message system.  Is anyone else having this issue doe

  • Mountain Lion - Safari 6 and Private Browsing

    Safari 6 - Mountain Lion. If I enable Private Browsing, I am not able to read a new page. To do an example: If I have active yahoo page and I try to resume an other internet page (i.e. repubblica) from top sites page, the address change, but no refre

  • Error when connecting to database from connection manager

    New installation of JDeveloper 11r2. java.lang.NullPointerException      at oracle.dms.context.DMSContextManager.getContext(DMSContextManager.java:437)      at oracle.dms.context.ExecutionContext.get(ExecutionContext.java:445)      at oracle.dms.cont