web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

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

(0) ShareShare
ReportReport
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"
    }
}

I have the same question (0)
  • Suggested answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    Hi,

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

  • Levi Stevens Profile Picture
    50 on at

    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.

  • Pradeep Rai Profile Picture
    5,489 Moderator on at

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 171 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 83

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans