Forum Discussion

fmcmahon's avatar
fmcmahon
Copper Contributor
Feb 06, 2026

Salesforce to MS Purview Integration

Hi, we are trying to setup Salesforce to MS Purview Integration for Data Mapping.

Registration step is straightforward; however, we have run into issues trying to setup the scan itself.

Error: Failed to testConnection: Exception when processing request: Connector Exception: Server returns ResponseCode:'400'

We have raised this as an issue for MS Support but not making much progress.

Any tips, advice or links to how to guides etc. would be very much appreciated!!

 

 

1 Reply

  • Hello and thanks for reaching out.Typically, most 400 / testConnection failures with the Salesforce connector are caused by authentication misconfiguration — specifically the Connected App setup and credentials. Double‑check that OAuth is enabled on the Salesforce Connected App, the correct login endpoint is used (login.salesforce.com vs test.salesforce.com for sandboxes).
    Please review the Authentication section of this document - 

    https://learn.microsoft.com/en-us/purview/register-scan-salesforce#authentication-for-a-scan