Grouping multiple subscriptions for streaming notifications

Hello,
I want to subscribe to Exchange (ver. 2010) streaming notifications in order to receive events for multiple mailboxes.
I don't want to open a separate connection for each mailbox, although from what I've read so far I need a separate
subscription per mailbox.
I read that it is possible to group subscriptions in batches of 200 so that the number of open connections is reduced. 
I'm trying to do this in java and I have found no information or sample code to help. 
Do I actually need to use impersonation to group subscriptions ? I'd rather not if possible. 
And how can I combine multiple ExternalEWSUrl values as suggested in the link here:
http://blogs.msdn.com/b/mstehle/archive/2013/04/17/changes-in-managing-affinity-for-ews-subscriptions.aspx
I'm actually using a java library that handles all the soap calls so I don't have to worry about this side of things.
Many thanks
Terrie 

Okay, if I change
"SubscribeToNotificationsOnAllFolders" back to "SubscribeToNotifications" then it doesn't error
out but it runs for about a second and I get the following table:
Id              Name                     State          HasMoreData     Location            
Command
33              fbe4a21a-8ad...    NotStarted       False                                
34              e903f16b-2b4...     NotStarted       False                               
$event.MessageData.Open()
Not sure what's going on here.

Similar Messages

  • Creating multiple subscriptions for collaborative site collections under same OU in multi-tenancy

    Hi,
    We have an application that creates host based collaborative site collections and MySite Host site collections. We have created two separate web applications for hosting collaborative site collections and Mysite host based site collections as recommended
    by MS.
    For creation of collaborative site collections, we are creating separate site subscriptions for separate site collections. For example, if a tenant has two collaborative site collections as CSC1 and CSC2, then two site subscriptions are created for two CSCs
    under the same tenant. The reason behind the implementation is as follows:
    There is a 1:1 mapping with the featurepack and site subscription. Now if two site collections are created under the same site subscription, then altering the feature pack of any site collection will affect the other one. Whereas, if separate subscriptions
    are created fro separate site collections, then altering the featurepack of any site collection will not affect the other site collections.
    Now, my concern is, will the basic functionalities of SharePoint, like search, user profile, etc, will break for the above implementation. Is there any technical hazard for the above implementation.
    A quick response is appreciated, as we need to deliver a customer  ASAP.
    Thanks in advance,
    Arnab

    Search and UPSA would be part of the Site Subscription, so I'm unsure as to what you're specifically asking.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Charm:multiple recipients for mail notification

    Hi Experts,
    I'm using Charm and I configured the mail notification when a new change request is created.
    I would know if Is it possible to setup multiple e-mail addresses for the mail notification.
    I follow these steps:
    - transaction BP
    - selected the specific BP
    - selected the tab page "Address"
    - selected the field "E-Mail"
    - selected the button "Other E-Mail adresses (Available)"
    - put three mail adresses
    Now if I send the mail notifaction to this BP the mail is send only to one user.
    Can any one help me to resolve this issue?
    thanks in advance
    regards
    gio'

    Hi Jason,
    I have created the shared distribution list in the solution manager but when I try to put It in the field "E-mail" in the BP the following error appear:
    E-Mail format not valid
    It seems that It's not possible to insert the distribution list in the E-Mail field of the BP.
    Any other idea?
    Thanks in advance for collaboration
    regards
    gio'

  • Multiple recipients for event notifications/alarms

    Is it possible to send event notifications to mutiple email address.
    We use Convergence with latest patch level and Calendar Server 6.3
    Thanks for any hints or howtos
    Edited by: toni1988 on 30.04.2013 08:52

    I believe Calendar Server 6 supports only one notification address. CS7 supports multiple.

  • How to Send Emails to multiple persons for message notification

    Hi ,
    I have a ORG unit & a Postion defined under it . users have been defined under the postion also. However when a message under the respective  ORG unit , the mail goes to 1 person who has been marked with a BP ( BP of orgunit) as mentioned in the Email field of the orgunit .   How do we have different persons notified as mentioned under the Postion field ??
    Regards
    Kumar

    Dear Fr,
    You need to define a group mail and assign this in this Business partner.
    For e.g in the ticket you have a field Developer and there are several Developer
    Then in this case create a Group mail for all the developers
    Assign this to a BP common say DEV and enter the earlier created Group mail in this BP.
    So whenver you have assign the ticket to DEV the group of developer wil get mail.
    PLEASE REWARD POINTS.

  • 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

  • Using Exchange Web Service (EWS) Streaming Notifications for a shared mailbox in Exchange Server, works or not?

    Hi,
    I am planning to develop an application to use EWS managed API streaming notification for listening the new email event of a shared mailbox. Will it will work or not? I knew it works for a personal mailbox, where the authentication of EWS can be performed
    with the associated Active directory account. For the shared mailbox in Exchange Server, is there such an Active Directory account associated?
    Thanks,
    Richard

    >> Are you saying that if an Active Directory account has the access to a shared mailbox, and then this account can be used for creating the Streaming subscription for that mailbox
    Yes that's correct (try it yourself with the EWSEditor)
    >> In other words, the way how Exchange Server works is that the new messages like new emails are automatically sending to all of the AD accounts which have the access to a mailbox.
    Not sure what you mean by this ? A Shared a Mailbox is just like any other Exchange Mailbox if you have rights to the Folder then you can create a subscription against it. There is no automation involved.
    Cheers
    Glen

  • Grouping multiple news items into a single e-mail notification?

    Hi,
    We are on EP5 SP6 and would like to know if anyone knows how to group multiple news items into a single e-mail notification.   
    Thank you.

    Hi Dirk,
    Thanks for your reply. 
    We are looking to have newsletter capabilities in the portal.  A good example would be the "Dev Today Newsletter - News Perspective" available from SDN.  Essentially we would like users of our portal installation to choose the topics/news that they are interested in receiving and the frequency and then get that content in a formatted e-mail in the same manner that the Dev Today Newsletter is received.
    All suugestions on achieving this outcome are welcome and much appreciated. 
    Thanks,
    Rich
    Message was edited by: Richard Maziarz

  • How do I add multiple emails for one contact to the same group list?

    When trying to set up a group email list using address book, is there a way to include multiple emails for the same contact to one group.  For example I'm trying to set up a baseball team group email.  Some kids want emails sent to both mom and dad which have different emails.  I currently have them in my address book as the boy's name with the emails listed as mom and dad.  I can add one "mom" to the list but when I compose the email, it will use the most recent email used.  I would like the group to contain both addresses for mom and dad without setting up to different contacts for the same player.

    var cToAddr = this.getField("saManager").value + ";" + this.getField("ManagerEmail").value;

  • Streaming Notifications for a shared mailbox in Exchange Server, works or not?

    Hi,
    I am planning to develop an application to use EWS managed API streaming notification for listening the new emails of a shared mailbox. Could you please tell it will works or not? I knew it works for a personal mailbox, where the authentication of EWS can
    be performed with the associated Active directory account. For the shared mailbox in Exchange Server, how it works?
    Thanks,
    Richard

    If you are using EWS to access a mailbox other than the one connected to a specific account, you will want to check out EWS impersonation.  I've found it to be more reliable than any other method for accessing a second mailbox.

  • OS X Maverick Multi Display Support for grouping multiple monitors into one display?

    Will the new Mac Pro be capable of grouping multiple monitors into one large display?  Similar to AMD Eyefinity for the purpose of gaming.

    The current Mac Pro, or any Mac released since 1987 that can support multiple displays can ALREADY support combining all attached displays into one Extended Desktop, onto which you can open the gaming window and game across multiple displays. It is built into the System Software.

  • Getting email notifications using EWS streaming notifications for a shared mail box

    Hi,
    I have been trying to get email notification for a shared mailbox using EWS streaming notifications. i am unable to get the notifications. Please can any one tell me how this task can be achieved.
    -Praveen

    I would recommend you to this link
    http://blogs.msdn.com/b/emeamsgdev/archive/2013/04/16/ews-streaming-notification-sample.aspx
    Mark Answered, if it solves your question and Vote if you found it helpful.
    Rohit Arora

  • Create subscriptions - hide admin notification mails for endusers?

    Hi@all,
    if an admin user creates subscriptions for folders and add several endusers as recipients the endusers will get an admin notification email.
    How can I prevent this (means the enduser get no email)?
    Thanks in adcance,
    Andre
    Message was edited by: Andre Kunath

    Hi Andre,
    You can remove the corresponding event updaterecipient under System Admin - System Config - KM - Config - CM - Repository Services - Subscription Service.
    Alternatively, you could create a subscription.NONE channel (CM - Utilities - Channel Originators) with no Originator Address and selected Channel null. And then choose this Originator for the subscription service in question.
    See http://help.sap.com/saphelp_nw04/helpdata/en/6e/798e04b33b11d5993800508b6b8b11/frameset.htm for details, even if the second possibility is not explained completely there.
    Hope it helps
    Detlev

  • Multiple Charges for Subscription

    I have recently been charged multiple times for a subscription.  It is hard for me to explain my frustration with the way Skype handles customer service.  I would appreciate a refund, which I've applied for, and acknowledgment of this problem and assurance that it will be resolved as soon as possible.  Thank you

    fletch.backroad wrote:
    "Hello and welcome to the Skype Community.
    1. Yes. I can see that in your account.
    2. Was your refund application made to the Customer Service unit and on which date? What was the Customer Service agent's advice?"
    1. I applied for a refund today 11/25. 
    2. Your question about a customer service agent is shocking.  I could not, after spending far more time than is appropriate, figure out how to talk to or get a message to a person.  I have not recieved any advice. 
    3. I would like my subscriptions canceled and my multiple charges refunded. 
    Hello
    This Community isn't Customer Service.
    1. Refunds generally take 3/7 days from the date you register the request with Customer Service.
    2. ?? Only our Customer Service unit can generate refunds.
    3. You can cancel your Subscriptions at your account page or with Customer Service.

  • Multiple addresses for one contact in a Group

    I need to add a work address and a home address for ONE contact in my address book to a group. How can I do this without expanding the group and manually adding the other address? I don't want to have to expand the group. Thanks for any assistance.

    Rather than dragging the card in from the Address Book, start typing the person's name. Mail will give you a pop-up menu on choices. Pick one. Then repeat and pick the other. This is less convenient if you want to put someone in a group and send to both addresses in the group... in that case, V.K.'s solution is the best you'll do.

Maybe you are looking for

  • Messages are going to wrong Integration server

    Hi, In out SLD we have many servers like PD1(development) , PQ1, PQ2 etc.. somedays back basis team want to install some patch . so we moved to standbox for someday.. Pleaes note that we did client copy of PD1.. so all interface and we developed will

  • How to load XML file to table (non-XML) with SQL*Loader -- issue with nulls

    I have been attempting to use SQL*Loader to load an XML file into a "regular" Oracle table. All fields work fine, unless a null is encountered. The way that nulls are represented is shown below: <PAYLOAD> <FIELD1>ABCDEF</FIELD1> <FIELD2/> <FIELD3>123

  • Why are my hidden layers showing up in a PDF when i convert it from an Ai file?

    When I convert an illustrator file to a PDF the hidden layers are showing up when openned by a mac or iphone. This does not happen when i send it to people with a pc and is only happening to one person. What could be causing this and how can I fix it

  • Receipt for monthly charges?

    Is it possible to get a receipt showing charges and tax for the monthly Creative Cloud recurring payments? I received an e.mail stating that the payment was made with a link to the "account management page" (store1.adobe.com). From there I can view t

  • How to abort tasks in a Dynamic Action when apex.confirm = Cancel

    I have a text field that has a Dynamic Action attached to it. When the field is changed, the Dynamic Action fires. There are 6 separate tasks in that Dynamic Action. The very first task is a call to apex.confirm. I want to make sure that the user und