MetricSign
Start free
Low severityauthentication

Power BI Error:
AADSTS52004, LinkedIn consent missing

What does this error mean?

User has not granted consent to link their LinkedIn account to Microsoft Entra ID (Azure AD), so LinkedIn data cannot be accessed.

Common causes

  • 1User never accepted the LinkedIn consent prompt when linking their LinkedIn account to their Microsoft Entra ID (Azure AD) profile
  • 2Tenant admin disabled LinkedIn account connections in the Microsoft 365 admin center (LinkedIn integration policy set to 'Do not allow')
  • 3User previously revoked LinkedIn consent via My Account → Privacy, invalidating the delegation
  • 4App is requesting LinkedIn-scoped data (e.g. People insights, profile cards) for a user whose tenant or account does not have a valid LinkedIn delegation
  • 5Conditional Access or third-party cookie blocking interrupted the LinkedIn consent redirect during sign-in

How to fix it

  1. 1Have the affected user sign in to https://myaccount.microsoft.com → Settings & Privacy → Privacy → LinkedIn account connections, and connect their LinkedIn account (accept the consent prompt)
  2. 2Tenant admin: in Microsoft 365 admin center → Settings → Org settings → LinkedIn account connections, verify it is set to 'Allow LinkedIn account connections' (or selected groups including this user)
  3. 3If the user previously connected LinkedIn, have them disconnect and reconnect to refresh the delegation token
  4. 4Confirm the calling application actually needs LinkedIn data — if not, remove the LinkedIn-related scope/feature so the consent is no longer required
  5. 5Retry the sign-in flow in a clean browser session (no third-party cookie blocking, no privacy extensions) so the LinkedIn consent redirect can complete

Frequently asked questions

What does AADSTS52004 mean?

DelegationDoesNotExi

How do I fix this error?

Check your application registration, token configuration, and user permissions in the Azure portal. Review Conditional Access policies if the error is policy-related.

Source · learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes#aadsts-error-codes

Other authentication errors