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.
You can find the DLL
Microsoft.Office.SecureStoreService.dllin the GAC of any SharePoint Server part of your SharePoint farm:You may be also interesting in the following assemblies:
Sources (working for SP 2019 as well) :