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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Get-CrmSetting : The caller was not authenticated by the service.

(0) ShareShare
ReportReport
Posted on by 635

When trying to fix my Help URL on a working IFD of Dynamics CRM 2011 UR11, I get the following error in an elevated PowerShell session:

 Get-CrmSetting : The caller was not authenticated by the service.
At line:1 char:29
+ $websetting = Get-CrmSetting <<<<  WebAddressSettings
    + CategoryInfo          : NotSpecified: (:) [Get-CrmSetting], SecurityNegotiationException
    + FullyQualifiedErrorId : System.ServiceModel.Security.SecurityNegotiationException,Microsoft.Crm.PowerShell.GetCr
   mSettingCmdlet

I am logged in as a Domain and Enterprise Admin.  Any idea as to why I can't run a simple Get?

Please advise,

Benjamin Rutledge

*This post is locked for comments

I have the same question (0)
  • Benjamin Rutledge Profile Picture
    635 on at

    I've found and tried to follow these two posts, but had issues with each:

    community.dynamics.com/.../crm-2011-help-menu-unavailable-when-you-configure-ifd.aspx (is this a SQL query they suggest I run?)

    www.zero2ten.com/.../microsoft-dynamics-crm-2011-help-doesnt-work-after-internet-facing-deployment (this is where I had the PowerShell issues mentioned above)

  • Benjamin Rutledge Profile Picture
    635 on at

    I can't be the only one with this problem.  Someone please advise.

  • Verified answer
    Benjamin Rutledge Profile Picture
    635 on at

    After finally finding and reading a number of other entries on the subject, I found that the purpose of the two posts referenced earlier was to set the HelpServerUrl in the configsettings table of the MSCRM_CONFIG database to a blank string.  They took two different paths to doing so, the first through SQL and the second through PowerShell.  By focusing on the SQL solution, I was able to resolve my issue, though it looked like it failed initially.  I'd still like to know what's wrong with my PowerShell, but for now, I'm all good to go--Help is working again on my IFD.

  • Sergiy Kalinkin Profile Picture
    10 on at

    I have the same problem with powershell and Microsoft.Crm.PowerShell cmdlet.

    PS C:\> Get-CrmOrganization

    Get-CrmOrganization : Source    : mscorlib

    Method    : HandleReturnMessage

    Date    : 9:38:13 AM

    Time    : 5/1/2014

    Error    : The caller was not authenticated by the service.

    Stack Trace    :

    ======================================================================================================================

    Inner Exception Level 1    :

    Source    : System.ServiceModel

    Method    : ThrowIfNegotiationFault

    Date    : 9:38:13 AM

    Time    : 5/1/2014

    Error    : The request for security token could not be satisfied because authentication failed.

    Stack Trace    :

    ======================================================================================================================

    At line:1 char:1

    + Get-CrmOrganization

    + ~~~~~~~~~~~~~~~~~~~

       + CategoryInfo          : InvalidData: (Microsoft.Crm.P...anizationCmdlet:GetCrmOrganizationCmdlet) [Get-CrmOrgani

      zation], SecurityNegotiationException

       + FullyQualifiedErrorId : CRM Deployment Cmdlet Error,Microsoft.Crm.PowerShell.GetCrmOrganizationCmdlet

    PS C:\>

  • Community Member Profile Picture
    on at

    Hello,
    I ran into the same issue when I tried to get a CRM Claims setting (Get-CrmSetting -SettingType ClaimsSettings)

    I found a KB article from microsoft which helped me to resolve the issue:

    https://support.microsoft.com/en-us/kb/896861

    I have used method 2 with the DisableLoopbackCheck registry key on the CRM application server

    regards,

    Moritz

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans