Question about autodiscover in case of multiple bound namespace

Hi Experts,
I have a question about the autodiscover behaviour. Let's assume we have the below infrastructure:
SiteA :
MBX-Server-SiteA : Member of a DAG
CAS-Server-SiteA : outlook anywhere url = siteA.domain.com
SiteB :
MBX-Server-SiteB : Member of a DAG
CAS-Server-SiteB-1 : outlook anywhere url = siteB-1.domain.com
CAS-Server-SiteB-2: outlook anywhere url = siteB-2.domain.com
We have DB-1 and DB-2 that have copies in both MBX servers.
My question is how does exchange select the access URLs to return in the autodiscover process? I know that it depends on where the mailbox is hosted but can't find details about the process in the technet articles.
Thanks.

There's quite a few details that are involved in the Autodiscover process. First of all - probably the most important thing is that there are 2 stages to the whole process.
In the first stage, the client is simply concerned with getting the address of a CAS server that will help it further. We'll keep things simple and assume your scenario where the client is located inside the network and is domain-joined. The details of the
LDAP query are detailed in
this link. (At the time I was investigating this I've actually went ahead and ran the queries using the ldp.exe client against the Configuration partition of the respective AD domain - it's worth seeing the actual responses.) An interesting trick here is
the 'keywords' attribute that's stamped on those SCP entries. The reason behind it is that you don't want a client located in a site to go half across the globe in order to connect to a CAS server, when there's one available in its own site. One simple way
to get the 'keywords' attribute stamped is through the Set-ClientAccessServer cmdlet, using the -AutodiscoverSiteScope parameter. In your example, you'd probably want to run it against the CAS server in Site A and specify the name of the corresponding AD site
('SiteA') and correspondingly against the 2 CAS servers in Site B (using 'SiteB'). Once the client has got the response to his query, it will attempt to select one server that's handling the site he's in (essentially it will filter the results based on 'keywords'
-contains <client-site>). Now that we got our endpoint we can go to stage 2.
In stage 2, the client will actually use EWS in order to query the Autodiscover service itself running on our target server. There are 2 possible interfaces of accessing the Autodiscover service: POX (Plain Old XML) and SOAP. POX will be targeting the ../Autodiscover.xml
URLS, while the SOAP one will be using ../Autodiscover.svc URLs. Details about this including some hardcoded parts are
here. What happens next is detailed in point 3, section 2.1 The Autodiscover Process
here. This last link is the key to the whole process:
"It provides a list of CAS that has AutodiscoverSiteScope information set for the
Associated AD site of the Database where the client Mailbox is located."
In other words, the CAS is smart enough to return the URLs belonging to a CAS server in the AD site where the client's mailbox' database is active.
My advice is to test this on your scenario. Tests can be done here first-hand: the Outlook's tray icon Test E-Mail AutoConfiguration can be used or alternatively - if you want to see the details in the communication - SoapUI
for the SOAP access method, for POX there's an extension called 'Postman for Chrome' that can be used. I've used all these in my tests back when I was fighting conflicting results from the articles around the web about Autodiscover.
That's a long way of saying we get the AutoD URL of a CAS server closest to the workstation, which then provides the configuration to use which are the the URLs closest to the mailbox  :)
By all means look at the SOAP response, but Outlook will only use POX.  Lync does SOAP along with other 3rd party apps.
Cheers,
Rhoderick
Microsoft Senior Exchange PFE
Blog:
http://blogs.technet.com/rmilne 
Twitter:   LinkedIn:
  Facebook:
  XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Similar Messages

  • Question about using "dumb terminals" for multiple access points

    For both home and a small busniess setting I have been trying to find info about the possibility of using some form of dumb terminal to provide multimple acces points to a single computer rather than a network of multiple computers.
    I would like to use my LCD TVs, (which have AV and PC inputs) as monitors. I am going to purchase a new mac soon, and it seems it would make sense to spend more on 1 mac with more capability rather than 5 mac-minis (yes, I am trying to have 5 access points, with one one mac).
    I have CAT5 running to all the locations I want to use, I also have airport.
    For the most part I'm expecting only one user at a time, but occasional two. OS X is multi user, but can it support simultaneous users?
    I have searched the discussions/forums and some google searching. Maybe I'm asking the wrong questions. But, I can't imagine that I am the only person who has thought of this.
    If you have any thoughts or suggesting for further searching I would appreciate it. Thanks

    On each of these 'dumb terminals' I assume you are looking to access the complete Mac desktop from the central Mac?
    Unfortunately, this can't be done.
    In the past, the setup you describe first was used on mainframes where each end node was a dumb terminal. But it was just text.
    Next came X11 which does mostly what you are asking about, but each end node is basically a full computer in itself. You can remotely log into a central server and get a complete desktop session. This would take using a central computer that is running full X-Windows and then you'd need a PC running Linux, or running Windows and a X-Terminal package like Exceed or a Mac with X11 installed (not sure if you can make the Mac X11 do a full-blown desktop X session.) Note that as the central server, you'd need a computer running an OS with full-blown X-Windows (Linux, Solaris, HP-UX, etc.) -- OS X is UNIX but it doesn't run full X-Windows as its window manager.
    Finally, there is what are called 'thin clients' ... a good example is Sun Microsystems' SunRay... it's enough hardware on the client side to provide display, keyboard and mouse. They boot off a central Sun Solaris server and work just like X-Windows clients. The difference here is that the SunRay unit can't work on its own; it has no disk, and has to boot from the SunRay server.
    And of course there's Windows Terminal Services, which lets you do the same thing with Windows. I think that takes Windows Server edition software on the central computer, and then a regular PC as a client.
    Sounds like your only option is to use Mac minis as you suggest. But then there's no need for a central computer to share, obviously.

  • Quick question about rendering and exporting with multiple presets

    Probably a very simple question but I'm pretty new to PPro, so I'd appreciate your help...
    I've got an uncompressed AVI video that I want to export to mp4 using several presets (that means several exports). What I intend to do is the following:
    I create a sequence and put my AVI file in there and then I just apply the preset and without rendering go to export media, select my export setting, and put it in the encoding queue at the Media Encoder. Then on the same sequence, I clear the preset and apply a new one, and again without rendering, go to export and then to the encoding queue. I repeat this for as many times as presets as I want to apply. At the end I have created (in no more than 2-3 minutes) several exports in the Adobe Media Encoder queue, that I can launch and go and do something else while encoding...
    My question: will the export files each have the different preset applied even though it was not rendered? if it does not work, would that work if I were to do this with each preset applied on a different sequence, even without rendering?
    Thanks in advance for your input!

    I create a sequence and put my AVI file in there and then I just apply the preset.
    Then on the same sequence, I clear the preset and apply a new one, and again without rendering, go to export and then to the encoding queue.
    Does "apply the preset" mean selecting an encoding preset
    before sending the Sequence to the Queue?
    If I understand what you are trying to do...
    It sounds like you want to do multiple, different format
    exports from the same Premiere Sequence.
    If so...
    I would Queue the Sequence to Media Encoder once from Premiere,
    then duplicate the entry in the Queue (Ctrl+D) and assign the
    different encode types to the duplicates in Media Encoder,
    (instead of Queueing the Sequence multiple times).
    ...will the export files each have the different preset applied even though it was not rendered?
    A Sequence will be encoded using the assigned settings.
    You can set multiple encodes in the Queue, each with different settings.
    I'm not sure what you mean by "even though it was not rendered...".
    Unless you have specified 'Use Preview Files' in your encoding,
    it will make no difference if your Sequence is 'Timeline Preview'
    rendered or not.

  • Question about redeploying a Project with multiple packages

     I know that if I make changes to a single package within a project in SSIS 2012 that the entire project must be re-deployed.  Also, I know that the project version is updated when it is re-deployed.   My question
    is about the packages in the re-deployed project that have not changed.  Does anything actually change in the unaffected packages when only a single package is modified?  Do the Identifiers for the all packages change or just the package
    (or packages) that have been modified?  I'd really like to hear from someone with actual experience with this issue.
    Harold Jackson

    Since you rebuild the version of the package gets incremented. No structural changes occur.
    Arthur
    MyBlog
    Twitter

  • Question about reusing "into" videos in multiple projects

    I have a short "into" animation that I want to start all my videos with. Is there a good place to put it so that I can access it in any new project I create? What is the best procedure for doing this. I assume it is a common thing to do.
    Thanks,

    If you had Motion you could create a Motion Effect or Generator for FCP X. Othewise you could just place it into an Event as you'll always have access to that Event and just drag it over.

  • Question about using multiple iPods on the same PC

    I've read the FAQs on this subject but I still have a couple of questions about multiple users with separate iPods using the same PC.
    I want to use my family's desktop (A new Gateway with Vista, if it matters) for my new iPod Classic, but my father already has an iTunes account on there for his iPod. I know I can create a new user account on the PC and move iTunes to a shared folder so that we can share music, but will this second account be able to purchase music from the iTunes store or am I going to have to switch between Windows User accounts to make purchases and then move new songs into my separate iTunes account via the shared folder? Will it be its own separate iTunes account (separate user name, separate credit card used, etc.) or will it just be a second library that's dependant on the first?
    I want to be able to have my own iTunes account, make my own purchases in it, and maybe occasionally share tv shows or something with my father.
    If this can't be done, would I be better off just creating new playlists for our two iPods from the same library, or creating a second library on my Father's account?
    Also, if I want to access things I've purchased from iTunes on this desktop in iTunes on my notebook, will I be able to?
    I hope that made sense.
    Sorry if these seem like silly questions. This will be my first iPod as I'm really excited about the 160gig and want to know if these things are possible.
    Thanks in advance for any help

    Hi, Wes.
    Congratulations on your new iPod Classic and Welcome to the Apple Discussions.
    For no particular reason, let's answer your last question first ...
    ... if I want to access things I've purchased from iTunes on this desktop in iTunes on my notebook, will I be able to?
    The iTunes Store operates on a one download per purchase policy so you will have to copy the purchases from one computer to the other and make sure that you authorize the laptop to play the songs.
    As to your first question ...
    ... will this second account be able to purchase music from the iTunes store or am I going to have to switch between Windows User accounts to make purchases ...
    Whatever XP User Account you are logged in to doesn't really matter. What's important is which Apple Account you sign in to ... yours or your Dad's or - if you had my Apple ID and password - The Mimico Kid's for that matter. You can sign in to any Apple Account on any XP User Account. Or any computer for that matter.
    Where the XP User Account comes into play is that it will determine where on your computer the purchases are downloaded. Files will be sent to the iTunes Music folder as specified in the iTunes Edit menu > Preferences > Advanced tab > General sub-tab. Default settings will have a different location for each User Account - C:\Documents and Settings\ user name \My Documents\My Music\iTunes - but if you've read this article in the Apple Knowledge Base, you will know you can change the location of the iTunes Music folder in each XP Account to a common location such as C:\Documents and Settings\All Users\Documents\My Music\iTunes.
    Post back if all this hasn't been as clear as mud and you need anything clarified.

  • I have a question about using multiple ipads in our school.  Each of our teachers have a iPad and AppleTV in their classroom.  The issue is, with our classrooms so close in proximity to one another, is there a way to pair teacher

    I have a question about using multiple ipads in our school.  Each of our teachers have a iPad and AppleTV in their classroom.  The issue is, with our classrooms so close in proximity to one another, is there a way to pair teacher #1 iPad to its AppleTV without effecting/projecting onto the adjacent teachers #2 classroom AppleTV?

    Not as such.
    Give the AppleTV units unique names and also enable Airplay password in settings with unique passwords for each teacher.
    AC

  • Question about distinct_values for multiple fields

    Hi,
    With the distinct_values() function we can get the distinct value for a specified field, and is there any way to get the distinct value for multiple fields?
    Thanks!

    Hi simpson213,
    According to your description, you have some questions about your report design.
    1. How to have non-duplicating child info?
    In this scenario, since you don't want to hide the duplicate data, we suggest you filter the duplicated records on query level by using Distinct statement. If you want to do it on report level, you can group
    records on chid id and use First() function on other fields. 
    Reference: First Function (Report Builder and SSRS)
    2. How to  have various sections that contain fields with numerous values?
    We can also add these fileds into the child group of child and have them toggled by child id. 
    Reference: Add an Expand/Collapse Action to an Item (Report Builder and SSRS)
    3. How to add a page break between each child?
    Right click on the Row Group(child id)->Page Break->Select between each group instance.
    Reference: Add a Page Break (Report Builder and SSRS)
    4. How to select multiple child id when rendering report?
    When creating parameter, select Allow multiple values in General.
    Reference: Add, Change, or Delete a Report Parameter (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • I bought a Canon 8400F scanner- question about multiple photos being scanne

    Hi,
    I have a question about about scanning photos. It was posted that if you scan something with multiple photos, it will separate the pictures.
    If I put 6 pictures on the scanner, will it automatically scan them and separate them, or is there something in the software where I select it to separate each picture.
    Thank you

    I'm not at my Mac right now but it should be real obvious in the CanoScan software. Open it up and play around. It will jump out at you.
    You don't tell it to select "each" picture. You merely tell it that there are multiple pictures and it then does everything automatically.

  • Hi , i'm new here and i would like to ask a question about iPad 2 . Well , actually when i hold my finger on any icon , its not jiggling , i need to fix the icons . May i know what can i do in this case ? thank you in advance ,

    Hi , i'm new here and i would like to ask a question about iPad 2 . Well , actually when i hold my finger on any icon , its not jiggling , i need to fix the icons . May i know what can i do in this case ? thank you in advance ,

    Try a reset. Hold the Sleep and Home button down for about 10 seconds until you see the Apple logo. Ignore the red slider.

  • General question about iTunes Match and multiple libraries

    Hello to everyone,
    I have a general question about the iTunes Match service, which is available since yesterday in my country (Italy). Currently my library situation is the following:
    Computer A (desktop, Windows 7): "big" iTunes library (about 20 GB), at the moment not associated with my Apple ID
    Computer B (MacBook Air 2011): "small" iTunes library (about 5 GB), associated with my Apple ID
    At the moment, both my iOS devices (iPhone 4 and iPad 2) are synchronized with the smaller library on the MacBook Air.
    Question is as follows: should I subscribe to iTunes Match, would it be possible to upload the "big" library (provided I associate it with my Apple ID) to iCloud while keeping my devices synchronized with the "small" one?
    Ideally, at the end of the day, the situation should be the following: both iOS devices with music from the small library + possibility of downloading songs from iCloud (coming from the big one). Is this possible?
    Maybe the question sounds stupid, but I want to be sure about this before paying for the service.
    Thanks a lot.

    Yes, you could also associate your larger library with iTunes match if you associated your Apple ID with it. However any purchases in the library made from another Apple ID will not be matched with iTunes much.
    If both libraries are part of iTunes match, then all your devices will see all of the content from both libraries, which content you choose to have on those devices and which you have accessible via iTunes match is entirely up to you.

  • A question about foreign key to multiple tables

    Hello everybody,
    I have a question about creating foreign key and I would appreciate if you could kindly give me a hand. Here are my tables:
    CREATE TABLE TEAM1(team_id VARCHAR2(20), project_id VARCHAR2(20));
    ALTER TABLE TEAM1 ADD CONSTRAINT PK_TEAM1 PRIMARY KEY(team_id);
    CREATE TABLE TEAM2(team_id VARCHAR2(20), project_id VARCHAR2(20));
    ALTER TABLE TEAM2 ADD CONSTRAINT PK_TEAM2 PRIMARY KEY(team_id);although the structure of both the tables is exactly the same, the values (in particular team_id) in both tables are different.
    Also I have another table named AGENT
    CREATE TABLE AGENT(agent_id VARCHAR2(20), team_id VARCHAR2(20));
    ALTER TABLE AGENT ADD CONSTRAINT PK_AGENT PRIMARY KEY(agent_id)Now the problem is that the column team_id in AGENT table is actually a foreign key, but the value can be in either TEAM1 or TEAM2. As far as I know a foreign key points only to one table.
    How can I deal with this problem? Whenever there is an INSERT or UPDATE I have to make sure that the value of the column "team_id" in the table "AGENT" is a valid value either in "TEAM1" or "TEAM2"
    Thanks in advance,
    Kind Regards,
    Dariyoosh

    Do you have the ability to change the data model? If so a more appropriate structure may be something like this:
    CREATE TABLE TEAM(team_id VARCHAR2(20), team_name VARCHAR2(20));
    ALTER TABLE TEAM ADD CONSTRAINT PK_TEAM PRIMARY KEY(team_id);
    ALTER TABLE TEAM ADD CONSTRAINT UK_TEAM UNIQUE (team_name);
    CREATE TABLE TEAM_PROJECT(team_id VARCHAR2(20), project_id VARCHAR2(20));
    ALTER TABLE TEAM ADD CONSTRAINT PK_TEAM_PROJECT PRIMARY KEY(team_id, project_id);
    ALTER TABLE AGENT ADD CONSTRAINT FK_TEAM_PROJECT1 FOREIGN KEY (team_id) REFERENCES TEAM(team_id);
    CREATE TABLE AGENT(agent_id VARCHAR2(20), team_id VARCHAR2(20));
    ALTER TABLE AGENT ADD CONSTRAINT PK_AGENT PRIMARY KEY(agent_id);
    ALTER TABLE AGENT ADD CONSTRAINT FK_TEAM FOREIGN KEY (team_id) REFERENCES TEAM(team_id);Edited by: Centinul on Jun 25, 2010 10:50 AM

  • Question about upgrading iTunes multiple computers with shared library

    Greetings,
    I have a question about upgrading to the current version of iTunes.
    Currently, my household uses 3 Mac computers (2 Powerbook 17in laptops and a Mack Mini). We are all (currently) on system 10.4.11 (with iTunes 9.2.1). Between the 3 computers we have a shared iTunes music and video library on a networked high capacity hard drive.
    We recently purchased an iPad. In order to make it easy for updates and to use media from our iTunes shared library I decided that we should upgrade the systems on our home computers to Snow Leopard. I have ensured that all the computers have at lease 2 Gb of RAM and adequate hard drive space.
    The only possible problem I see is that one of the Powerbook laptops uses the old Motorola processor. (This is one of the last Powerbooks to use that processor.) I don’t think this computer can be upgraded to Snow Leopard.
    My question is, if I upgrade 2 of the computers (and iTunes in the process), will I still be able to access the shared iTunes library using the older computer with the older system and iTunes? Will the upgrade process change the iTunes library in such a way that the one older computer will no longer be able to properly access that library?
    Are there any other problems I might encounter having a mixed system/iTunes environment?
    Thank you,
    Tim

    iantoole wrote:
    Just a thought. Should I somehow open iTunes on MBP2 using MBP1's Library file??
    both Macs can access the same library file, however, only one at a time !
    to do that, you would ideally have the entire iTunes folder (not just the iTunes music folder) on the external. then, on one Mac after the other, launch iTunes while holding the option key, click on +choose library+ when prompted, and select the iTunes folder on the external.
    or, you could have two separate libraries and keep those in sync using third party tools such as Syncopation, TuneRanger or SuperSync.
    for purchases from the iTunes store, you could set up _*Home Sharing*_ - it can be configured to automatically transfer new purchases to home shared libraries.
    Can I create a script to have MBP1 always save the iTunes Library file on the shared hard drive?
    no need.
    JGG

  • Question about Local Variables (Multiple answers welcomed!)

    A couple of questions about Local Variables
    1. Programmers always say: “Do not abuse of Local Variables”. I’d like to know, when and where Local variable are most efficiently used?
    2. If I have to create a couple of local variables, is there anyway to “clone” them without going through the repetitive “create/local variables” mouse click each time? (When I try to copy and paste, it creates a new variables instead of the one that I am trying to reproduce)
    3. Which is faster in execution: Updating a variable through a) writing to property node/value or b) through local variable
    Everyone’s input is welcomed, so if this question is already answered, please
    feel free to add additional comments/answers!

    1. Use Local Variables in user interface code and no where else. The only exception is using a local variable of a cluster output to define the datatype for a bundle by name node.
    2. You can drag copy them then right click to get to a menu of all the currently defined controls and indicators on the VI.
    3. B. The problem with A is that it forces a thread switch to the user interface thread--which can take time if you aren't already in it, and it's a very convoluted process under the hood. NI's advice never update indicator values through a property node unless you absolutely, positively can't figure out some other way of doing it.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Question about searching

    Hi all,
    I'm considering Oracle BDBJE for a project that stores visited url's (data) based on a key of ip-address (4 bytes) combined with a date (long) to make the keys unique.
    If want to search on date (ignore ip) do I have to make a secondary database that has the date of the visited url's as primary index?
    Does a method like Cursor.getSearchKeyRange, if supplied with partial key, always search a the beginning of the key? Or could I use it to search for a date by only supplying the date-part of the key? Prop. in this case the bytes for the date will be mistaken for the bytes of the ip-address that comes first in the key.
    Thanks for any help.
    regards,
    Jeroen

    Hi Jeroen,
    I'm not sure I have all of your data model yet, but I think you've given us enough for me to say you should likely try one or possibly two secondary databases.
    If you have not already done so you should review the documentation on Secondary Indexes as found here:
    http://www.oracle.com/technology/documentation/berkeley-db/je/GettingStartedGuide/indexes.html
    Inserting/Modifying records is faster without using a secondary index. But the queries that you have identified would perform better with secondary indexes. But you should experiment with a few different approaches and compare that with your performance goals.
    Also, if you have not already thought about this, I would consider using DPL to implement this, especially since you will be evaluating alternative database designs. You will find that the implementation time is faster and you can also make changes quickly.
    http://www.oracle.com/technology/documentation/berkeley-db/je/PersistenceAPI/BerkeleyDB-JE-Persistence-GSG.pdf
    You know your data best, but based on the info you provided here are my thoughts/alternatives:
    Primary Database key = IP/Date or Maybe Date/IP is better if the Secondary for IP address exists
    data = URL plus other data not sure what
    Secondary Database Key = URL (I left out date because you said it is not likely that the same URL will exist for multiple dates).
    Possible Secondary Database Key = IP address (Which URL's were visited by IP X).
    Again, I think you may want to try out something like this a model your inserts and also your query performance. Feel free to post further questions about any results you are getting as you move forward.
    Also, if you have not already seen this I would keep this URL handy and consult with it before you post:
    http://www.oracle.com/technology/products/berkeley-db/faq/je_faq.html
    I hope this helps!
    Ron

Maybe you are looking for

  • What are the components of a completed BPD set?

    Hello, As you all are aware BPA suite allows you to create a vast host of diagrams. My question, For someone to claim that (s)he has done the COMPLETE set of Business Process Diagrams, aka BPD set, What components are a. Mandatory and b. additional/

  • Output Device with Device Type SWINCF not send to printer

    Hi, We're on SAP R/3 (version 4.7 w/ supporting unicode). In order to display Vietnamese Characters in smartforms, we implement SAP note 812821 to get new device type SWINCF. Everything works find on print preview but when print out form the output i

  • Sun C 5.9 Build13_0 2006/01/06 fails to compile wchar.h

    On both IA-32 and AMD64 systems running Red Hat Enterprise Linux AS release 4 (Nahant Update 1), c89 fails to compile a single-line file containing #include <wchar.h> c89 -c foo.c "/usr/include/wchar.h", line 508: long long not allowed in Xc mode "/u

  • System problem - MAYBE OSX related...?

    I have no definitive answer or resolution thus far for this problem in the forums and wanted to re-summarize it here, one more time, to see if anyone has any other suggestions before i toss in the towel on self-repair efforts and invest in Apple Serv

  • DNS Server Performance

    Hey! I'm preparing my 70-410 exam and would like to  nkow some troubleshooting tips when it comes to DNS server performing slowly. Thanks for your help in advance.