Office 365 Streaming Notifications, "One or more subscriptions in the request reside on another Client Access server."

Hello all,
I am maintaining a part of our product that requires monitoring mailboxes for events.  This is currently being done by using streaming connections for getting the notifications.  Our solution has been successful for situations with smaller numbers
of mailboxes, ~200 or less.  However we are seeing some issues when scaling up to say, 5000 mailboxes.
The error and the sequence leading up to it are as follows:
Make an Exchange Service Account.
exchSvc.ConnectionGroupName = someGroupName;
add to the httpheaders ("X-AnchorMailbox", userSmtp) and ("X-PreferServerAffinity", "true");
create a new impersonated UserId for the userSmtp address that is our anchor mailbox.
set the Exchange Service account ImpersonatedUserID to the one we just made.
ExchangeServiceAccount.SubscribeToStreamingNotifications(new FolderId[] { WellKnownFolderName.Inbox }, _mailEvents);
to this point everything was successful, saw no error messages.
we create a second impersonated UserID for a different mailbox, and repeat the process above from that step forward.  Upon the final step, subscribing to the streaming notifications we get the error:
Exception: Microsoft.Exchange.WebServices.Data.ServiceResponseException: One or more subscriptions in the request reside on another Client Access server. GetStreamingEvents won't proxy in the event of a batch request.
This is only the second subscription that we are trying to add to this connection, and it is to a different mailbox than the first.
Can anyone please help point me to where this is going wrong?

>> Is there a good way to verify the number of subscriptions in a group?
Not that I know of you should be tracking this in your code there are no server side operations in EWS to even tell you if there are active subscriptions on a mailbox.
>>The error I am getting is on the second subscription in a new group, just after doing the anchor mailbox so I don't think we are hitting the 200 limit. 
It's hard to say without seeing your code but it sounds like there is problem with your grouping code. One way to validate this is that with every request you make with the EWS managed API there is a
RequestId header http://blogs.msdn.com/b/exchangedev/archive/2012/06/18/exchange-web-services-managed-api-1-2-1-now-released.aspx
you should be able to give that RequestId to the Office365 support people and they should be able to check the EWS Log on the server and tell you more about what's happening (it maybe server side bug). Something doesn't quite add up in that the X-BackEndOverrideCookie
is what ultimately determines what server the request ends up at and the error is essentially telling you its ending up at the wrong server (have you looked at the headers on the error message?). Is it always one group of users that fails have
you tried different groups and different combinations etc.
Cheers
Glen

Similar Messages

  • EWS - Office 365 - "One or more subscriptions in the request reside on another Client Access server. GetStreamingEvents won't proxy in the event of a batch request."

    Hello
    My goal is to subscribe for streaming notifications for multiple users in the same time.
    One way to do that is to create multiple  StreamingSubscriptionConnections each one should contain one  StreamingSubscription for each user. The problem with this method is that in Office 365 the maximum
    number of connections opened is 20.
    Another method to solve this problem is by creating one StreamingSubscriptionConnection and then all StreamingSubscriptions for each user to the connection. This method solves the maximum number of connections
    problem and it works fine with exchange onPrimises. But when trying it with Office 365 it will result with the SubscriptionError:
    "One or more subscriptions in the request reside on another Client Access server. GetStreamingEvents won't proxy in the event of a batch request."
    Can anyone help me here ? 

    With Office365 you need to Group your subscriptions and set the Affinityheaders see
    http://msdn.microsoft.com/en-us/library/office/dn458789(v=exchg.150).aspx and
    http://blogs.msdn.com/b/mstehle/archive/2013/07/17/more-affinity-considerations-for-exchange-online-and-exchange-2013.aspx . Take note of the restrictions on the Group and other throttling restrictions if your using only one service account.
    Cheers
    Glen

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information. Outcome: Unknown Error

    Received this error (The workflow could not update the item, possibly because one or more columns for the item require a different type of information.) recently on a workflow that was
    working fine and no changes were made to the workflow.
    I have tried a few suggestions, i.e. adding a pause before any ‘Update’ action (which didn’t help because the workflow past this action without incident); checked the data type being written
    to the fields (the correct data types are being written); and we even checked the list schema to ensure the list names and the internal names are aligned (they
    are), but we still cannot figure out why the workflow is still throwing this error.
    We located the area within the workflow step where it is failing and we inserted a logging action to determine if the workflow would execute the logging action but it did not, but wrote the same error message.
    The workflow is a Reusable Approval workflow designed in SharePoint Designer 2010 and attached to a content type. 
    The form associated with the list was modified in InfoPath 2010. 
    Approvers would provide their approval in the InfoPath form which is then read by the workflow.
    Side note - items created after the workflow throws this Unknown Error some seem to be working fine. 
    We have deleted the item in question and re-added it with no effect. 
    Based on what we were able to determine there don’t seem to be any consistency with how this issue is behaving.
    Any suggestions on how to further investigate this issue in order to find the root cause would be greatly appreciated?
    Cheers

    Hi,
    I understand that the reusable workflow doesn’t work properly now. Have you tried to remove the Update list item action to see whether the workflow can run without issue?
    If the workflow runs perfectly when the Update list item action is removed, then you need to check whether there are errors in the update action. Check whether the values have been changed.
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information using Update Item action

       I got error  "The workflow could not update the item, possibly because one or more columns for the item require a different type of information "I  found out the cause is  Update Item action       
    I need to update item in another List call Customer Report ,the field call "Issues"  with data type  "Choice"   to yes
    then the error arise .   please help..

    Thanks for the quick response Nikhil.
    Our SPF 2010 server is relatively small to many setups I am sure. The list with the issue only has 4456 items and there are a few associated lists, eg lookups, Tasks, etc see below for count.
    Site Lists
    Engagements = 4456 (Errors on this list, primary list for activity)
    Tasks = 7711  (All workflow tasks from all site lists)
    Clients = 4396  (Lookup from Engagements, Tslips, etc)
    Workflow History = 584930 (I periodically run a cleanup on this and try to keep it under 400k)
    Tslips = 3522 (Engagements list can create items here, but overall not much interaction between lists)
    A few other lists that are used by workflows to lookup associations that are fairly static and under 50 items, eg "Parters Admin" used to lookup a partners executive admin to assign a task.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • One or more files in the Adobe Application Support folder...

    Upon opening Photoshop CS5 I have the following message displayed on the screen. I have uninstalled and re-installed Photoshop but it did not make a difference., the message keeps showing up. It is getting annoying and I have no idea which files are missing. Anyone know how to fix this? I am copying the message here:
    One or more files in the Adobe Application Support folder, necessary for running Photoshop, are missing.  Please run the Photoshop installer and re-install Photoshop.

    It's not a systemic problem, no.  Photoshop CS5 can certainly run without an error message.
    Was it working without the error message on your system at one time?
    Have you made any changes to the files supplied as part of Photoshop?
    An uninstall (possibly via the Creative Suite Cleaner Tool) followed by a reinstall will probably get you working again.
    -Noel

  • Is there a way to remove one or more words in the dictionary list of auto-completion?

    Is there a way to remove one or more words from the dictionary list of auto-completion?

    Hi Gordon,
    Auto-completion does not involve the dictionary. The process is dynamic, and remembers the text string you have entered into each cell. The auto completion list is constructed using data you have entered into cells above the one you are currently working with. Suggestions presented contain the same character string as a previous entry in that column. Editing the list presented is not possible.
    Auto-Correction does involve the spelling dictionary. It monitors the text as you type. If it finds an 'unregognized word,"' AND has more than one suggestion as to the 'correct' word, it opens a dialogue, giving you a chance to choose one of the suggestions, enter your own corection, or to accept the current spelling. If there is only one suggestion offered, Auto-correction automatically replaces the unrecognized word wth that suggestion.
    Regards,
    Barry

  • E book" it tells me that the bI have prepared a photobook, made a pdf and when I press "buy the book is missing photos on one ore more pages. The book does not miss any photos or text, all layouts are ok, the background color is ok. Can anybody help me?

    I have prepared a photo book, made a pdf and when I press "buy thhe book" it tells me that the book is missing photos on one ore more pages. The book does not miss any photos or text, all layouts are ok, the background color is ok. Can anybody help me?

    You are missing one or more photos - youprobably have a page background that requires a photo which is behind a page with photos on it - all pages must either have a photo or be a color - if you have a gray background it requires a photo - look through the book carefully and be sure to look at the background on any full page photos - you will find one or more missing photos
    LN

  • MacBook 2006 w/Snow Leopard; HP B210 printer; print problem; error message: One or more components of the HP printing software are corrupted or missing. Reinstalled software but Mac will not cause printer to print.

    ? MacBook 2006 w/Snow Leopard; HP B210 printer; print problem; error message: "One or more components of the HP printing software are corrupted or missing..." Reinstalled software but Mac will not cause printer to print.  My MacBook Pro works fine with same wireless printer.

    Hi ArielAce , thanks for getting back to me!
    I would recommend downloading and running the HP Print and Scan Doctor.
    Please keep me posted!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Just had help installing cc 2014. get this dialog box when i open the app. One or more files in the adobe folder necessary for running photoshop are missing. Help

    Just had help installing cc 2014. get this dialog box when i open the app. One or more files in the adobe folder necessary for running photoshop are missing. Help

    Please Run the Cleaner tool to remove Ps CC 2014 :http://www.adobe.com/support/contact/cscleanertool.html .
    Restart your system and then try installing Ps CC 2014 again.
    Regards,
    Ashutosh

  • Office 365 installed, can't choose Word 2007 as the default program for docx and doc files

    I have a client who just installed Office 365 on his Windows 7 PC. He still has Office 2007 installed. He's struggling with the changes in Word 2013 and wants me to uninstall Office 365. I thought I'd just set the default program association for .docx and
    .doc programs to Word 2007 but that doesn't seem possible. I can choose Default Programs, Associate a file type etc., and find the .docx extension. The current default is Word (desktop). I highlight the .docx extension and choose Change Program. The older
    version of Word isn't listed so I click Browse and find Program Files\Microsoft Office\Office12\winword.exe. Click OK, OK, OK, etc, but .docx files still open in Word 2013. The Default Program applet evidently sees all versions of Word as the same and refuses
    to change the association. How do I accomplish this ridiculously simple task?

    Fixed. Used a great little app from NirSoft called
    FileTypesMan. The built-in Windows utilities are getting worse by leaps and bounds.

  • Stream 8 Tablet's free one year Office 365 Personal and One Drive extra spaces

    1. How to enable the free one year Office 365 Personal subscription? I can only active the trial one month Office 365 Personal subscription.
    2. How to active the additional storage space for One Drive with the purchase of the Stream 8 Tablet?

    I called HP local support here in Hong Kong January 2, 2015 around 11:00am, after checked with my settings the HP support person promised to email me the solution/fix.
    I have yet receive any such respond from HP support.
    I have online chat with Microsoft Office online support, they inform me that the activation key should included in the box of the Stream 8 Tablet.
    Mind you that it is against Hong Kong law "The Trade Descriptions Ordinance, Chapter 362" for 'Misleading Advertising'.

  • Office 365/Share point one Drive site name change ?

    We use Office 365 and the One drive in our organization and ADFS  setup to sync users from Active Directory to create and manage users in 365. A problem we've discovered is that when a users name changes (married) I can change it in AD and that will
    show in 365 but the users sharepoint site to one drive still shows the original name so for example if jsmith changed to jjones the original sharepoint onedrive site is
    https://crdistrict-my.sharepoint.com/personal/jsmith_OURDOMAIN/_layouts/15/start.aspx#/Documents/Forms/All.aspx
    and the new one should be
    https://crdistrict-my.sharepoint.com/personal/jjones_OURDOMAIN/_layouts/15/start.aspx#/Documents/Forms/All.aspx
    I found in the Admin console under sharepoint settings etc places to update the user to the new name and I make the change and hit save and close and in a few min its back to the original. It won't let me change it. Anyone else run across this
    Jason

    Hi,
    I understand that you stay in the Office 365 admin Center, when you click the SharePoint option, you get the error page.
    I recommend to enter the URL as below in the Brower to check whether the account can access SharePoint admin Center.
     https://sitename /_layouts/15/online/SiteCollections.aspx
            Here is a similar thread for
    your reference:
    http://community.office365.com/en-us/f/148/t/192116.aspx
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • I can't seem to make a working profile to connect to office 365 on a windows 7 pc with only the mapi cdo runtime version 6.5.8320.0 installed using mfcmapi nor programmatically

    Hi,
    I have been struggling with this for a few days now.
    i have pc where no outlook is installed, where i installed the MAPI CDO Runtime may update (version 6.5.8320.0). i checked in the registry that the default mail provider was set to exchangemapi (HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail) .. it is.
    I downloaded the lastest version of mfcmapi, which i believe was the version of december 2013
    but i can't seem to create a profile for office 365 in it. I followed http://blogs.msdn.com/b/dvespa/archive/2013/05/21/how-to-mfcmapi-create-mapi-profile-exchange-2013.aspx and then i changed the properties to what was proposed here http://blogs.msdn.com/b/dvespa/archive/2013/07/15/create-profile-connect-mfcmapi-to-office-365.aspx
    That did not work, i keep getting an error one ore more properties are invalid when i try to use that created profile to connect to office 365 (from within mfcmapi).
    I also changed some of those proposed values to what autodiscover was telling me like setting PR_PROFILE_RPC_AUTH_PACKAGE to RPC_C_AUTHN_ANONYMOUS which should be the value $8000F001 instead of RPC_C_AUTH_NONE (at least i think so)
    I builded a simple program to encrypt my password using CryptProtectData and entered the value using mfcmapi in PR_PROFILE_AUTH_PASSWORD as was suggested in the last page.
    but nothing seems to work, i keep getting wrong configured errors and i'm totally clueless atm. This is supposed to work right on a pc where outlook is not installed ?
    I also tried this on another pc where outlook 2010 is installed and i am able to create the profile there and connect without a problem given that i enter the logon credentials once and let them be remember (they get stored / cached in the windows key store,
    like when using CREDWRITE function) from then on i can connect without a problem.
    also when calling configuremsgservice on the EMS service i created for a new profile in mfcmapi and let the UI show i can see on the pc where outlook is installed in the UI options to enter proxy information however when i do the same thing on the pc
    where only the mapi cdo runtime is installed i do not see any UI option to configure the proxy server information ... is this normal ?
    Hopefully someone can shed some light on what i'm doing wrong or might be wrong.
    Thanks in advance
    Willems Davy

    The window would open and I would get the hourglass cursor suggesting something was happening, but the Apple home page (default from the install) would not load, nor would any other page I tried (google, yahoo, cnn).
    Even though it's about a different application, I'd try the following document with that:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    (Safari uses the same webkit engine to render web pages as iTunes uses to render the Store pages. So an issue that can cause the iTunes Store to blank can also cause a Safari for Windows application on the same PC to produce blank pages.)

  • Office 365 Files REST API - Get direct children in the root of the default document library

    I'm trying to work with Office 365 Files REST API which works just fine except one thing that I'm struggling with.
    What I need for my application is to make an explorer like browse capability for OneDrive for business Document Library.
    My problem is that I don't know how to get the direct children in the root of the Document library
    The API request
    GET ../_api/files will
    retrieve all files and folders in the default document library, including files and folders from sub-directories.
    What I need is basically the functionality of the API request
    GET ../_api/files(<folder_path>)/Children
    that works also for the root folder of the Document library. The problem is that I couldn't find a way set <folder_path> as the root folder. 
    I found out that the API call ../_api/web/getfolderbyserverrelativeurl(<folder_server_relative_path>)/Folders and _api/web/getfolderbyserverrelativeurl(<folder_server_relative_path>)/Files works as expected resulting the only the direct
    children of the root folder if the folder_server_relative_path is the path of the document library. The problem with this API call is that it's requires server relative path of the (default) document library (which i don't have) and the result has a different
    schema compared to the ../_api/files REST API call.
    Can somebody help me with this problem?
    David

    First thanks for the fast answer. Let me explain my use case in more details.
    I'm trying to work with the new summer release of the
    Office 365 API tool for Visual Studio 2013 (update 3)
    I found no reasonable way to retrieve the direct children of the root folder from my One Drive for business Document Library using the newly added SharePointClient library.
    The API call of `SharePointClient.Files` will retrieve all the files and folders from the whole document library including sub-folders. So in order to get only the direct children I have to page through all the documents and folders and analyze their URL, which
    is not acceptable for my application scenario. For a sub-folder I can get the direct children like this: `SharePointClient.Files["<folder_id>"].ToFolder().Children` This is what I need but it can't be applied to the root folder.
    So what I did I've checked what REST API calls this library makes and I've tried to find out if there is a way to achieve my goal at least using direct REST API call. It seems like the functionality is missing from the REST API itself. 
    The http://site
    url/_api/web/lists/GetByTitle(‘libraryname’)/items API call also retrieves all the items hierarchy from the library (including items from sub-folders) and the result XML "schema" (fields and the meaning of the ID) differs from the one used
    by the calls by SharePointClient library. (for example the "Id" is a number when the /items is called but when
    /_api/files is called the "Id" is the relative path to the document library)
    Basically what I need can be achieved with the call to http://site url/_api/web/lists/GetByTitle(‘libraryname’)/rootfolder/files and http://site
    url/_api/web/lists/GetByTitle(‘libraryname’)/rootfolder/folders but again the schema of the result differs from the one used in SharePointClient
    library. This means that in order to get  the direct children of the root I will need to re-implement a good part of the SharePointClient library. It seams like there is 2 kind of REST API is implemented. ( missing  "Id" and "url"
    fields, etc)
    Also there is no convenient way to get the Name or the GUID of the default document library which the SharePointClient.Files
    (https://site_url/_api/file) automatically
    uses. The DiscoveryContext.DiscoverCapability for "MyFiles" doesn't gives any hint either.
    David

  • Windows Media Player Cannot rip one or more tracks from the CD

    http://farm3.static.flickr.com/2443/5710817524_d48bd2f72e_b.jpg
    http://farm4.static.flickr.com/3136/5710819548_669c665675_b.jpg
    http://farm4.static.flickr.com/3473/5710257413_9c6e03214e_b.jpg
    I have tried to fix it. However, it is not work. The methods i have used which are 
    (from: DT20Three) open windows media player, click Organise -> Manage Libraries -> Music and make sure you aren't referencing any unavailable locations. For me, I was referencing an old hdd location for my music. Remove this dead location and update
    your default save location and all is good.
    (From Vivian Xing) You can also try the following steps:
    1. Load Windows Media Player.
    2. Click Tools\options\devices\ then choose properties of the CD reader and enable Digital for both ripping and playback, uncheck "Use error correction", click OK.
    3. Click Rip music tab, change the Audio Quality to another value (higher or lower than 128kbps). Click OK and then try to rip.
    (from Roi A. _) Edit: Also there is a problem with the Rip music tab: 1- nothing happens when i click change save location and it doesn't show the place where it saves now. 2- if I change a setting in the Rip tab and click save or apply, it says "The settings
    for ripping music could not be applied."
    (from Vivan Xing) I suggest resetting it as below:
    1. Open Control Panel/Programs and Features.
    2. Click "Turn Windows features on or off" in the left pane.
    3. Expand "Media Features", uncheck "Windows Media Player". Click "Yes" to continue, and click OK to quit. Then Restart.
    Note: If you turn off WMP, Windows Media Center will be turned off either. You may need to re-configure settings for Windows Media Center after re-enabling it.
    4. Open "Turn Windows features on or off" again. Turn on the features "Windows Media Player" and "Windows Media Center". Restart.
    5. Launch Windows Media Player, initialize the program.
    You can also try restoring Media Library as Zachd mentioned.
    [The only one method I didn't try is Insert the Windows 7 DVD, it is because I scared if I click install, I might loose all the files in my computer]
    Please, I hope there is someone can solve my problem.
    Thank you.

    http://farm3.static.flickr.com/2443/5710817524_d48bd2f72e_b.jpg
    http://farm4.static.flickr.com/3136/5710819548_669c665675_b.jpg
    http://farm4.static.flickr.com/3473/5710257413_9c6e03214e_b.jpg
    I have tried to fix it. However, it is not work. The methods i have used which are 
    (from: DT20Three) open windows media player, click Organise -> Manage Libraries -> Music and make sure you aren't referencing any unavailable locations. For me, I was referencing an old hdd location for my music. Remove this dead location and update
    your default save location and all is good.
    (From Vivian Xing) You can also try the following steps:
    1. Load Windows Media Player.
    2. Click Tools\options\devices\ then choose properties of the CD reader and enable Digital for both ripping and playback, uncheck "Use error correction", click OK.
    3. Click Rip music tab, change the Audio Quality to another value (higher or lower than 128kbps). Click OK and then try to rip.
    (from Roi A. _) Edit: Also there is a problem with the Rip music tab: 1- nothing happens when i click change save location and it doesn't show the place where it saves now. 2- if I change a setting in the Rip tab and click save or apply, it says "The settings
    for ripping music could not be applied."
    (from Vivan Xing) I suggest resetting it as below:
    1. Open Control Panel/Programs and Features.
    2. Click "Turn Windows features on or off" in the left pane.
    3. Expand "Media Features", uncheck "Windows Media Player". Click "Yes" to continue, and click OK to quit. Then Restart.
    Note: If you turn off WMP, Windows Media Center will be turned off either. You may need to re-configure settings for Windows Media Center after re-enabling it.
    4. Open "Turn Windows features on or off" again. Turn on the features "Windows Media Player" and "Windows Media Center". Restart.
    5. Launch Windows Media Player, initialize the program.
    You can also try restoring Media Library as Zachd mentioned.
    [The only one method I didn't try is Insert the Windows 7 DVD, it is because I scared if I click install, I might loose all the files in my computer]
    Please, I hope there is someone can solve my problem.
    Thank you.
    (from: DT20Three) open windows media player, click Organise -> Manage Libraries -> Music and make sure you aren't referencing any unavailable locations. For me, I was referencing an old hdd location for my music. Remove this dead location and update
    your default save location and all is good.
    Thanks a lot you were very helpfull for me thanks againn .
    Ah sorry for my impolite . HUPPY NEW YEAR MY FRIEND FROM GREECE

Maybe you are looking for

  • Skype download icon won't go away?

    Last night I downloaded Skype on my MacBook Air that I bought a few weeks ago. I downloaded it from Skype.com, and everything seemed normal. I can now call and talk to friends and family on Skype from my laptop. However, once Skype downloaded, an ico

  • How to "properly" enable the mic on GT60 Dominator?

    Its not the apps im using its the mic, I tested it with Skype, Steam chat, and window sound recorder they're all have the same result, very poor quality. They sounds like im far away from the laptop even though I was very close to it! I use a headset

  • Photoshop CS5 Prefs.psp

    I deleted the Adobe Photoshop CS5 Prefs.psp file from the user Library.  How do I get it back?  I did this because upon quitting Photoshop, before I deleted the Prefs.psp file, a window appears that read: "Could not save Preferences because the file

  • Do I have a 1st or 2nd Generation Nano?

    help - can anyone tell me how i know if my new nano 2gb black with a silver back is 1st or 2nd generation? I bought it direct from apple as reconditioned a couple of weeks ago

  • Google docs malware on my Mac ?

    I opened one of those links to Google docs, which were malware. I know they are aimed at Windows - do I need to worry about it on my Mac?