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)

CRM 2013 Goals: permission error: turns out Goal Owner and Goal Manager need rights to entities referenced in rollup queries

(0) ShareShare
ReportReport
Posted on by 170

I started writing this as a question, but I figured it out...  but, as the error message is your typically un-helpful one, perhaps this will save somebody the hours it cost me...

I have a CRM 2013 onprem installation, I am the System Admin.   I imported a bunch of goals from a spreadsheet.  They imported fine.  But whenever I opened certain goals, it gave me a permissions error.  Of course, I'm the sys admin, so what could it be?

The goal the error pointed to seemed to be the same as all the rest; it had a custom period, it had rollup queries...  Nothing seemed obvious...   I had some that DID work, so I tried some things...

1) Changing the "Rollup Only From Child Goals" to Yes, from No, then saving and recalculating, and the error would go away...

But this is for a "lowest level" goal, so I don't HAVE any child goals... but that give me some hint that something was wrong with the rollup queries...  But I used the exact same queries in all, some worked some didn't...   Set it back to "No", and recalc, error comes back...

2) Goal Owner must have permissions against the entities in your rollup queries!

Our rollup queries used the standard in-progress one for opportunities, but we used a custom entity to capture the actuals.  The rollup query seemed to work fine, but it hit me...  I wonder if the Goal Owner needs permissions against this custom entity that is referenced in the rollup query?   OK, check the role, sales manager, Eureka, no permissions against the custom entity!   OK, so I gave it user level Create, Read, Append, and Append To...   And... Success!!   well, for this one anyway...

3) Goal Manager must have permissions against the entities in your rollup queries!

But I still had some that weren't working...  At this point, I compared the one that I just got to work against the one not working...  Same goal period, same rollup queries, same everything - except for the goal owner and the goal manager... So I changed the Goal Owner to the same as the one that worked...  nope, still an error...  Just for grins, I then set the Goal Manager to the same as the Goal Owner I knew had good permissions... recalc... and the error went away!! 

Hot on the trail now, I set the Goal Manager to the correct one, and... error came back!  Aha!  Checking THEIR role permissions, and of course, as a manager, they had a different role...  that did NOT have permissions against our custom entity...  One more quick change to give them User level permissions against the custom entity, and.... VOILA!!!  All working!

So, bottom line, the Goal Owner AND the Goal Manager all must have at least read permissions against all of the entities used in any of your rollup queries...   sounds obvious... would have been nice if the error message was...  HTH somebody...

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Dave Carr Profile Picture
    170 on at

    The answer is in the question

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