DataConnectors icon indicating copy to clipboard operation
DataConnectors copied to clipboard

Custom Data Connector issue with authentication

Open AfsarP1 opened this issue 4 years ago • 1 comments

Hi

I have created a custom data connector which connects to our cloud environment using Oauth login method. Unfortunately, I've ended up with an issue which is getting me nowhere. I have spent days on google searching but nothing relevant comes up which could solve my issue.

To keep it simple. I'm connecting to our cloud environment using client_id, API username and password but not the client_secret. When I run the code, I get an error stating :

"AADSTS650056: Misconfigured application. This could be due to one of the following: the client has not listed any permissions for 'AAD Graph' in the requested permissions in the client's application registration. Or, the admin has not consented in the tenant. Or, check the application identifier in the request to ensure it matches the configured client application identifier. Or, check the certificate in the request to ensure it's valid. Please contact your admin to fix the configuration or consent on behalf of the tenant. "

When I google it talks about registering my application on Assure Active Directory which shouldn't be the case because the client_id, API username and password is actively used. We have a Powershell script with same credentials that connects successfully but I'm receiving an error with my custom connector.

Appreciate if you could put some light on this error.

Thanks

AfsarP1 avatar Jun 16 '20 07:06 AfsarP1