Can a Transport Rule reference a web service? (Full Version)

All Forums >> [Microsoft Exchange 2013] >> Message Routing



Message


DBecker -> Can a Transport Rule reference a web service? (1.Dec.2016 12:34:03 PM)

Problem:

I have a large number of users that, for the sake of argument, like Dogs, Cats, Birds, and/or Mice.

The idea is to have users be able to mail each other but if the subject line says "Dog" then anyone who is not a Dog person will not receive it.

Example:

User : Likes
Amy : Dogs, Cats
Bob : Dogs, Birds
Carl : Cats, Birds, Mice
Dana : Mice
Fred : Dogs, Mice

If Amy sends an email to everyone and the email has the word "Dog" in the subject line then only Bob and Fred should receive the email.

There does exist a web service that I can use which will tell me if a given user belongs to a given group. I'm dealing with ~20 different groups which makes for a very large number of combinations, so I don't think a Distribution List will help here.

I'm hoping to have an outgoing transport rule reference the web service, but I couldn't find examples of that, so I'm not sure if it can be done or not.

Any ideas?




Admin -> RE: Can a Transport Rule reference a web service? (2.Dec.2016 11:21:05 AM)

I have a feeling that distribution lists are still a way to go as you will end up with that many rules as well...




DBecker -> RE: Can a Transport Rule reference a web service? (5.Dec.2016 8:21:26 AM)

quote:

ORIGINAL: Admin

I have a feeling that distribution lists are still a way to go as you will end up with that many rules as well...


Well, not if I can connect to the webs service I mentioned in the original post that can return a response telling me if user X belongs to group Y.

Which brings me back to the original question of how I can call a web service via a transport rule (or other exchange framework that may be more applicable).




Admin -> RE: Can a Transport Rule reference a web service? (5.Dec.2016 1:58:02 PM)

In understand what you want to achieve but I see little help from Exchange itself in this regard.
In case you dont want to manage distribution rules you might want to look into using powershell to create rules based on webservice responses. Still, it wont work in the way how you envision it.




Page: [1]