SharePoint SecureStoreProvider not found

72 views Asked by At

I am developing a WebPart in Visual Studio (using .ascx) for SharePoint Server 2019 Standard and need to access the Secure Store Service. However, I cannot locate the Microsoft.Office.SecureStoreService.Server.dll which contains the SecureStoreProvider class.

I've searched the entire machine using PowerShell scripts without success.

I found a reference to this DLL in the March 8, 2022, update for SharePoint Server 2019 (KB5002163), but this didn't lead anywhere as my installation is fully patched (October 2023 at the time of writing).

The only similar DLL I found is Microsoft.Office.SecureStoreService.Server.Security.dll, but it lacks the necessary SecureStoreProvider class.

Any suggestions on accessing SecureStoreProvider for my WebPart would be greatly appreciated.

1

There are 1 answers

1
jleture On BEST ANSWER

You can find the DLL Microsoft.Office.SecureStoreService.dll in the GAC of any SharePoint Server part of your SharePoint farm:

C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Office.SecureStoreService

You may be also interesting in the following assemblies:

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\ISAPI\Microsoft.BusinessData.dll

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\ISAPI\Microsoft.Office.SecureStoreService.Server.Security.dll

Sources (working for SP 2019 as well) :