The Membershipprovider doesnt seem to create an AD user from custom c# API. While logging in via Azure AD sitecore automatically creates the AD user and maps the roles as per the transformation rules.

But my objective is to create the AD user using my custom API, The user gets created with the Membershipprovider methods, but while logging in it recreates another user in sitecore with the same Email ID and a random user id as string. How do i prevent that?

Tried extending the UserResolver , But doesnt seem to hit the service.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.