Azure Resources Management API. Authorization issue when creating Service Bus Hybrid Connection
问题 We try to use Azure Resources Management API to create a Hybrid Connection. (https://docs.microsoft.com/en-us/rest/api/relay/hybridconnections.) The problem we have is that every time we submit HTTP request it returns us 401 error with message: { "error":{"code":"AuthenticationFailedInvalidHeader","message":"Authentication failed. The 'Authorization' header is provided in an invalid format."}} We prefer to use REST API rather than SDK/nugget packages Here is console app code: using System;