06-29-2016 12:08 AM
I want to send Audiencedata to a servicebus in Azure for every session that ends. I use the generic Webhook connector (since the "AudienceDirect" one recently was deprecated). I get http 401 errors back.
The servicebus accepting https posts looks like this
https://xxxxxxxx.servicebus.windows.net/tealiumhub/messages?timeout=60&api-version=2014-02-20HTTP/1.... and I send username/password credentials.
The webhook has a possibility of mapping custom values in the request, but this field is not documented anywhere (that I can find..) Is it perhaps some additional piece data that the servicebus expects that should be sent using this mapping?
Anyone done something similar towards Azure or similar service bus?
Solved! Go to Solution.
06-29-2016 10:38 AM
I think you need to switch the values that you have in the Header Cookie Data. I understand this is a bit counterintutive since typically the key goes on the left, but the idea is:
"take this data" and "send it to this data"
Map: "value" To: "key"
Currently it's setup as Map: "key" To: "value".
Please let me know the result of making this change.
06-29-2016 11:27 PM
07-05-2016 08:01 AM
Hi @per_lundqvist apologies for the late response. I was traveling last week and then it was a holiday weekend for us in the U.S.
I see that you've disabled the connector for now which is good.
I have yet to attempt to get data into Azure, but I'm happy to work with you to help figure out if we can do this via the Webhook API (note, the AudienceDirect connector was deprecated because it was combined with the Webhook connector, specifically the "Post/Put - Visitor" actions).
Do you have a link to documentation which states how to send data to Azure via server-to-server HTTP pixel requests? If I can get a link, I can review and see if it's something we support. As of now, everything I've seen in regard to Azure has been using a REST API based on Java and requiring OAUTH of some sort.
Looking forward to hearing from you.
07-05-2016 12:49 PM
I found some documentation at: https://msdn.microsoft.com/en-us/library/azure/dn790664.aspx
Let me take this back to my team and see how we need to setup the Authorization header. More to come soon.
07-05-2016 05:15 PM
Spoke to engineering and there are 2 requests that we need to make to the webhook to support this.
First, the header mapping is currently only for cookies so we need to update to handle straight key/value pairs.
Second, we need to update for the user to define the content type.
We have submitted the appropriate request to Engineering and you should either follow up with your AM to determine when this is released, or follow https://community.tealiumiq.com/t5/Announcements/bd-p/welcome to watch when I post AudienceStream releases.
07-05-2016 11:16 PM
07-12-2016 06:49 PM
@per_lundqvist does the token you used for this test expire? I ask because we are trying to update the Webhook to support this and we received a 401 code that the token expires at "Timestamp:7/13/2016 12:01:27 AM".
08-17-2016 05:06 PM
@per_lundqvist just letting you know that today we were able to successfully test updates to the Webhook connector to be able to post data to Azure. The release with this update should be happening in the next week or two.
08-17-2016 11:14 PM
08-19-2016 11:08 AM
Please follow the directions below and let me know if you are successful in connceting.
Also, please note that I had no experience with Azure when setting this up. If anything is mistated, incorrect, or you have any general updates I should make please do not hesitate to reach out and let me know.