Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Error while Importing to Opportunity using SSIS Kingswaysoft

Posted on by 550

Hi,

I am trying to Import Opportunities from Onpremise system to Online system , but while Importing I am gettin the following error message.

CRM service call returned an error: SecLib::AccessCheckEx2 failed. Returned hr = -2147187962, ObjectId: 00000000-0000-0000-0000-000000000000, OwnerId: b5471836-316b-e811-a9d1-000d3a2540b9, OwnerIdType: 8 and CallingUser: e8e35877-2275-e811-a9d9-000d3a254640, CallerBusinessId: 430e01de-da69-e811-a84d-000d3a2afe2d. ObjectTypeCode: 3, ObjectBusinessUnitId: 430e01de-da69-e811-a84d-000d3a2afe2d, AccessRights: CreateAccess. Computed rightsToCheck=CreateAccess, grantedRights=8, hsmGrantedRights=None, grantedRightsWithHsm=8.CRM service call returned an error: Entity Reference cannot have Id and Key Attributes empty.

I tried to give administrator rights to user and import , but the error message wont go.I dont get if it is access problem or something else..

can any one please help with this problem..

Thanks,

Hajira

  • Suggested answer
    Moh Helper Profile Picture
    Moh Helper 250 on at
    RE: Error while Importing to Opportunity using SSIS Kingswaysoft

    Hi Roshan,

    I think it's because the owner with the id "b5471836-316b-e811-a9d1-000d3a2540b9" doesn't have the "write" privilege . I suggest you to give to all users the admin privilege  to avoid the errors privilege during the migration.

    Kind regards,

    Moh Helper

  • HajiraRoshan Profile Picture
    HajiraRoshan 550 on at
    RE: Error while Importing to Opportunity using SSIS Kingswaysoft

    Hi Ben,

    I am getting still the same error when using the create request also..

    Also by Update I tried changing the Manually Specify option.I am still getting the same error message.

    Thanks,

    Hajira

  • Suggested answer
    Ben Thompson Profile Picture
    Ben Thompson 6,350 on at
    RE: Error while Importing to Opportunity using SSIS Kingswaysoft

    You seem to be doing an upsert request rather than a create request and you aren't providing the online instance with the alternative keys it expects to allow the online instance to identify whether the record exists and needs to be updated or whether it needs to be created.

    You need to identify the alternative key attributes on the online instance (check they are identical to your on-premise instance) and then look at www.kingswaysoft.com/.../destination on how to specify the alternative keys...

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans