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.
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.
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.
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.
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.
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.