Thursday, February 12, 2015

How to resolve "Access is denied to the Secure Store Service." error in SharePoint 2013


You configure BCS and Secure Store Service correctly and then when trying to access the External list items, you may encounter a very strange error that reads something like this:
 
Unable to render the data. If the problem persists, contact your web server administrator.


Correlation ID:<some guid>

When you check your SharePoint error logs, you may notice some errors like this:

Secure Store Service ValidateCredentialClaims - Access Denied: Claims stored in the credentials did not match with the group claim for a group app. 

Secure Store Service           Secure Store                   GetRestrictedCredentials failed with the following exception: System.ServiceModel.FaultException`1[Microsoft.Office.SecureStoreService.Server.SecureStoreServiceFault]: Access is denied to the Secure Store Service. (Fault Detail is equal to Microsoft.Office.SecureStoreService.Server.SecureStoreServiceFault). <some guid>

The best way to resolve this issue is to check the configured Target Application ID, especially "Members - The users and groups that are mapped to the credentials defined for this Target Application." and ensure proper user or group is entered (by clicking the "Edit" option on the Target Application in under Secure Store Service Application Administration screen -  Central Admin > Application Management > Manage Service Applications > Secure Store Service and Edit the Target Application ID > Click on Next till you get to the third page and set the field "Members" with the proper users/groups who will access this External list from SharePoint - in my example I set to "All Users")


Friday, February 06, 2015

How to Remove Page Title next to the logo in SharePoint 2013

Here is a quick tip on how you can Remove Page Title next to the logo in SharePoint 2013. Add to the end of your custom stylesheet for your SharePoint 2013 theme (typically in the Style Library)

h1.ms-core-pageTitle { display: none; } /* hide page title next to the logo */