Solved

SharePoint Unattended Service Account

Posted on 2011-03-21
6
4,304 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

752 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