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 \\10.0.1.8\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 \\10.0.1.8\Software\Installers\SharePoint\AutoSPInstaller\AutoSPInstallerFunctions.ps1:5119 char:78
+ Update-SPSecureStoreGroupCredentialMapping -Identity $se ...
+ ~~~
+ CategoryInfo : InvalidData: (:) [Update-SPSecure...edentialMapping], ParameterBindingValidationExceptio
n
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Office.SecureStoreService.PowerShellCmdlet.SP
UpdateSPSecureStoreGroupCredentialMapping
--------------------------------------------------------------
- Script halted!
- Error provisioning Excel Service Application