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 :
Microsoft Dynamics CRM (Archived)

Reason for organizationservicefault Exception in

(0) ShareShare
ReportReport
Posted on by
I am trying to install profiler in my production server but I was not able to do it. But the same is working fine in sandbox. what could be the reason for the same? Also particular plugin fails to work in production server and it givers service [Microsoft.Xrm.Sdk.OrganizationServiceFault. I am not sure why I am getting this error. Please helpe me.

*This post is locked for comments

I have the same question (0)
  • Rawish Kumar Profile Picture
    13,758 on at

    Hi There,

    The reason why profiler is not working can be due the fact that you might not be using the latest PRT :

    Download tools using PowerShell

    1. In your Windows Start menu, type Windows Powershell and open it.

    2. Navigate to the folder you want to install the tools to. For example if you want to install them in a devtools folder on your D drive, type cd D:\devtools.

    3. Copy and paste the following PowerShell script into the PowerShell window and press Enter.

    paste this first :

    $sourceNugetExe = "dist.nuget.org/.../nuget.exe" $targetNugetExe = ".\nuget.exe" Remove-Item .\Tools -Force -Recurse -ErrorAction Ignore Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe Set-Alias nuget $targetNugetExe -Scope Global -Verbose

    Then this : 

    ## ##Download Plugin Registration Tool ## ./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .\Tools md .\Tools\PluginRegistration $prtFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool.'} move .\Tools\$prtFolder\tools\*.* .\Tools\PluginRegistration Remove-Item .\Tools\$prtFolder -Force -Recurse

    you will find the tool under C\

    • [Your folder]\Tools\PluginRegistration

    mark my suggestion as verified if helpful.

  • Community Member Profile Picture
    on at

    Thank you for your reply Rawish. Same PRT is working fine for my sandbox environment. I I am getting Microsoft.Xrm.Sdk.OrganizationServiceFault error only in production environment during the plug in execution. Could you be able to help me in this as well.Though we use same CRM online version between production as well as live. I am getting error only in production environment.

  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    Hi Dharani,

    we have to dig in the error further as Microsoft.Xrm.Sdk.OrganizationServiceFault  is a generic error and you can have multiple detailed error within.

    you have to get your profiling working as with that you will be able to track the main error.

    can you check the plugin registration tool error logs and why you are not able to profile :

    here is the path of my system :

    C:\Users\rawish.kumar\AppData\Roaming\Microsoft\Microsoft Dynamics CRM Plug-in Registration Tool\

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans