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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Error when attempt to setup coupling for payment term between BC and Sales

(0) ShareShare
ReportReport
Posted on by 4,130

I have setup the integration between BC and D365 Saes for long time. however user in BC added a new payment term and when I attempt to map it to Sale 

I'm getting the error below error:

Is this highighted user in BC or in CRM?

A call to Microsoft.Dynamics.Nav.CrmCustomizationHelper.CrmHelper.InsertOptionSetMetadata failed with this message: SecLib::CheckPrivilege failed. User: d381bd1f-5e30-ed11-9db0-0022483dda31, ApplicationId: 88c57617-94ff-4043-a396-8a85a8d38922, PrivilegeName: prvWriteAttribute, PrivilegeId: 6fa055d5-e524-4eed-a48e-8af713f83ff4, Required Depth: Basic, BusinessUnitId: 0086f7fd-3fcf-ea11-a813-000d3af3a041, MetadataCache Privileges Count: 6860, User Privileges Count: 111

What priviliges is missing 

  • Suggested answer
    YUN ZHU Profile Picture
    103,807 Super User 2026 Season 2 on at

    Hi, it looks like the permissions in the CRM are missing.

    Here is a similar example:    

    As for what permissions are missing, sorry I'm not sure. But it may have something to do with the following feature being enabled.

    https://learn.microsoft.com/en-us/dynamics365-release-plan/2022wave1/smb/dynamics365-business-central/map-dataverse-option-sets-such-as-payment-terms-freight-terms-shipping-agents-without-code

    Hopefully other experts can give you better advice.

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi,

    You need to consult with you admin to provide the required permission

    A call to Microsoft.Dynamics.Nav.CrmCustomizationHelper.CrmHelper.InsertOptionSetMetadata failed with this message: SecLib::CheckPrivilege failed. User: d381bd1f-5e30-ed11-9db0-0022483dda31, ApplicationId: 88c57617-94ff-4043-a396-8a85a8d38922, PrivilegeName: prvWriteAttribute, PrivilegeId: 6fa055d5-e524-4eed-a48e-8af713f83ff4, Required Depth: Basic, BusinessUnitId: 0086f7fd-3fcf-ea11-a813-000d3af3a041, MetadataCache Privileges Count: 6860, User Privileges Count: 111

  • regex91 Profile Picture
    on at

    Did you find a solution for this?

    We have the same problem, and CRM side looks right, the business central cds integration user has all the permissions which needed.

  • Alaa Ramadan Profile Picture
    4,130 on at

    Yes, It worked after adding the systome customizer role to the app user (integration user) 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 795 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 561 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 323 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans