Sharepoint installation - Can't have access to the web application

Christophe Soustelle 20 Reputation points
2024-01-11T14:35:41.7+00:00

On Sharepoint 2016 eval with Windows Server 2012 R2 When I try to install MIM following the learn Microsoft documentation, I have the following: (web application configuration, all went fine before) https://learn.microsoft.com/fr-fr/microsoft-identity-manager/prepare-server-sharepoint $f = get-spfarm $f.AddGenericAllowedListValue("WebPartSupportedBoundPropertyNames","data-title-text") $f.AddGenericAllowedListValue("WebPartSupportedBoundPropertyNames","data-link-to-tab-text") $f.update() iisreset I have the following error: Method invocation failed because [Microsoft.SharePoint.Administration.SPFarm] does not contain a method named 'AddGenericAllowedListValue'. Any idea ? Thanks

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,205 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ling Zhou_MSFT 21,495 Reputation points Microsoft Vendor
    2024-01-12T02:28:29.8966667+00:00

    Hi @Christophe Soustelle, Thank you for posting in this community.

    This error message in IIS indicates that the method AddGenericAllowedListValue is not present in the SPFarm class of the Microsoft.SharePoint.Administration namespace.

    In the September 2021 CU for 2013, 2016, and 2019, Microsoft updated this method. The problem may occur if you are using SharePoint 2016 that is not updated.

    You can update your SharePoint 2016 by downloading the SharePoint 2016 update package according to this article: SharePoint 2016 update history.

    After the update, please restart IIS and SharePoint Server 2016, and continue your configuration.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.