Error: AADSTS65004 User Declined to Consent to Access the App
Issue
While creating a connection, the following error appears:
AADSTS65004: User declined to consent to access the app
Environment
Connector: Microsoft Advertising
Resolution
To resolve this issue, do the following:
- In Fivetran, go to your Microsoft Advertising connection page.
- Select the Setup tab.
- Click Authorize.
- Ensure you grant Fivetran the necessary access to your account when prompted.
- If the issue persists, contact Microsoft Support with the error code and a description of the issue.
Cause
This issue occurs when Microsoft doesn't grant Fivetran access during authentication. To learn more, see Microsoft's authentication and authorization error codes documentation.