Menu
Cutty
  • Chryslers
  • Lutherie
  • YLSNED
  • About
Cutty

InfoPath–Kerberos broke GetUserProfileByName

Posted on November 2, 2010February 20, 2015 by Iain 'Cutty' Carlin

I have an InfoPath form that was working.

It uses the SharePoint GetUserProfileByName method to get the user’s details to populate fields on the form. The form, that was working, recently stopped working giving the error: “The following query failed: GetUserProfileByName” and words to the effect that the user is unauthorised.

Strangely enough it turns out the solution was related to a previous post here where a web service could not be accessed because the web.config dynamic value for the web service set the site back to the root site.

My form was pointing to the root site for the web service. At that level the users don’t have permissions to access the web service. They do however have it at the sub-site level. Simply pointing the web service at the sub-site made the form work again.

But what broke it? I can only contribute it to the fact that I recently turned on Kerberos authentication on the Site Collection that these forms are part of and that has somehow affected the ability of the users to connect to the web service at the root level of the collection. Go figure.

  • InfoPath
  • Kerberos
  • SharePoint
  • Recent Posts

    • Books I read in 2025
    • 2024 was the best year for our solar system
    • Books I read in 2024
    • Books I read in 2023
    • Happy New Year 2024

    Categories

    • Chryslers (1)
    • Cutty's Blog (13)
    • Lutherie (38)
    • You Learn Something New Every Day (44)
    ©2026 Cutty | Powered by Superb Themes