We are using Microsoft Dynamics 365 Sales connector to connect one of our client cloud based Dynamics 365 environment.
On the "Authentication Type" we provided "OAUTH 2.0 password grant".
And we provided all the required fields. But still on test connection we are getting below error
The test connection for ******* failed. Server returned HTTP response code: 403 for URL: https://<orgcrmurl>:443/api/data/v9.1//accounts?$top=1&$select=accountid. Please check the Web API Url [https://orgname.api.crm.dynamics.com:443/api/data/v9.1/] entered in the connection.
Retrieving data ...