Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

The user is not a member of the organization in dual write

(1) ShareShare
ReportReport
Posted on by 253
Hello everyone,
 

I’m currently facing an issue with Dual Write. The error message I’m receiving is:

“Writes to entity failed with error message: Request failed with status code InternalServerError and CDS error code: 0x80072560. Response message: The user is not a member of the organization.”

I’ve already checked all the necessary privileges required to write in the Power Apps environment.

Could you please help me identify what might be causing this issue?

  • Suggested answer
    Yogesh Mulay Profile Picture
    Yogesh Mulay 54 on at
    The user is not a member of the organization in dual write
    1. User Synchronization:
    • Check User Presence: Ensure the user account exists in both your source system (e.g., Dynamics 365) and the target Power Apps environment.
    • Synchronization Status: Verify if user synchronization between the two systems is active and up-to-date. If not, trigger a manual synchronization.
    1. Security Roles:
    • Power Apps Environment: Double-check that the user has a security role in the Power Apps environment that allows write access to the specific entities involved in the Dual Write.
    • Dataverse: In the Dataverse environment behind your Power Apps, ensure the user has appropriate security roles to perform create, update, or delete operations on the relevant tables.
    1. Application User:
    • Dual Write Setup: The Application User configured in your Dual Write setup needs sufficient privileges in both the source and target environments.
    • Review Permissions: Review this Application User's security roles and ensure they have the necessary permissions for the entities being synced.
    1. Dataverse Table Permissions:
    • Table-Level Security: If table-level security is enabled in your Dataverse environment, make sure the user has explicit permissions to the tables involved in the Dual Write.
     
    Please mark my answer verified if this is helpful!
  • Verified answer
    CU09091357-0 Profile Picture
    CU09091357-0 253 on at
    The user is not a member of the organization in dual write
    Thank you for your replies, it was solved with adding the application id to the application user id from power apps side
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,904 Super User 2024 Season 2 on at
    The user is not a member of the organization in dual write
    Hi,
     
    Have you checked if the user has the correct Dynamics 365 license attached next to checking the roles and privileges? 
  • VaHiX Profile Picture
    VaHiX 3,976 on at
    The user is not a member of the organization in dual write
    Sometimes, Azure Active Directory (AAD) synchronization issues can cause this error. Ensure that the user is properly synchronized between AAD and Dynamics 365.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans