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)

Saved Views only listed under My Active Saved Views. Missing from Active Saved Views and My Views under Entity Views

(1) ShareShare
ReportReport
Posted on by

CRM 2015 On-Prem RTM.

We have a situation where some users have issues saving advanced finds. When they save an advanced find, usually the [new] under "Use Saved View" will change to what they typed in on the Save dialog box. However, it just stays as [new]. If they then go to their "Saved Views", they can only see their saved views under "My Active Saved Views". Normally, they can see these under "Active Saved Views". Also, if they go to the entity the Saved View is associated with, they do not see their view under "My Views".

The users having issues (as far as I can tell) are users imported into the system, not added manually. If I change the user's record to another domain user and then add them manually, theses issues don't happen for the newly created user. Saving of advanced finds works as usual.

Steps taken to troubleshoot (with no success):

  • Give user System Admin Security Role
  • Update user record to new domain user. Remove all roles. Switch back to original domain user. Apply security roles again.
  • Remove roles. Change BU and back again. Re-apply roles.
  • Ticket open with MS. They have no idea. They also tried to replicate issue by importing users on one of their CRM 2015 instances. They cannot replicate. They are escalating.

8535.Save.png

Save2.png

*This post is locked for comments

I have the same question (0)
  • razdynamics Profile Picture
    17,308 User Group Leader on at

    Hi , Havent MS Engineers asked you to Run Tracing on CRM Server when Replicating the issue

    or Check Event Logs on CRM and SQL Server for errors

    Tried IIS Reset or a CRM Server Restart to refresh Cache / Poc

    Best Wishes, Raz

  • Community Member Profile Picture
    on at

    Yes, Trace has been done. Fiddler. Event Logs. Even SQL profiler. Seems like all is working. When looking at the UserQueryBase, I see all the views created by that user. All with a Statecode of 0. Yet the views do not show under the Entity views or under Active Saved views (only under My Active Saved Views). Really strange. Even with Sys admin role for that user. Again, if I change the user's record to another domain name and add them as a new user, all works as it should. This appears to be happening for the users I imported through the Import Wizard. Users added manually work fine. Was thing it could be a POA table issue but doesn't seem to be.

    Thanks

  • Community Member Profile Picture
    on at

    Finally found the solution to this.

    MS support had me run the following query on the <org>_MSCRM DB. (I was the one who decided to sort by FullName which gave me the solution)

    select P.*, oo.Name as [Organization Name], tt.Name as [Team Name], bb.Name as [BusinessUnit Name], ss.FullName from SystemUserPrincipals P

    left join BusinessUnitBase BB On bb.BusinessUnitId = p.PrincipalId

    left join OrganizationBase OO On OO.OrganizationId = p.PrincipalId

    left join TeamBase TT On TT.TeamId = p.PrincipalId

    left join SystemUserBase SS On SS.SystemUserId = p.PrincipalId

    order by FullName desc

    What I found was that only enabled users I added through the CRM GUI had a record where the PrincipalId field was the same as the SystemUserId. All of the users I imported did not have a record.

    I also noticed that disabled users did not have a record. So that led me to try disabling the users in question and re-enabling them. Running the query again showed that the imported users now had a record in this table with the PrincipalId = SystemUserId.

    The Advanced Find issue is now resolved (I'm sure with a lot of other issues).

    Not sure why MS took over a month to even run this query. In fact after their tech saw the results, they still wanted to research it and perhaps run some delete/update queries. I think someone in MS and the CRM team should have thought of this possible cause.

    select P.*, oo.Name as [Organization Name], tt.Name as [Team Name], bb.Name as [BusinessUnit Name], ss.FullName from SystemUserPrincipals P

    left join BusinessUnitBase BB On bb.BusinessUnitId = p.PrincipalId

    left join OrganizationBase OO On OO.OrganizationId = p.PrincipalId

    left join TeamBase TT On TT.TeamId = p.PrincipalId

    left join SystemUserBase SS On SS.SystemUserId = p.PrincipalId

    order by FullName desc

  • Community Member Profile Picture
    on at

    This did it for us.  Thanks so much!

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