Skip to main content

Notifications

Dynamics 365 Community / Forums / Sales forum / Partner Center Referra...
Sales forum
Suggested answer

Partner Center Referrals Sync for D365 - Get a referral by ID failed

Posted on by 50

The Dynamics 365 Partner Center solution is failing to sync leads from PC into D365.  I get the following error, I setup a single step flow for troubleshooting, i get the same error with service account (REFERRAL ADMIN) and my privileged account (GA) and both fail with the same error.

Anyone get this connector to work? It has never worked for us.

ERROR: Action 'Get_a_referral_by_Id' failed

DETAILS: The caller doesn't have permission to perform the action.

INPUT:

{
    "host": {
        "connectionReferenceName": "shared_partnercenterref_3",
        "operationId": "GetReferralById"
    },

OUTPUT:
{
    "statusCode": 403,
    "headers": {
        "Request-Id": "01c5684d-0c5b-4791-b676-94f87dc4c930",
        "timestamp": "Mon, 06 Feb 2023 15:59:22 GMT",
        "X-ServiceFabricRequestId": "2067ddcc-586b-4377-977d-217a27a819c5",
        "Timing-Allow-Origin": "*",
        "x-ms-apihub-cached-response": "false",
        "x-ms-apihub-obo": "false",
        "Date": "Mon, 06 Feb 2023 15:59:22 GMT",
        "Content-Length": "238",
        "Content-Type": "application/json"
    },
    "body": {
        "error": {
            "code": "accessDenied",
            "message": "The caller doesn't have permission to perform the action.",
            "innerError": {
                "code": "99902",
                "message": "Unauthorized",
                "details": null
            }
        }
    }
}
    "parameters": {
        "id": "5998d9a9-2156-4605-983e-bfc3409fe5c2",
        "MS-CorrelationId": "08585259077250416652515019686CU190"
    }
}

  • Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: Partner Center Referrals Sync for D365 - Get a referral by ID failed

    I was also facing the same. But registering webhook resolved my issue. I would suggest create a support request for the same.

  • Levi Stevens Profile Picture
    Levi Stevens 50 on at
    RE: Partner Center Referrals Sync for D365 - Get a referral by ID failed

    Pradeep Rai - I just uninstalled and reinstalled the whole solution, so it is a new setup already.  I am getting the Webhook triggers (flow is getting triggered for the event) it is the Get Referral By Partner ID that is failing.  Even when I create a standalone flow, and call the same step manually, it fails for both a connection using my account and the service account.

  • Suggested answer
    Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: Partner Center Referrals Sync for D365 - Get a referral by ID failed

    Hi,

    Try registering the web hook request again and then check it again.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

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

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,186 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,996 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans