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
Hi there!

I had the same problem using SPAutoInstaller (Configuration Version="3.96") on a multi-server farm.
All service account are unique and have separate passwords. and the input XML has been filled using SPAutoInstallerGUI.

Error Message:
  • Granting domain\serviceaccountname rights to Prefix_Content_MyPortal...
  • Granting domain\serviceaccountname rights to Prefix_Profile...
    Add-SPShellAdmin :
    "Cannot add domain\serviceaccountname to the SharePoint_Shell_Access role of the database Prefix_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 F:\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1:3141 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 domain\serviceaccountname rights to SP2013DEV_Social...
      Add-SPShellAdmin :
      "Cannot add serviceaccountname to the SharePoint_Shell_Access role of the database PRefix_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 F:\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1:3143 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>