Solved

SharePoint Unattended Service Account

Posted on 2011-03-21
6
4,353 Views
Last Modified: 2012-05-11
when trying to generate a new key for Secure Store Service I get the error below:


Exception of type 'Microsoft.Office.SecureStoreService.Server.KeyManagement.InvalidMasterKeyException' was thrown.


Event Log:

Log Name:      Application
Source:        Microsoft-SharePoint Products-Secure Store Service
Date:          3/21/2011 2:29:02 PM
Event ID:      7522
Task Category: Secure Store
Level:         Error
Keywords:      
User:          mydomain/useraccount
Computer:      Server.mydomain.org

Description:
The Microsoft Secure Store Service application Secure Store Service encountered a failure while restoring the encryption key.  The error returned was: 'Exception of type 'Microsoft.Office.SecureStoreService.Server.KeyManagement.InvalidMasterKeyException' was thrown.'. For more information, see the Microsoft SharePoint Products and Technologies Software Development Kit (SDK).

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-SharePoint Products-Secure Store Service" Guid="{73541538-24DA-4282-AE1C-3A6321C23FB8}" />
    <EventID>7522</EventID>
    <Version>14</Version>
    <Level>2</Level>
    <Task>1</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2011-03-21T19:29:02.364251800Z" />
    <EventRecordID>167764</EventRecordID>
    <Correlation ActivityID="{0D195BD3-1C90-4D5B-90DC-7F688E4B9C1F}" />
    <Execution ProcessID="7856" ThreadID="6664" />
    <Channel>Application</Channel>
    <Computer>Server.mydomain.org</Computer>
    <Security UserID="S-1-5-21-1128077980-145645553-925700815-7981" />
  </System>
  <EventData>
    <Data Name="string0">Secure Store Service</Data>
    <Data Name="string1">Exception of type 'Microsoft.Office.SecureStoreService.Server.KeyManagement.InvalidMasterKeyException' was thrown.</Data>
  </EventData>
</Event>
0
Comment
Question by:rswanigan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 15

Expert Comment

by:sharepointguru14
ID: 35185769
1. Are you the admin of the secure store service application?
2. Do you know the passphrase?
3. Are you currently using the secure store for anything or is recreating an option?
4. Are there any other errors in the ULS logs (located in sharepoint root\logs)
0
 

Author Comment

by:rswanigan
ID: 35185909
1. Yes
2. No, I am getting the error when I am trying to create a new passphrase
3. No, I am trying to start using BI Center, but can not create any data connections
4. Yes, they are related.  

PerformancePoint Service:

The Unattended Service Account cannot be set for the service application. The Secure Store Service key might not have been generated or properly refreshed after the service was provisioned.
0
 
LVL 15

Accepted Solution

by:
sharepointguru14 earned 500 total points
ID: 35185958
I would say try resetting it through powershell instead, but if you don't have anything on it and are having issues with it, it might be best to just delete the service application and recreate it fresh.

The the config is detailed out pretty well here. I know its for powerpivot install but its the same process for performance point
http://sharepoint.licomputersource.com/2011/03/how-to-install-and-configure-powerpivot-for-sharepoint-2010/


Powershell to generate new key secure store master key is

$newPassPhrase = "passphrase123!"
 Update-SPSecureStoreMasterKey –ServiceApplicationProxy $contosoProxy –Passphrase $newPassPhrase
0
More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

 

Author Comment

by:rswanigan
ID: 35186016
i get an error from the powershell command


PS C:\Users\MOSS> $newPassPhrase = "passphrase123!" Update-SPSecureStoreMasterKe
y -ServiceApplicationProxy $contosoProxy -Passphrase $newPassPhrase

Unexpected token 'Update-SPSecureStoreMasterKey' in expression or statement.
At line:1 char:64
+ $newPassPhrase = "passphrase123!" Update-SPSecureStoreMasterKey <<<<  -Servic
eApplicationProxy $contosoProxy -Passphrase $newPassPhrase
    + CategoryInfo          : ParserError: (Update-SPSecureStoreMasterKey:Stri
   ng) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnexpectedToken

PS C:\Users\MOSS>
0
 

Author Comment

by:rswanigan
ID: 35186089
I just deleted the App and recreated it.  Thanks.
0
 
LVL 15

Expert Comment

by:sharepointguru14
ID: 35189326
ok glad you got it working the error you had with the powershell is because you need to hit enter before the Update-SPSecureStoreMasterKey cmdlet. So there should be 2 lines.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question