Solved

SharePoint Unattended Service Account

Posted on 2011-03-21
6
4,151 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:rswanigan
Comment Utility
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
Comment Utility
I just deleted the App and recreated it.  Thanks.
0
 
LVL 15

Expert Comment

by:sharepointguru14
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now