Forum Discussion
In Entra ID, is it possible to link accounts (ex: google and facebook)
Thanks for your response.
I came across this Medium post from 2024 "A deeper dive into linking with Entra External ID for Customers (CIAM)" It suggests that linking accounts via API might be possible, but also prone to errors.
If this approach is indeed feasible, I wonder how it could be implemented. Is there a way to trigger an action after login to search for a corresponding account and link it automatically? I know it is possible in the custom authentication extension, but the events there is related to Sign Up.
Thanks
Yes, in theory you can link identities via API, but it’s a custom solution and can be error-prone. You’d need to build a custom flow that checks, right after sign-in, whether a corresponding account already exists and links them. Although B2C supports custom policies and extensions, there’s no built-in mechanism to do this automatically, you have to code the logic yourself.