I am trying to configure the REST connector in Microsoft Azure Synapse service to extract data from Aveva DataHub using OAuth credentials to analyze it with Azure Synapse and it fails with the invalid_target error uploaded as attachment.
We were able to confirm that the Azure Synapse is sending a Resource form field with a blank value when no resource is configured. This is an issue because our token endpoint is implemented by Duende IdentityServer and it rejects token requests that contain a resource with no value in the form fields (if the resource field is present at all, a valid absolute URI is required). The Aveva DataHub does not use the resource field at all. Please let us know if there is way to configure the REST connector to stop sending an empty Resource form field when no resource is specified in the OAuth connection settings. I have attached a screenshot from beeceptor showing that Azure Synapse connector sends a blank resource header. 

