Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
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)

(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,321 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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans