On my current project I needed to adjust and add some search mapping via SharePoint's Central Administration web site.
This should have been very straight forward as you have the ability to add managed properties and mappings easily via the UI.
However, when I went to save my changes I got the error "The settings could not be saved because of an internal error: Attempted to perform an unauthorized operation".
Now this was very confusing as I am administrator on the server and added into all of the correct SharePoint groups. I also tried the same action via PowerShell and got the same error.
After a few hours of research and head scratching I managed to get to the bottom of the problem which is the way my user account had been added as an administrator to the server.
In the company I work for to make it easier to manage the administrators on a server a group is created in active directory called "servername_admins". This group is added to the local administrators group on the server and all of the people who need to be administrators are added into this group. This works well and you might be thinking what is the problem?
Well SharePoint doesn't like it. SharePoint expects to find your user account directory added to the servers actual "Administrators" group. As I was already an administrator on the server I manually added myself to this account to save the search changes and it worked like a charm.
Interestingly if you check the documentation from Microsoft they do actually mention the need for the farm administrator to be included in the "Administrators" group on each server in the farm.
That's all for now, until next time!
Comments
Post a Comment