Skip to main content
Dynamics 365 general forum
Suggested answer

Error: "contextUserId=XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX has correct privileges but allowImpersonationOfOrganizationSystemUser == false" occurs in SSIS Package when trying to change statecode from 1 (Completed) to 0 (Open) for email entity (D365)

editSubscribe (0) ShareShare
ReportReport
Posted on by 57

Hi,

I am using SSIS Package to update some fields of email entity (D365). When I try to change the statecode from 1 (Completed) to 0 (Open), I get the error: contextUserId=XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX has correct privileges but allowImpersonationOfOrganizationSystemUser == false.

As per docs.microsoft.com/.../deployment-administrators , we have added the user to the PrivUserGroup security group, but still the same error remains.

Please let me know the solution for this issue.

Thanks in advance.

  • Suggested answer
    Wahaj Rashid Profile Picture
    Wahaj Rashid 11,317 on at
    RE: Error: "contextUserId=XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX has correct privileges but allowImpersonationOfOrganizationSystemUser == false" occurs in SSIS Package when trying to change statecode from 1 (Completed) to 0 (Open) for email entity (D365

    Hi,

    Thank you for your query.

    Does it work with other users? Let's try with another user to make sure if the issue is only with this user.

    Secondly, is this exception only raised while updating status? Or the same behavior when you update any data field?

    I am not sure how you are updating Sattsu using SSIS, because normally we have to use SetStateRequest to set the status instead of updating the status column value.

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,030 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,562 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans