Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SharePoint Unattended Service Account

Posted on 2011-03-21
6
Medium Priority
?
4,465 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
  • 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 2000 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
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 

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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

824 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