I am trying to implement the receiver part as per the tutorial
https://azure.microsoft.com/en-us/documentation/articles/event-hubs-java-ephjava-getstarted/
Make sure that your consumer sas policies does includes "manage" and not only "listen". I guess it has to have manage rights to be able to list the partitions.