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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Access Token Issue During Dual-write Sync from F&O to CRM

(7) ShareShare
ReportReport
Posted on by 18
Hello everyone,
 

I have completed the Dual-write setup in the Cloud Hosted Environment, and the initial configuration was successful. I’m currently testing data synchronization from F&O to CRM.

 

However, I encountered an access token issue after creating a record in F&O. Please refer to the screenshot below for more details.

 
 
 
Has anyone faced a similar issue? Any suggestions on how to fix or regenerate the required access token from Azure?
I have the same question (2)
  • Komi Siabi Profile Picture
    13,109 Most Valuable Professional on at
    Could you please confirm that the globalproduct map is running on Dual write setup page.
  • Kishore16 Profile Picture
    18 on at
    Yes, it is running. The issue is not limited to the GlobalProduct entity—I'm encountering the same error when syncing any entity. It appears to be related to the live data synchronization process
  • Navneeth Nagrajan Profile Picture
    2,438 Super User 2025 Season 2 on at
    Hi Kishore16,
     
    A few questions:
    1. Are there permissions to create the product in CRM through the dual write job from F&O? 
    2. Looks like the dual write job runs but the ability to create products in CRM isn't there?
     
     
     
  • DGA205 Profile Picture
    61 on at
    Hi, We have the same problem, and We couldn't found a solution yet.
    We have checked that de application users are created, with the correct role and permission booth in dataverse and Finance and Operation.
     
    , could you solve the problem?
     
  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at
     
    Microsoft has a few Microsoft managed applications listed in the Microsoft Entra ID applications list. 
    Can you check if all those are listed there and you have not removed any. Also make sure the user IDs associated with those users is enabled.
  • Komi Siabi Profile Picture
    13,109 Most Valuable Professional on at
    Can you run the Health check and let us know what you get?
  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at
    Hi,
    
    Thanks for bringing this up. The access token issue you're encountering during dual-write synchronization from Finance & Operations (F&O) to CRM—particularly when writing to the `msdyn_globalproducts` entity—suggests an authentication failure between environments.
    
    Here are a few steps that may help resolve the issue:
    
    1. **Verify application user roles**: Ensure that the application user in Dataverse has the correct security roles assigned, including any custom roles required for entity access.
    
    2. **Check permissions in F&O**: Confirm that the user or service principal used for dual-write has sufficient permissions in F&O to trigger synchronization.
    
    3. **Microsoft Entra ID configuration**: Make sure that the Microsoft-managed applications (like CDS and Dual-write integration apps) are correctly registered and visible in Microsoft Entra ID (formerly Azure AD).
    
    4. **Run health checks**: Use the Dual-write health check tool to identify misconfigurations or missing mappings. This can often highlight issues with entity relationships or authentication.
    
    5. **Entity mappings and job status**: Double-check that the dual-write job is active and that the entity mappings for `msdyn_globalproducts` are correctly configured and published.
    
    6. **Token expiration or caching**: If the issue is intermittent, consider reviewing token lifetimes and whether cached credentials might be causing failures.
    
    Please verify if these steps help resolve the issue or narrow down the cause.
    
    Thanks and best regards,  
    Daniele  
    **Note: This response was prepared with support from Copilot to ensure clarity and completeness.**
  • DP-05090648-0 Profile Picture
    4 on at

    Hello,

     

    I’m encountering the same error in my environment as well.

    We’ve tried practically every option we could think of. What’s odd is that the issue only occurs from F&O towards CRM — the other direction works fine.

     

    Both app users in F&O and CRM have full permission roles, and the health check reports everything as correct, though clearly it is not.

    Could we please get some support with this issue?

    We even attempted a workaround by creating a new app user with a certificate and adjusting it accordingly, but the problem persists.

     

    Reference:

    https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/secure-developer-vm#set-up-a-new-application-and-certificate-registration

     

    Thank you in advance.

  • Suggested answer
    Sahan Hasitha Profile Picture
    2,674 on at
    hi
    Microsoft provides several Microsoft-managed applications in the Microsoft Entra ID applications list. Please verify that all of these applications are present and that none have been removed. Additionally, ensure that the user accounts associated with these applications are enabled.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
iampranjal Profile Picture

iampranjal 41

#2
Martin Dráb Profile Picture

Martin Dráb 36 Most Valuable Professional

#3
Satyam Prakash Profile Picture

Satyam Prakash 35

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans