web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
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.

I have the same question (0)
  • Suggested answer
    Wahaj Rashid Profile Picture
    11,321 on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 72 Super User 2026 Season 1

#2
BillurSamdancioglu Profile Picture

BillurSamdancioglu 64 Most Valuable Professional

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans