I followed this document (see the link below) to create a service bus. I downloaded the sample code BasicSendReceiveQuickStart and when I ran it I got this exception "Put token failed. status-code: 401, status-description: ExpiredToken: The token is expired." even thought I just created the queue and the default is 14 days.
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quickstart-portal