This project has moved and is read-only. For the latest updates, please go here.

New-SPSecureStoreApplication Failes

Topics: General Questions, Support
Mar 31, 2014 at 7:19 PM
I seem to run in to the following issue rather regularly - the issue is always with the call to "New-SPSecureStoreApplication" and always on the "Identity" parameter. What changes is which service application causes the issue. Today it is Excel.
 - Provisioning Excel Services Application...
 - Checking local service instance...
 - Starting Excel Calculation Services...
 - Waiting for Excel Calculation Services...Online
 - Creating Excel Services Application...
 - Re-importing SP PowerShell Snapin to enable new cmdlets...
 - Loading SharePoint PowerShell Snapin...
 - Configuring service app settings...
 - Setting unattended account credentials...
 - Creating Secure Store Target Application aef0fd14-f206-4c27-b043-3987a492e30b-ExcelUnattendedAccount...
 - Creating Secure Store Application...
New-SPSecureStoreApplication : Secure Store Service did not performed the operation.
At \\\Software\Installers\SharePoint\AutoSPInstaller\AutoSPInstallerFunctions.ps1:5111 char:47
+                             $secureStoreApp = New-SPSecureStoreApplication -Serv ...
+                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Offic...toreApplication:SPNewSPNewSPSecureStoreApplication) [New
   -SPSecureStoreApplication], AddressAccessDeniedException
    + FullyQualifiedErrorId : Microsoft.Office.SecureStoreService.PowerShellCmdlet.SPNewSPNewSPSecureStoreApplication

 - Updating Secure Store Group Credential Mapping...
Update-SPSecureStoreGroupCredentialMapping : Cannot validate argument on parameter 'Identity'. The argument is null.
Supply a non-null argument and try the command again.
At \\\Software\Installers\SharePoint\AutoSPInstaller\AutoSPInstallerFunctions.ps1:5119 char:78
+                         Update-SPSecureStoreGroupCredentialMapping -Identity $se ...
+                                                                              ~~~
    + CategoryInfo          : InvalidData: (:) [Update-SPSecure...edentialMapping], ParameterBindingValidationExceptio
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Office.SecureStoreService.PowerShellCmdlet.SP

 - Script halted!
 - Error provisioning Excel Service Application
Nov 20, 2014 at 1:31 PM
Hey ravensorb,

do you have one solution for the Problem?


Nov 17, 2016 at 2:56 AM
Hi ravensorb, Tradelingua,

I am having the same issue. I am not sure if the error message "...SPSecureStoreApplication], AddressAccessDeniedException" refers to a permission issue for the account executing the script (which I would assume is the Setup account).

I have not yet resolved this, so if you have any suggestions I am all ears.