Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Reason for organizationservicefault Exception in

Posted on by Microsoft Employee
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

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Reason for organizationservicefault Exception in

    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\

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Reason for organizationservicefault Exception in

    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.

  • Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Reason for organizationservicefault Exception in

    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.

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

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans