Hello,
var namespaceManager = NamespaceManager.CreateFromConnectionString(EventHubConnectionString); var client = EventHubClient.CreateFromConnectionString(EventHubConnectionString, EventHubName); var eventhub = namespaceManager.GetEventHub(EventHubName); var eventhubs = namespaceManager.GetEventHubs();The first 3 rows work fine.
The 4th row (GetEventHubs) throws an exception:
The remote server returned an error: (401) Unauthorized. Manage claim is required for this operation. TrackingId:a803bc2b-fab5-4107-aa25-a7a9a08ae338_G19,TimeStamp:1/18/2015 7:09:37 AM
Inner Exception: {"The remote server returned an error: (401) Unauthorized."}
Please help.
Thanks,
Janiv.
Janiv Ratson. Technology and Development Expert. | BL: http://blogs.microsoft.co.il/blogs/janiv/ | LI: http://www.linkedin.com/in/janiv | TW: http://twitter.com/janiv http://about.me/janiv