Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans