Quantcast
Channel: AutoSPInstaller
Viewing all articles
Browse latest Browse all 2279

New Post: Error in granting rights to Profile and Social database (User Profile Service Application)

$
0
0
I get this same error on the Social and Profile databases wherein the application pool account SP_PortalAppPool could not be added to the shell admin role on those databases. I'm using:

-v 3.96 of the script
-Windows 2012
-SQL 2012
-SharePoint Enterprise 2013
-Individual accounts for

SP_Admin
SP_Farm
SP_Services
SP_PortalAppPool
SP_ProfilesAppPool
SP_SearchService
SP_CacheSuperUser
SP_CacheSuperReader
SP_ProfileSync
SP_SearchContent

Error messages are:
  • Granting CORP\SP_PortalAppPool rights to SP2013_Profile...
    Add-SPShellAdmin :
    "Cannot add CORP\SP_PortalAppPool to the SharePoint_Shell_Access role of the database SP2013_Profile. A possible
    cause of this error is that the account name was already added to the database as a login using a different user name
    than the account name."
    At \192.168.1.100\f$\Software\SharePoint\SP2013\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1:2996
    char:67
  • Get-SPDatabase | ? {$_.Name -eq $profileDB} | Add-SPShellAdm ...
  • ~~~~~~~~~~~~~~
    • CategoryInfo : InvalidData: (Microsoft.Share...AddSPShellAdmin:SPCmdletAddSPShellAdmin) [Add-SPShellAdm
      in], ArgumentException
    • FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddSPShellAdmin
  • Granting CORP\SP_PortalAppPool rights to SP2013_Social...
    Add-SPShellAdmin :
    "Cannot add CORP\SP_PortalAppPool to the SharePoint_Shell_Access role of the database SP2013_Social. A possible
    cause of this error is that the account name was already added to the database as a login using a different user name
    than the account name."
    At \192.168.1.100\f$\Software\SharePoint\SP2013\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1:2998
    char:66
  • Get-SPDatabase | ? {$_.Name -eq $socialDB} | Add-SPShellAdmi ...
  • ~~~~~~~~~~~~~~~
    • CategoryInfo : InvalidData: (Microsoft.Share...AddSPShellAdmin:SPCmdletAddSPShellAdmin) [Add-SPShellAdm
      in], ArgumentException
    • FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddSPShellAdmin

Viewing all articles
Browse latest Browse all 2279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>