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)

System User Doesn't Exist Error

(0) ShareShare
ReportReport
Posted on by 210

Hi there,

I've been working on a test environment of CRM 2013 and have been attempting to setup the server side email synchronisation stuff so that emails to a department team exchange (2010) mailbox. I've had three emails received successfully create activities and then, even better, have cases created. However, most emails fail with one of the following errors;

>Crm Exception: Message: systemuser With Id = 21d11661-1934-e411-af28-005056b725ed Does Not Exist, ErrorCode: -2147220969

>Crm Exception: Message: Principal user (Id=f00f58cd-4528-e411-9c86-005056b725ed, type=8) is missing prvWriteActivity privilege (Id=0dc8f72c-57d5-4b4d-8892-fe6aac0e4b81), ErrorCode: -2147220960

I have not been able to work out what either error actually means or refers to. If anyone can shed any light on where I'm going wrong with this, I'd seriously appreciate it.

The emails are received into CRM by a systemuser mailbox and the user is part of a team, with the team queue being the default for the user, if that's any help.

Thanks.

*This post is locked for comments

I have the same question (0)
  • Aileen Gusni Profile Picture
    44,524 on at

    Hi Oliver,

    >Crm Exception: Message: systemuser With Id = 21d11661-1934-e411-af28-005056b725ed Does Not Exist, ErrorCode: -2147220969

    -> It means that the user does not exist in CRM database for this Organization.

    Please check in the Sql query, I think you are using onpremise, right.

    Select * from systemuser

    Where systemuserid = ' 21d11661-1934-e411-af28-005056b725ed'

    >Crm Exception: Message: Principal user (Id=f00f58cd-4528-e411-9c86-005056b725ed, type=8) is missing prvWriteActivity privilege (Id=0dc8f72c-57d5-4b4d-8892-fe6aac0e4b81), ErrorCode: -2147220960

    -> It means that the user with ID = f00f58cd-4528-e411-9c86-005056b725ed does not have access permission to write activity entity.

    Go to the sql query, find the username or fullname

    Select fullname from systemuser

    Where systemuserid = 'f00f58cd-4528-e411-9c86-005056b725ed'

    And then update the security role assigned to this user, give them access to write activity, email is part of activity in CRM.

    Hope this helps!

    Thank you.

  • SkeedR Profile Picture
    210 on at

    Sorry, realised I managed to forget to say that I can't find either GUID in the database. I've checked in the following tables;

    SystemUserBase

    TeamBase

    MailboxBase

    BusinessUnitBase

    RoleBase

    This is an on-premise environment running on a standalone server. CRM and SQL are on the same machine, which is a VM.

  • Talsim Profile Picture
    on at

    There are 2 problems:

    1. user (Id=f00f58cd-4528-e411-9c86-005056b725ed, type=8) is missing prvWriteActivity privilege

    This means that the user's security role is missing write access right to activities.

    2. systemuser With Id = 21d11661-1934-e411-af28-005056b725ed Does Not Exist, ErrorCode: -2147220969

    When using a user's email for a queue and a team team as the owner of the queue, the email router is looking for a user rather then a team.

    In order to solve this issue

    you need to disable the 'automatically move records to the owner's default queue when a record is created or assigned' on Email entity under customization.

    Good luck

    Tal

  • SkeedR Profile Picture
    210 on at

    Good suggestion, but that's already disabled. I think I need to review the setup though, seems I've got the email address in two mailbox records...

  • Aileen Gusni Profile Picture
    44,524 on at

    Hi Oliver,

    Have you checked this guid:

    f00f58cd-4528-e411-9c86-005056b725ed

    in the TeamBase?

  • SkeedR Profile Picture
    210 on at

    That GUID doesn't exist in the TeamBase table.

  • SkeedR Profile Picture
    210 on at

    I've got the queue working for some emails but not all. It looks like emails coming from the same domain that the CRM environment resides generate the error with systemuser id 21d11661-1934-e411-af28-005056b725ed

    I still cannot find this GUID anywhere in the database for CRM and I haven't the foggiest why it wants that particular GUID. Can anyone confirm if CRM handles email addresses from the domain it resides in differently? Do I need to have an account for everyone in the company to enable CRM to track emails?

  • SkeedR Profile Picture
    210 on at

    Ok, so, to update and clarify further...

    I've got two teams; Infrastructure and Support. They've each got their own queue and CRM-mailbox . The mailboxes each look at a relevant exchange account; infra@ and support@

    Emails from external customers to support@ create activities

    Internal employee emails to support@ create activities

    Emails from external suppliers to infra@ do not create activities with the error "systemuser With Id = 21d11661-1934-e411-af28-005056b725ed Does Not Exist"

    The GUID 21d11661-1934-e411-af28-005056b725ed does not exist in any table

    Internal employee emails do not create activities with the error above

    I've mapped out the relationships between the queue's, mailboxes and teams and cannot see any discernible differences. I have also compared the settings on all six records and also cannot see any differences. Help?

  • Verified answer
    SkeedR Profile Picture
    210 on at

    Recreated the organisation and the following seems to have worked;

    Create a Business Unit, Infrastructure

    Give the Infrastructure Team System Admin and Customiser roles

    Set the Infrastructure queue up to receive emails

    Created all employees as system users

    CRM is now creating email activities for all emails coming into the inbox. Sorted.

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