Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Portal - Create Invitation - Signin - Invalid sign-in attempt

Posted on by 2,811

Hello Everyone,

Thanks for reading my post. 

Following are the steps we're following:- 

  • For Portal Registration/Login (using Local Login), we're inviting our Customer using 'Create Invitation'.
  • Users are receiving the invitation email.
  • Users are clicking on the link and they will land on the Redeem Invitation page.
  • Users are clicking on the Register button and setting their Password/New Password.
  • Users are able to login perfectly.
  • But, if they sign-out and try to login again with their Username/Email and Password then it always fail with 'Invalid sign-in attempt'.
  • And, this is NOT happening with every User. There are handful of Users who are facing this issue.

Anyone else faced the similar issue? Any steps to troubleshoot or how to check the under the hood exception of 'Invalid sign-in attempt'?

Let me know if further information is need. Thanks.

  • Zohaib Uddin Khan Profile Picture
    Zohaib Uddin Khan 2,811 on at
    RE: Portal - Create Invitation - Signin - Invalid sign-in attempt

    Following is the more information which I noticed:-

    • Authentication/Registration/LocalLoginByEmail is set as True.
    • There are more than one record which has same email address.

    If we have above settings then following exception is appearing:

    Duplicate User Name: The user name "xyz123@difca.com" is already taken.

    So, we tried two different approaches:-

    • Approach # 1 - Disable all of the contacts which have same email address except the one to which we need the invitation.
    • Approach # 2 - Set Authentication/Registration/LocalLoginByEmail is set as False.

    In both of the approaches, end Customer is able to Login again successfully.

    Thanks.

  • Zohaib Uddin Khan Profile Picture
    Zohaib Uddin Khan 2,811 on at
    RE: Portal - Create Invitation - Signin - Invalid sign-in attempt

    Hello Everyone,

    After enabling the diagnostic logging in the portal. I'm able to see the below log in the Azure Blob storage.

    RequestPath:/SignIn, UserId:xxxxxxxxxxxxx, MemberName:ValidateUserName, SourceFilePath:S:\Framework\Adxstudio.Xrm\AspNet\Identity\CrmUserManager.cs, SourceLineNumber:628, Category:Authentication, Message:Duplicate User Name: The user name "xyz123@difca.com" is already taken., ErrorCategory:UserError

    But, when I'm checking how many records of Contact have 'xyz123@difca.com' in the adx_identity_username then there is only one record.

    Any idea what I'm missing here? Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans