Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Getting error "Missing prvReadActivity privilege on Letter entity" when saving an email even though I am a System Admin

Posted on by 270

As per the title, i am getting the error "Missing prvReadActivity privilege on Letter entity" when saving an email even though I am a System Admin

The full Error message is:


Exception Message: Principal user (Id=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, type=8, roleCount=5, privilegeCount=564, accessMode=1(Setup/Stub user with filtered privileges from associated roles. Consider changing user AccessMode to Full (without privilege filtering))), is missing prvReadActivity privilege (Id=650c14fe-3521-45fe-a000-84138688e45d) on OTC=4207 for entity 'letter' (LocalizedName='Letter'). context.Caller=deaa60db-1a0a-ea11-a811-000d3a7ed67d

ErrorCode: -2147220960
HexErrorCode: 0x80040220

ErrorDetails:
0: prvReadActivity
1: letter
ApiExceptionSourceKey: Step/Microsoft.Crm.Extensibility.ImageRetrievalStep
ApiStepKey: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
ApiDepthKey: 1
ApiActivityIdKey: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
ApiPluginSolutionNameKey: System
ApiStepSolutionNameKey: System
ApiExceptionCategory: ClientError
ApiExceptionMessageName: PrivilegeDenied
ApiExceptionHttpStatusCode: 403

HelpLink: go.microsoft.com/.../
(NOTE: I have tried this link to no avail)

Activity Id: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX


Any advice is appreciated.

  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 8,525 Super User 2024 Season 1 on at
    RE: Getting error "Missing prvReadActivity privilege on Letter entity" when saving an email even though I am a System Admin

    Hello,

    Can you look into the below things.

    1. Check what is scope of the workflow.

    www.sherweb.com/.../)

    2. As well as the is it "Executing" as the "owner of the workflow". If it is yes then the workflow will run as the permission which is assigned to the owner of the workflow.

    www.beringer.net/.../

    3. What is "Run in user's context" Value of Plugin step.

    www.inkeysolutions.com/.../

    Because if you are an Admin then there should not be any issue with the execution.

    Thank you,

    Amit katariya

  • GRedhead Profile Picture
    GRedhead 270 on at
    RE: Getting error "Missing prvReadActivity privilege on Letter entity" when saving an email even though I am a System Admin

    Hi,

    I have checked all workflows and plugin steps (there were a lot of these) and nothing is referencing the principle user that has left. I checked in the plugin reg tool too to make sure no step was impersonating as them too, to no avail.

    I have a call open with MS and they cannot seem to find the cause, so any suggestions are most appreciated as this is effecting our live system.

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Getting error "Missing prvReadActivity privilege on Letter entity" when saving an email even though I am a System Admin

    Hi,

    You should look for Workflow & Plugin steps.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • GRedhead Profile Picture
    GRedhead 270 on at
    RE: Getting error "Missing prvReadActivity privilege on Letter entity" when saving an email even though I am a System Admin

    Yes, the Principal user has left and had their license removed it appears, I therefore need to track down what is causing this and change it to another user, or our admin user.

    Are there any pointers from the error as to where I should check?

    I have looked at all workflows which are in another person's name, from what I can see in the plugin reg tool no steps are impersonating as this user.

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Getting error "Missing prvReadActivity privilege on Letter entity" when saving an email even though I am a System Admin

    Hi,

    Did you verify the User GUID in error to know if it's actually you or some other user?

    Principal user (Id=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

    Sometimes we configure plugin/workflow which runs under different user and that user does not have sufficient permission. So please verify the User Record ID and then let me know what you observe.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Suggested answer
    MikeC282 Profile Picture
    MikeC282 2,095 on at
    RE: Getting error "Missing prvReadActivity privilege on Letter entity" when saving an email even though I am a System Admin

    Hey bud,

    Just confirming you're assigned a System admin manually against your user record in Dynamics? You're not inheriting a System Admin role from a AD Connected Dynamics 365 Team are you?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans