Skip to content

Passion Dynamics

Microsoft Power Platform blog by Rawish Kumar

  • Home
  • About Me
  • Contact
Posted on May 15, 2018October 26, 2018

The selected object could not be found. verify that the object exists in both the database and Active Directory

by Rawish Kumar Prajapati.In Uncategorized.1 Comment on The selected object could not be found. verify that the object exists in both the database and Active Directory

Recently while enabling a user in my Dynamics CRM 2016 OnPremise I got below error :

Capture

Root Cause:

The error clearly tells me that there is definitely something wrong with the user setup on Active Directory. After digging in further this is what i understood as what exactly might happened with this user :

  1. User was added to AD
  2. User was added to CRM
  3. User was disabled in CRM
  4. User was deleted from AD
  5. User was again created in AD

 

Conclusion:

Now in CRM whenever you create a user (applicable to AD authentication) it stored an object GUID of the AD account with the database column as ActiveDirectoryGuid in systemuser table.

final Conlusision : so now when you try to enable the user again – CRM try to get this object GUID from AD but it will not find it, hence will give you this error.

 

Solutions:

  1.  Get the new GUID from Active directory and update it in CRM database[ systemuserbase table and ActiveDirectoryGuid column] – Have not tried it personally. 
  2. Create a new user account in CRM for this user – it will allow you since there would be no GUID conflicting. [you might get error as duplicate record exist – you can try to put some addition middle name of character in the full name ]

 

What I did:

i have in this scenario used the second approach as the user was fairly new and there was not much dependency with the record.

However if a user very old and have a lot records in CRM – you will have no choice but to go for the first step.

 

Hope this helps!

Cheers!

Share this:

  • Twitter
  • Facebook

Like this:

Like Loading...

Related

Author:RawishCRMExternal Error - No such object on server + crmhow to fix if an AD account has been deleteissue while enabling the CRM userMicrosoft Dynamics CRMsomeone deleted the AD account of the userThe selected object could not be found. verify that the object exists in both the database and Active DirectoryThe selected object could not be found. verify that the object exists in both the database and Active Directory + crm

1 Comment

  1. Ulysses Latzke says:
    March 19, 2019 at 5:15 am

    I think you have noted some very interesting points, thanks for the post.

    LikeLike

    Reply

Leave a Reply Cancel reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. ( Log Out /  Change )

Google photo

You are commenting using your Google account. ( Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. ( Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. ( Log Out /  Change )

Cancel

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation

Previous Previous post: Singleton Retrieve Query Should Not Return More Than 1 Record [Manged Solution Import Error – OnPremise]
Next Next post: Send Birthday Email To Customers[ Workflow + JavaScript]

Search

Follow Passion Dynamics on WordPress.com

TOP 100 CRM BLOGS AND WEBSITES

Dynamics 365 Certification Badges

Blogs I Follow

  • All Things Dynamics
  • D365 Demystified
  • Andrew Butenko's Blog
  • Rajeev Pentyala - Microsoft power platform blog
  • Debajit's Power Apps & Dynamics 365 Blog
  • Arun Potti's MS CRM blog

Archives

All Posts Categories

My Community

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 39 other followers

My Twitter

My Tweets
Create a website or blog at WordPress.com
  • Home
  • About Me
  • Contact
All Things Dynamics

Blogs on ways to integrate Microsoft Dynamics 365 with other tools

D365 Demystified

A closer look at Microsoft Dynamics 365.

Andrew Butenko's Blog

All I want to share about Development/Customization for Dataverse

Rajeev Pentyala - Microsoft power platform blog

Sharing my knowledge on Power Platform, Dynamics 365, Azure & .Net Stack

Debajit's Power Apps & Dynamics 365 Blog

All about Power Apps & Dynamics

Arun Potti's MS CRM blog

Microsoft Dynamics CRM

Cancel
%d bloggers like this: