Skip to main content

Notifications

Announcements

No record found.

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

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,084 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,081 Super User 2024 Season 1 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 75,561 Super User 2024 Season 2 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

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! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans