0

I am using WindowsAzure.ServiceBus nuget package and try to send message on topic using topic level shared access policy(send only) but it will give me below error.

 40103: Invalid authorization token signature, Resource:sb://testsb.servicebus.windows.net/testtopicname.

But when I tried to use Microsoft.Azure.ServiceBus nuget same connection string working fine and it's also working fine if I used service bus level shared access policy connection string(send only).

How I can send topic message using topic level shared access policy using WindowsAzure.ServiceBus nuget package.

Draken
  • 3,134
  • 13
  • 34
  • 54
  • That's off as both clients should behave the same. Suggest to raise an issue [here](https://github.com/Azure/azure-service-bus/issues). – Sean Feldman Oct 26 '18 at 21:38
  • Thanks @SeanFeldman, I will create an issue. Btw issue solved by using only one parameter inTopicClient.CreateFromConnectionString(connectionStringWithTopicName) And remove second parameter topicNameOfServiceBus. – DotNet Azure User Oct 29 '18 at 12:56
  • Looks like you're using the old client. Since topic name is required, are you providing via property once client is created? Feels like the overload method with two parameters does something wrong. For issue. – Sean Feldman Oct 29 '18 at 13:13
  • Yes, New client require .netStandardFramework but my application is in .net framework 4.6+. – DotNet Azure User Oct 29 '18 at 13:34
  • The new client is .NET Standard. It means it will work with .NET Core _and_ Full Framework. – Sean Feldman Oct 29 '18 at 14:23

0 Answers0