I have to send message to Queue. I have specified connection string in app.config. I already set SharedAccessKeyName and SharedAccessKey on azure and set in connection string.
I am using below console code to send message.
string connString = ConfigurationSettings.AppSettings["Microsoft.ServiceBus.ConnectionString"];
NamespaceManager namespaceManager = NamespaceManager.CreateFromConnectionString(connString);
QueueClient client = QueueClient.CreateFromConnectionString(connString, "testqueue");
BrokeredMessage message = new BrokeredMessage("test");
client.Send(message);
Console.ReadLine();
I am getting error:
40103: Invalid authorization token signature ...
How to resolve this issue?