Event Hub "publisher" endpoint and token : is it only valid for HTTP REST APIs ?

Hello,
as explained here
http://msdn.microsoft.com/en-us/library/azure/dn789974.aspx I can create a SAS rule to allow devices to send only to an event hub.
Now I can use this rule and the related connection string to create an EventHubClient object who is capable to send only to the event hub. In this case I can't have fine grained control on devices ... I mean, all devices created by Azure SDK APIs with this
SAS rule are capable only to send and If I want to block some devices, I can't ... removing the rule I'll block all devices.
For fine grained control there is the publisher concept (as an endpoint on the event hub).
Starting from the same SAS rule (for sending only), I can generate more tokens and give each of the to the devices. In this case, without removing the SAS rule I can block single device revoking the token.
Now ... reading on the Event Hub documentation I can't find any API to send data using publisher concept (and using token).
See also AMQP.Net Lite documentation (http://amqpnetlite.codeplex.com/wikipage?title=Using%20Amqp.Net%20Lite%20with%20Azure%20Server%20Bus%20Event%20Hub&referringTitle=Documentation) ...
I can send with publisher concept but without specifying token, only SAS rule (key name and shared key).
My understanding is that the token is useful only with HTTP REST APIs (put the toke in the Authorization header) ... is it right ?
Thanks,
Paolo
Paolo Patierno

Hi Paolo,
Yes, SAS token is for HTTP Post. This method need this token to security the channel. It is different with AMQP 1.1.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I want to buy a new apple tv but it used hdmi cables and my house is only wired for analog.  Is there any way I can use the apple tv on analog cables?

    I want to buy a new apple tv but it used hdmi cables and my house is only wired for analog.  Is there any way I can use the apple tv on analog cables?

    Welcome to the Apple Community.
    It's do-able, but I don't think it's a great idea.
    DVI
    Some users with DVI have managed to get their TV's to work with DVI-HDMI cables. DVI carries no audio, so alternative connections need to be explored to enable audio. DVI doesn't necessarily support HDCP as well as other standards used by HDMI (which may or may not be an issue)
    Analogue
    There are hardware converters that will convert HDMI to various other types of output, however there are some issues with doing so that you should be aware of.
    HDCP
    HDCP compliant converters will not allow you to watch HDCP protected content such as that from the iTunes Store. Non compliant converters exist but we cannot discuss them under the Terms of Use for these communities.
    Resolution and aspect ratio
    I'm not aware of any converters that will scale the output from the Apple TV, any TV or projector which is used will need to be widescreen and support resolutions of 720p (Apple TV 2), 720p/1080p (Apple TV 3)
    DAC
    DAC (Example Only - Not a recommendation or suggestion that this is suitable in your circumstances)

  • My ringer is no longer working for text and email notifications. Only working for phone calls. I have gone through all the settings to see where something is off. Not finding anything. I have tried changing the tone and it just vibrates on everything.

    My ringer is no longer working for text and email notifications. Only working for phone calls. I have gone through all the settings to see where something is off. Not finding anything. I have tried changing the tone and it just vibrates on everything.

    Ok so I happened to figure it out while on the phone to apple support. Even though the guy was very nice, I think I knew more than him! He was explaining very basic resolution principles I played about. I had the second option in displays resolution. All I did was unplug the HDMI cable, click on 'best for display' then plugged the HDMI in and my resolution on the normal monitor changed to the normal blue, then went black momentarily and then changed to a strange resolution but another window appeared that said SONY BRAVIA HDMI at the top! Hey presto! Don't know why it didn't do it yesterday - I probably left the HDMI cable in or something! Oh well. Problem solved!

  • "This Apple ID is only valid for purchase in the US store" and I'm in the PH?

    Hi! So originally my Billing Info was set in the US and today I wanted to upgrade my MBP to OS ML. I'm in the PH now so I changed my Billing Info and set it to my address here in the Philippines, but everytime I hit that "Buy App" button in the App Store and log in, I'm always taken to my Billing Info and even though I already changed my account info, the address that's displayed there is still the US one. I tried to change the country numerous times and set it to PH, but I always get the message saying my Apple ID is only valid for purchase in the US. I'm taken to the US store afterwards, and after I hit "Buy App" the same thing happens over and over again.
    I've been trying to figure this out for over an hour now. What else can I do?

    Try contacting the App Store support folks - http://www.apple.com/support/mac/app-store/.
    I sort of understand what's going on, but not sure why you weren't able to rectify the problem. Maybe the support folks can help.
    Clinton

  • In Pages 09 we can do Mail Merge and Import Styles from a document. Can someone please explain how we can do this with the new version of Pages 5.1. Even Apple solutions are only valid for Pages Version 09. What a DOWN GRADE!

    In Pages 09 we can do Mail Merge and Import Styles from a document. Can someone please explain how we can do this with the new version of Pages 5.1. Even Apple solutions are only valid for Pages Version 09. What a DOWN GRADE! Thank god Pages 09 is still there.

    …and the other 98 missing features.
    Just use Pages '09, which should be in your Applications/iWork folder.
    Rate/review Pages 5 in the App Store.
    Peter

  • Why is my Apple ID only valid for the Apple store in one country (Ireland) even though I have moved to and live in the USA?

    I have moved from Ireland to the USA and now (legally) live in Seattle. When I try to login to the iTunes store here in the USA, I get a message telling me that my Apple ID is only valid for purchases from the Ireland iTunes store. What moron put in a restriction like that? Apple is now telling me that although I can legally move from one country to another and take up residence, I can not travel globally with my Apple ID? What use is having an Apple ID then as I can travel and buy globally with Amazon?

    Do NOT create another ID.  Change the country of your present ID.
    App Store Frequently Asked Questions (FAQ) - http://support.apple.com/kb/HT2001 when using iTunes --> "To change countries, scroll to the end of the iTunes Store home page and click the flag indicating the current country. To choose a different country, click the appropriate flag."
    iOS: Changing the signed-in iTunes Store account - http://support.apple.com/kb/HT1311  - Change your iTunes Store country: "Sign in to the account for the iTunes Store region you'd like to use. Tap Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region."
    You will, of course, need to change your address and enter valid credit card information after you have changed the settings.
    iTunes Store: Changing Account Information - http://support.apple.com/kb/HT1918
    Further tips on changing country - https://discussions.apple.com/message/20029737 - problems you encounter when changing iTunes country
    Realize, however, just as you can no longer visit your old public library in Ireland you also no longer have access to the store or your purchases made there.  You can continue to use them as they are on your computer now but that makes it all the more important you maintain backups in case of loss.  If you upgrade an app I think you will have to pay for it again since you no longer have access to the Irish Store.

  • TS1717 when trying to import cd the following message appears "the current encoder settings for bit rate and sample rate are not valid for this file"?

    Trying to import cd when this message appears "the current encoder settings for bit rate and sample rate are not valid for this file".  Any suggestions?

    Thanks so very much.  I chose MP3 and Download and it is working beautifully.  Have a wonderful day and it is so nice of you to get right back to me.  I'm trying to cut a DVD for my grandson's grad party and I got most of the photos and didn't have any music since I lost everything in a clean install.  Could hug you!

  • HT1933 I bought a song for my wife in Mexico and she couldn't download the song i sent because it reads on her screen ... Code only valid for US customers.... How can i retrieve the song if i live in the US? Thanks

    I bought a song for my wife in Mexico and she couldn't download the song because it reads on her screen... Code only valid for US Customers... How can i retrive the song i bought? Thank You Guys

    you have a ps cs4 license for mac and you have some way of finding your serial number.
    if yes, download an install the installation file.  if you already have the installation file, what is its name and file extension?  (eg, if it's one file, it should be a dmg file.)
    if you need the installation file,
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • HT201195 i want to redeem a gift sent from Sweden, but it wont be redeemed cause i am in Jordan and the code is only valid in Sweden store. What do i do ?

    Hello
    I am Balquis
    My brother sent me an itunes gift card from Sweden and it won't be redeemed because it's code is only valid for customers of the Sweden store.
    What do i do to redeem it?

    You won't be able to, all iTunes gift cards are country-specific, they can only be redeemed and used in their country of issue - so you will need to be in Sweden with a Swedish billing address on your account to be able to use it. You could send the card back to your brother, or sell or give it to somebody else who is in Sweden

  • HT1339 I'm not sure what I did, but my computer asked me what I want the ipod to do, and now it will only look for photos or videos on my device, and will not connect to itunes to download songs and podcasts.

    My computer asked to what I want the ipod to do. Now it only looks for videos and photos, which it does not find. I can't sync my podcasts or music to the device. Not sure how to fix it. It is an ipod touch.

    Connect your iPod to the computer (and iTunes) and look on the Device/Music pane, as below:
    You need to have Sync Music ticked, as shown.
    If you have Entire Music Library checked, then all your music should go back onto yuor iPod.
    If you have chosen Selected playlists, artists, albums and genres, you will see additional options for choosing which of those choices you want.
    If you make any changes here, you may need to click on the Sync, or Apply, button to make the changes happen.

  • Can't import songs and ones in library only play for 45 seconds

    I'm in the process of moving my music collection to a new computer with a bigger hard drive. I installed the latest version of iTunes on the new computer, copied all the folders and contents of the itunes folder to the new computer in the same location.
    I bought a couple new songs successfully but now I can't add any of the files from my previous computer to the new library. I was able to import a few songs that iI purchased when on my original machine but now they only play for 45 seconds and jump to the next song in the playlist (if check) And now when I drag and drop songs on the Library to import them absolutely nothing happens.
    And yes, the new computer is authorized and the permissions on the folders are read / write.
    Any one have an idea of how to fix this? If not, I just going to burn all my songs to CD and import them that way and say so long to iTunes... just too much BS to just move a music library!

    Sounds like the PC's authroization file is messed up, or else the iTUnes preferences files.
    Follow the directions in this article, the SC Info file holds the PC authroization for iTMS songs.
    iTunes Does Not Open After Upgrading
    And also deleted these 2 preferecnes files:
    C:\Documents and Settings\username\Application Data\Apple Computer\iTunes\iTunes.pref
    C:\Documents and Settings\username\Local Settings\Application Data\Apple Computer\iTunes\iTunes.pref
    They will all get rebuilt when you open iTunes the next time. It should ask for authorization one last time, is all.
    Message was edited by: Katrina S.

  • Can't find download for Acrobat 9 STD--the Acrobat 9 download is for PRO, and my serial number not valid for PRO.

    I'm switching to a new laptop, and I want to bring my Acrobat 9 STD with me. Deactivated it on the old laptop, went to the download page for Acrobat 9 and downloaded it, got to the part in the installation where I entered my serial number, and the installation wizard said it was invalid. That's when I noticed the download was for Acrobat 9 PRO, not STD. I used the support chat and explained it to the support person, and he gave me a link for the 9 STD download. Unfortunately, it was the same page. I downloaded it again. Still 9 PRO. Anyone else have any ideas where they're hiding the Acrobat 9 STD download?

    Finding the file all depends on how you did the install and if you downloaded the install file. If the install file was downloaded to the TEMP folder, there is a slight chance it may still be there (should be in Windows>TEMP, not sure on MAC). It may have a name similar to the Pro download of AcroPro90_efg.exe. The Pro would be change to Std and I am not sure what the efg stands for. I would search for AcroStd9*.exe. There seems to be a download for AA 9 std available at http://prodesigntools.com/adobe-acrobat-x-10-pro-reader-suite-direct-download-links-ddl.ht ml. I have no idea if that works. I had found one place where a staff member said he is working on getting links up for all the older versions, not just the trials (that are Pro). I simply searched on Google for Acrobat 9 Standard files. I can't find the message by the staff, but there is one in the last week or two as I recall where a staff member was providing links for folks on an individual basis.

  • Tried updating to 11.4 Itunes and it says "key not valid for use in specified state"

    when I  tried to update ITunes to 11.4 I get an error message saying " key not valid for use in specified state"  I tried uninstalling iTunes and downloading the new version but it still won't download.  I also tried syncing my Iphone 6 and it wouldn't let me until I updated to 11.4 which brings me back to my problem???

    For "Key not valid for use in specified state" errors try moving the folder RSA from C:\Users\<User>\AppData\Roaming\Microsoft\Crypto\RSA to say C:\RSA (just in case there should be a need to restore it) then try installing again. This folder appears to act as a cache and should be rebuilt automatically as required.
    For further problems installing iTunes see Troubleshooting issues with iTunes for Windows updates.
    tt2

  • How to Create, Edit, and delet Alerts in sharepoint using COM or REST API

    I need to create,Delete and  Alerts using Client object model or REST API , I know It's available on server objetc model , but in client side how do it , 
    Anu ideas 

    Hi,
    According to your description, my understanding is that you want to create, delete and edit SharePoint alerts using Client Object Model or Rest API.
    In SharePoint Client Object Model, there is very little that you can achieve when it comes to alerts.
    For changing alerts, there is a ChangeAlert class:
    change alert class
    For Deleting alerts, you can call deletealert web service:
    DeleteAlerts
    For creating new alerts, it seems no such API support this, a workaround is call the new alert form "SubNew.aspx" using JavaScript to achieve it.
    More information:
    http://www.learningsharepoint.com/2013/09/17/client-object-model-doesnt-support-creating-sharepoint-2013-alerts/
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Time zone compatability problem with timed event created on iOS and pushed to Windows7 Outlook calendar for sharing

    Hi, I am in Jerusalem time zone. My Windows7 LAPTOP time zone is set to it (UTC+02:00 Jerusalem). My iPhone5 and iPad are both "Set Automatically" (ON)  to Jerusalem. When I create any new event in my outlook on my Laptop it's generated with the Jerusalem time zone and pushed properly via iCloud to my iPhone and iPad. However when I create a new timed event on either my iPhone or iPad. or even in iCloud calendar (in a browser) the event is pushed to outlook on my Laptop in a "Beirut" time zone. Now that both Jerusalem and Beirut are on the same time zone (UTC + 02:00) it doesn't create any problem (though I prefer to see that the pushed events are indeed in Jerusalem time zone and not Beirut...). However, at and around day time saving change days there are problems of events created on iOS devices or even in iCloud (using browser) and pushed to outlook at the wrong times (1 hour earlier or later, depends on the change direction in Jerusalem time...) with a Beirut time stamp.
    How can I resolve this problem and make sure all timed events, created on iOS devices at a Jerusalem time zone, appear as such after pushed via iCloud to my windows7 Outlook calendatr?  Thanks!

    I also have this issue (iPhone 5).  Outlook needs to be configured properly in that timezone option needs to be selected.  Which is challenging enough.
    However the bigger issue for me is that when I open the ICN file:
    1.  I have no way to accept decline etc.
    2.  When the event is populating the calendar in the wrong time I can neither cut and paste nor select and move.  It is totally static.
    So for every meeting request I have to ensure it populates the right time as per my time zone. and if it doesnt i have to manually enter a second meeting 'X' hours earlier/later depending on which time zone the meeting was generated in.
    I spoke to Apple.  Their solution is make sure Outlook is properly configured.  Fine...but good luck.  I need a work around that is Apple based.  Because this *****.
    They said they would send to the development team.  I am not holding my breath.

Maybe you are looking for