web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

User Authentication Procedure CRM 2013 On Premise

(0) ShareShare
ReportReport
Posted on by 188

This is an extension to a post I seen that explained  problems and solutions regarding individuals who are deleted from AD and then added back later and how certain values in the CRM Database tables need to be changed to match certain values from AD.

Follow to see the post

However what I would like to do is gain some further knowledge as far as what the function of each piece is.

For Example:

If AD's ObjectGuid doesn't match the users SystemUserBase.ActiveDirectoryGuid  It will prevent you from being able to activate said user. Is this the only function of the ActiveDirectoryGuid in the login process? Because, if you manually make the the ActiveDirectoryGuid match the record that the user is associated with in AD it allows you to activate them but in some cases the user will still be unable to log in due to a mismatch with the AD's SID and CRM's  MSCRM_CONFIG.SystemUserAuthentication.AuthInfo.

Within the MSCRM_CONFIG.SystemUserAuthentication.AuthInfo you will normally see 2 records. One that contains the SID formated

"W:X-0-0-00-0000000000-0000000000-00000000-00000"

While the other is formatted

"C:First.Last@domain.com"

Which leads into my next series of questions.

When does it use one record over the other, or does it require to have both records?

Does it only use SID if you are using an automated login process? (making it so that the user doesn't have to use any credentials)

Is the latter what is required for the user to type in as their UserName.

Can it be changed  and subsequently what ever you changed it to be required to be used as the UserName during login?

I apologize for the badgering of questions here but I want to make sure I fully understand what each piece is doing so that I can develop a process to fix what ever issue comes up regarding this.

*This post is locked for comments

I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans