Skip to main content

Notifications

Announcements

No record found.

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,090

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 

  • Alaa Ramadan Profile Picture
    Alaa Ramadan 4,090 on at
    RE: Error when attempt to setup coupling for payment term between BC and Sales

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

  • regex91 Profile Picture
    regex91 on at
    RE: Error when attempt to setup coupling for payment term between BC and Sales

    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.

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,273 Moderator on at
    RE: Error when attempt to setup coupling for payment term between BC and Sales

    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

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 77,925 Super User 2025 Season 1 on at
    RE: Error when attempt to setup coupling for payment term between BC and Sales

    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

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…

Vahid Ghafarpour – Community Spotlight

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

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans