<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008G7VL8SANOkta Classic EngineOkta Integration NetworkAnswered2024-04-30T09:18:25.000Z2015-10-13T15:09:09.000Z2016-09-01T18:17:28.000Z

qsldk (qsldk) asked a question.

Configurng SP to use Okta as the auth prov. Installed the People Picker but it wasn't clean so we removed it. Now getting a sys excptn of: Error installing the Okta Claims Provider feature. Exception: Objects cannot be used once they have been del. Ideas?
Configurng SP to use Okta as the auth prov. Installed the People Picker but it wasn't clean so we removed it. Now getting a sys excptn of: Error installing the Okta Claims Provider feature. Exception: Objects cannot be used once they have been del. Ideas?

  • j5v7c (j5v7c)

    Hi Angela,

     

    This has been observed to happen when the people picker DiagnosticProvider is not cleanly removed. There is a work around:

     

    Error: Unable to redeploy PeoplePicker solution because getting the following SharePoint error:  System.Exception: Error installing the Okta Claims Provider feature. Exception: Objects cannot be used once they have been deleted.   

     

    Solution: This is caused by the People Picker Diagnostic service not being properly removed during the uninstall process. This can happen if the Okta claims provider is not disabled during an uninstall of the PeoplePicker solution. Execute the following PowerShell commands to manually remove the Diagnostic service:

     

    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint.Administration")

    $farm = [Microsoft.Sharepoint.Administration.SPFarm]::Local

    $svc = $farm.Services | Where-Object {$_.TypeName -eq 'OktaClaimsProvider.OktaClaimsDiagnosticService'}

    $svc.Delete()

     

    That should clean everything up, and allow you to re-install the people picker.

     

    If you have more questions on our product join our "Ask me Anything" session on 10/15 at 10 AM PT. I will be hosting an open Q&A on Okta Mobility Management, Adaptive MFA, and other topics. You can learn more here: bit.ly/1joCz1Q
    Expand Post
  • qsldk (qsldk)

    Thank you Arturo! We will give this a try.
This question is closed.
Loading
Configurng SP to use Okta as the auth prov. Installed the People Picker but it wasn't clean so we removed it. Now getting a sys excptn of: Error installing the Okta Claims Provider feature. Exception: Objects cannot be used once they have been del. Ideas?