Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SharePoint Unattended Service Account

Posted on 2011-03-21
6
Medium Priority
?
4,403 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 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
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.

 

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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

718 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