This week I accidently disabled the touch pad on my HP portable (EliteBook 8570p). Apparently this happened because I touched the upper left corner of the touch pad – you see an orange led light when touch pad is disabled. Just double tap the upper left corner again and it is activated again.
Friday, November 29, 2013
Wednesday, November 13, 2013
Fixing the form cannot be rendered error in SharePoint 2013 workflows
I recently encountered an error when trying out the standard SharePoint 2010 workflows in a newly installed SharePoint 2013 environment. When opening the workflow initiation form it gave me an error “The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator.”
Apparently my SharePoint 2013 did not have a State Service Application configured – to create a new State Service Application you are required to use PowerShell since the option is not available in the interface. Take a look at New-SPStateServiceApplication cmdlet documentation on Technet
1: $serviceApp = New-SPStateServiceApplication -Name “State Service Application” 2: New-SPStateServiceDatabase -Name “SharePoint_Service_State” -ServiceApplication $serviceApp 3: New-SPStateServiceApplicationProxy -Name “State Service Application Proxy” -ServiceApplication $serviceApp -DefaultProxyGroupWednesday, October 30, 2013
Understanding SharePoint 2010 Search ranking model and tuning SharePoint People Search ranking
SharePoint 2010 search has standard 9 different relevancy ranking models defined, from which two are used by default. To get an overview of the different ranking models which are registered you can use the Get-SPEnterpriseSearchRankingModel PowerShell cmdlet.
Get-SPEnterpriseSearchRankingModel -SearchApplication "Search Service Application"
After running this command you will get an overview of the different available ranking models.
The two default ranking models that are used are MainResultsDefaultRankingModel and MainPeopleModel. You can see this by exporting the Core search results web part and the People search results webpart. For example when exporting the People search results webpart you will notice the following property
So let’s take a closer look at the MainPeopleModel – at first I thought that I could simply export a ranking model to XML in a similar fashion as outlined in Rank models in 2013 – Main differences
$peoplerankingmodel = Get-SPEnterpriseSearchRankingModel -SearchApplication $ssa -Owner $owner -Identity d9bfb1a1-9036-4627-83b2-bb9983ac8a1 $peoplerankingmodel.RankingModelXML > peoplerankingmodel.xml
But unfortunately this XML returned seemed to be empty on my SharePoint 2010 environment – which seems to be behavior by design as explained in this blog post Accessing rank models in SharePoint 2010. But luckily you can also open the MSSRankingModels table in the Search Service Application database and take a look at the XML which is stored in the database.
Now let’s take a closer look at the XML which I copied out. As you see in the XML SharePoint Server 2010 also implements the BM25 ranking model which gives weights to certain fields (managed search properties) for dynamic ranking (This is a very simplistic explanation – for detailed explanation see Microsoft Cambridge at TREC-14: Enterprise track and Static Score Bucketing in Inverted Indexes )
You see a number of managed search properties which are being used – these actually map onto the following crawled properties.
| Managed property | Mapped crawled property |
| RankingweightName | People:CombinedName,People:UserName,People:WorkEmail,People:AccountName,People:SPS-SipAddress |
| PreferredName | People:PreferredName |
| JobTitle | People:SPS-JobTitle,People:Title,ows_JobTitle,ows_Job_x0020_Title |
| Responsiblities | People:SPS-Responsibility (Ask me about) |
| RankingWeightLow | People:SPS-Skills, People:SPS-Interests |
| ContentsHidden | People:SPS-Location,People:Office,People:SPS-PastProjects,People:SPS-School, etc… |
| Memberships | People:Quicklinks |
| RankingWeightHigh | People:OrganizationNames,People:Department |
| Pronunciations | People:SPS-FirstName,People:SPS-LastName,People:SPS-PreferredName,People:SPS-PhoneticFirstName, etc … |
So you will probably notice that the People search will not take your own custom created user profile properties into account when doing a search for people. You will also notice that the user profile properties skills and interests are assigned the same weight from a relevance perspective since they both map onto the RankingWeightLow property.
It is however also possible to create your own ranking model based on the Ranking Model Schema definition (MSDN). But Microsoft will only allow you to customize certain parts of the search engine ranking algorithm (For SharePoint 2013 there is a lot more in depth documentation of the ranking models – check out Customizing ranking models to improve relevance in SharePoint 2013 ).
In the next example XML schema I added my own custom managed property Certifications and kept all of the other properties and weights for the different querydependent features.
To get at the internal id of the property (called pid in the example above) – you will need to use the Get-SPEnterpriseSearchMetadataManagedProperty PowerShell cmdlet. Besides the weight you can also specify lengthnormalization – a good explanation of this is found in Evaluation and customizing search relevance in SharePoint 2007 :
Modifying the length normalization setting applies only to properties that contain text. For example, consider a scenario where relevance is calculated for two content items containing the query term within the body of the content item, within a book, and within a document containing only a short paragraph. The book is likely to contain more instances of the query term, so it might receive a higher rank value, even if the shorter document is just as relevant to the user's search. The length normalization setting addresses this issue, providing consistency in ranking calculations for text properties, regardless of the amount of text within that property.
Next we will need to import our XML with the custom ranking model – you do this using the New-SPEnterpriseSearchRankingModel cmdlet.
The easiest way to test your new custom ranking model is by using a querystring parameter rm – like this http://jopx/searchcenter/peopleresults.aspx?k=yammer&rm=[ID of your ranking model]. In the screenshot below the People search will also take into account my own custom profile property - Certifications allowing me to search on them.
To use this new model in production, you can export the Core Results webpart, modify the RankingModel parameter and reimport the web part.
References:
- Improve SharePoint Search Relevance – interesting sample code for building a console app which uses a custom ranking algorithm
- Microsoft Cambridge at TREC-14: Enterprise track
- Customizing ranking models to improve relevance in SharePoint 2013
- Ranking Model Schema definition (MSDN)
- Rank models in 2013 – Main differences
- Tuning SharePoint Search Relevance with Ranking Models
Tuesday, October 15, 2013
Seminarie - Anders vergaderen, communiceren en samenwerken
Het nieuwe werken brengt twee belangrijke risico’s met zich mee, wanneer het té nauw geïnterpreteerd wordt. Minder innovatie en een lagere betrokkenheid. Twee valkuilen die een enorme impact hebben op het slagen of falen van de implementatie van een nieuwe werkplek. Drie succesfactoren zijn cruciaal: de juiste tools om mee te werken, een gepaste kantooromgeving en een gedrags- en cultuurwijziging, begeleid vanuit HR.
Tijdens dit Anders Vergaderen Event dompelen we u - wetenschappelijk onderbouwd door Professor P. Vink (TU Delft) - onder in de wereld van het nieuwe werken en zijn bottlenecks. Een combinatie van praktijkvoorbeelden, business sessies en het aan-den-lijve-ondervinden maakt dat het een boeiende voormiddag wordt, waarna u met een hoofd vol inzichten de herfstvakantie kunt instappen.
Agenda
- Het Nieuwe Werken vraagt om anders bijeenkomen - Spreker: Peter Vink is hoogleraar aan de faculteit Industrieel Ontwerpen van de TU-Delft en houdt zich bezig met “environmental design”. Hij heeft meer dan 250 artikelen en boeken geschreven over het effect van de omgeving op comfort en prestatie.
- Change management om resultaat te boeken Werkelijk resultaat boeken met het Nieuwe Werken lukt enkel als de invoering aangepakt wordt als een integraal verandertraject. Hierin is Acerta deskundig. Wij laten u graag kennismaken met onze changemanagement methodologie en toolbox. – Spreker: Veerle Theys, Director Change Management, Acerta
- The connected company 66% van de CIOs zien efficiënte samenwerking als essentieel voor waarde creatie. Bovendien zijn het merendeel van de taken van kenniswerkers dermate complex geworden dat samenwerking tussen verschillende disciplines binnen een bedrijf en over bedrijven heen noodzakelijk is. RealDolmen ligt in deze sessie toe hoe technologie samenwerking kan ondersteunen en wat de valkuilen en best practices zijn bij de implementatie van samenwerkingsplatformen – Spreker Joris Poelmans Principal Consultant, RealDolmen
- Het werkelijke connectieverhaal Hoe zorg je ervoor dat mensen elkaar ‘vinden’ op het werk? Buroncept begeleidde reeds Decathlon , Toyota, Taminco, Michael Page, Sony Music en Petercam naar hun ideale connectieplek. Spreker: Ines Van Obbergen, Project Consultant, Buroconcept
Datum
Vrijdag 25 oktober van 9.30 tot 14.00 uur.
Deelname is gratis. Voor annulaties na 18 oktober bedraagt de annulatiekost wel 50€.
Schrijf u hier in voor dit event.
Thursday, October 10, 2013
Co-authoring in SharePoint 2013 – things you should now
- There also does not seem any difference in co-authoring experience when you compare SharePoint 2013 with Office Web Apps and SharePoint 2010 with Office Web Apps.
- For both SharePoint 2010 and SharePoint 2013 – no co-authoring available from Office clients (not in Excel 2010 nor in Excel 2013)
- Co-authoring is available using the Excel Web Apps – both in SharePoint 2010 and SharePoint 2013
- Co-authoring requires that the check-in/check out functionality is not enabled on SharePoint document libraries
- Co-authoring will work in most browsers (Internet Explorer, Firefox, Safari and Chrome) and on most platforms.
- Theoretically there is no limit on the number of users who can co-author a document.
- Office 2010 users have the same set of co-authoring features when they open documents from SharePoint 2013 or SharePoint Online as they do when they open documents from a SharePoint 2010 document library.
- Overview of co-authoring in SharePoint 2013
- Document collaboration and co-authoring - more end user focused documentation
Tuesday, October 01, 2013
Nominated as SharePoint MVP for 2013 – 9 times in a row
I just got the news that I have been renewed as SharePoint Server MVP. I became a SharePoint MVP in 2005 – so this is my 9th year in a row as SharePoint MVP (For those who don’t know what MVPs are check out http://mvp.microsoft.com/en-us/overview.aspx) . I like to say that I’m proud to be a part of such a great community.
As SharePoint developer,consultant, architect or system engineer it currently is an exciting time with the introduction of the SharePoint app model, the cloud first approach of Microsoft around SharePoint and the integration of great technologies such as FAST and Yammer. So reach out to your local community groups to learn from your peers and discuss the challenges and best practices around SharePoint and Yammer – be it on-premise or in the cloud.
If you are working with SharePoint and living in Belgium – definitely register yourself on the BIWUG site - http://www.biwug.be/ to stay up to date for the latest events.
Tuesday, September 10, 2013
SharePoint 2013 Search survey
Search is about more than just showing relevant information based on a keyword. It is also about visualizing and sharing knowledge and insights within an organization. The combination of Social and Search enables your employees to respond faster and find the experts in your organization.
Microsoft SharePoint 2013's new unified search platform (in which FAST Search has been integrated) ensures that the information can easily be found. The search engine uses new algorithms to continuously increase the relevance of the search results and makes it easier to integrate business applications. What arouses our curiosity however, is how frequently SharePoint's search function is actually used within your company. Hence the reason for this survey. This way, we hope to gain a better insight into the current use of SharePoint Search, as well as the industry's present needs regarding this function. SharePoint 2013 Search Survey Are you curious about these results too? Participate in this study by filling out the survey and the results will be sent to you within a few weeks! Completing the survey should only take about 5 minutes and, in addition, gives you a chance to win a 50€ voucher at Media Markt (Participants from Belgium only) Your contribution would be greatly appreciated.
Thanks in advance!
Tuesday, August 20, 2013
Site policies in SharePoint 2013
You can define site policies for a site collection in the root site; these site policies are then available to all sites in the site collection. Go to Site Collection Administration and underneath the Site Settings section you will find the Site Policies page. Although the documentation on MSDN - Overview of site policies in SharePoint 2013 - states that there are 4 site policy options – the fourth one – run a workflow - is not available any more as this option has been removed in the final release – this leaves us with 3 options:
- Do not close or delete site automatically. This policy option specifies that the site owner must manually delete the site.
- Delete sites automatically. This policy option specifies that a site owner can close the site manually, but the site will be deleted automatically based on the deletion event settings specified.
- Close and delete sites automatically. This policy option has the same choices as the preceding setting, for deleting sites automatically, but it also enables you to specify how long after a site’s creation date the site will be closed.
Technorati Tags: sharepoint,sharepoint+2013,sp2013,microsoft,governance,site+policies,ECM,ITPro,administration
Monday, August 19, 2013
SharePoint Server 2013 licensing and external users
Microsoft has introduced an important change in their licensing model for SharePoint 2013 by removing the need to acquire client access licenses (CAL) for external users in extranet and internet sites scenario. Yes, that’s correct no CALs are required for external users in SharePoint 2013. For some more info about licensing check out the links below:
- SharePoint 2013 licensing overview page
- SharePoint feature availability across on-premises solutions (Technet) – which compares Standard edition vs Enterprise edition is part of the SharePoint Online Service Description, also provides a clue about what Microsoft is currently focusing on.
- Licensing Brief – Licensing Microsoft SharePoint Server 2013 – explains common usage scenarios such as intranet, extranet and internet
Create a mapping to the SharePoint 2013 master page gallery on Windows Server 2012
SharePoint Server 2013 allows you to use your design tool of choice (Microsoft Expression, NotePad++, Dreamweaver, etc…) to create a new look and feel for your SharePoint 2013 environment (Check out this excellent post from Steve Peschka – Using Dreamweaver and Design Manager with SharePoint 2013 )
The look and feel of a SharePoint site is defined by a number of different artifacts and most of these are stored in the SharePoint master page gallery. One of the changes that Microsoft has introduced to allow for this choice of design tools is to provide WebDAV support for the SharePoint Master Page Gallery (See Master pages, the Master Page Gallery and page layouts in SharePoint 2013 on MSDN for more background info)
If you are a SharePoint developer – you are probably working on the SharePoint Server itself (either Windows 2008 R2 or Windows Server 2012) and to make this integration available you will first need to activate the Desktop Experience feature on the server. On Windows Server 2012 this feature is visible underneath User Interface and infrastructure
After installing the Desktop Experience (this will require a reboot) you can simply open the SharePoint 2013 master page gallery in Windows Explorer.
Friday, August 16, 2013
Managing SharePoint Online with Powershell
Once installed you can open the SharePoint Online Management Shell, it is implemented as a PowerShell module which also allows you to use it in another PowerShell editor by manually loading the required module Import-Module Microsoft.Online.SharePoint.PowerShell.
To establish a connection to your SharePoint Online tenant you will need to use the Connect-SPOService cmdlet (Remember that you must use the tenant admin site url as a parameter). This will fill up a static internal variable which will be used afterwards. You should clear this internal variable using the Disconnect-SPOService cmdlet.
Connect-SPOService –Url https://yoursite-admin.sharepoint.com –credential ray.charles@yoursite.onmicrosoft.com
Once you are connected you can manipulate your SharePoint Online environment. There are only 30 cmdlets available in for SharePoint Online – to get a full list type the following command.
Get-Command –Module Microsoft.Online.SharePoint.PowerShell
All cmdlets start with SPO. Most cmdlets are related to site collection management, user and app management. All returned object are simple data objects and most of them are limited in functionality.
Cmdlet name | Description |
Add-SPOUser | Adds an existing Office 365 user or an Office 365 security group to a SharePoint group. |
Connect-SPOService | Connects a SharePoint Online global administrator to a SharePoint Online connection (the SharePoint Online Administration Center). This cmdlet must be run before any other SharePoint Online cmdlets can run. |
Disconnect-SPOService | Disconnects from a SharePoint Online service. |
Get-SPOAppErrors | Returns application errors. |
Get-SPOAppInfo | Returns all installed applications. |
Get-SPODeletedSite | Returns all deleted site collections that are in the Recycle Bin. |
Get-SPOSite | Returns one or more site collections. |
Get-SPOSiteGroup | Returns all the groups on the specified site collection. |
Get-SPOTenantLogEntry | Retrieves SharePoint Online company logs. |
Get-SPOTenantLogLastAvailableTimeInUtc | Returns the time when the SharePoint Online organization logs are collected. |
Get-SPOUser | Returns the SharePoint Online user or security group accounts that match given search criteria. |
Get-SPOWebTemplate | Shows all site templates that match the given identity. |
New-SPOSite | Creates a new SharePoint Online site collection for the current company. |
New-SPOSiteGroup | Creates a new group in a SharePoint Online site collection. |
Remove-SPODeletedSite | Removes a SharePoint Online deleted site collection from the Recycle Bin. |
Remove-SPOSite | Sends a SharePoint Online site collection to the SharePoint Online Recycle Bin. |
Remove-SPOSiteGroup | Removes a SharePoint Online group from a site collection. |
Remove-SPOUser | Removes a user or a security group from a site collection or a group. |
Repair-SPOSite | Checks and repairs the specified site collection and its contents. |
Request-SPOUpgradeEvaluationSite | Requests to create a copy of an existing site collection for the purposes of validating the effects of upgrade without affecting the original site. |
Restore-SPODeletedSite | Restores a SharePoint Online deleted site collection from the Recycle Bin. |
Set-SPOSite | Sets or updates the values of one or more properties for a site collection. |
Set-SPOSiteGroup | Updates the SharePoint Online owner and permission level on a group inside a site collection. |
Set-SPOTenant | Sets properties on the SharePoint Online organization. |
Set-SPOUser | Configures properties on an existing user. |
Test-SPOSite | Tests a SharePoint Online site collection. |
Upgrade-SPOSite | Starts the upgrade process on a site collection. |
There are no cmdlets available for managing SharePoint objects at a lower scope than the site collection. The following examples show you some examples of the more common cmdlets. To see a list of site collections associated with a subscription or to see the details for a specific site collection use the Get-SPOSite cmdlet. Use the following command to retrieve the details about a specific SharePoint Online site collection. You need to specify the –Detailed option to retrieve information about CompatibilityLevel,ResourceUsageCurrent,ResourceUsageAverage, StorageUsageCurrent,Webcount and the Title.
Get-SPOSite https://yoursite.sharepoint.com –Detailed | select *
A slight variation on the script above allows you to get usage data about all of your different SharePoint Online site collections. The use of –limit all allows you to get all of the SP Online site collection, standard it will only return 200.
Get-SPOSite –limit all –detailed | Export-CSV –path MyReport.csv
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI.
The next sample code shows how you can use these assemblies from Powershell which allow you to do a lot more with PowerShell and SharePoint Online.
$loc = "C:\Powershell" # Location of DLL's
$siteUrl = "https://yoursite.sharepoint.com"
$loginname = "ray.charles@yoursite.onmicrosoft.com"
Set-Location $loc
Add-Type -Path (Resolve-Path "Microsoft.SharePoint.Client.dll")
Add-Type -Path (Resolve-Path "Microsoft.SharePoint.Client.Runtime.dll")
Write-Host "Please enter password for $($siteUrl):"
$pwd = Read-Host -AsSecureString
$ctx = New-Object Microsoft.SharePoint.Client.ClientContext($siteUrl)
# Authenticate against SharePoint Online
$ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($loginname, $pwd)
$web = $ctx.Web
$ctx.Load($web)
$ctx.ExecuteQuery()
Write-Host " Current web title is '
$($web.Title)', $($web.Url)"
Wednesday, August 14, 2013
Multilingual User Interface and Language Packs for SharePoint Server 2013
The Language Packs for SharePoint Server 2013 are now also publicly available for download (and not only from MSDN as in the previous months) – go to Language Packs for SharePoint Server 2013 [English] and select the appropriate language in dropdown. Also take a look at Install or uninstall language packs for SharePoint Server 2013 before performing the installation. Remember that you are no longer required to first do an installation of the SharePoint Foundation language packs.
From an end-user perspective there is a big change with regards to the multilingual interface. In SharePoint 2010 an end user could quite easily switch his language using the language picker in the top right of the page (See Multilingual User Interface in SharePoint 2010 for more details).
Unfortunately this is not the case anymore for SharePoint 2013. By default a SharePoint site for which alternate languages are defined will be shown in the language which is defined in the browsers language settings. A user can however change this by editing his SharePoint user profile – Select About Me (in the top right corner), Edit Profile and next expand the tab menu by clicking the 3 dots and select Language and Region. In the next screen a user is able to select his preferred display language.
Once a user has selected a specific language – the following elements in the user interface will be translated (as shown with the French display language below)
- The standard SharePoint menus e.g. the ribbon are translated
- Navigation menu’s also support multilingual scenario’s with the MUI – if you switch your language and translate specific menu nodes in your navigation – these changes are language specific.
- The headings for list and site columns
- The managed metadata field type also supports multilingual scenario’s.
In my opinion this is making things way to complicated for end users and we will probably need some other workarounds for automatically setting the display language of a user since the majority will not find these menu options.
Tuesday, August 13, 2013
Big Data – reading and video material
Mental note to myself to take a look at this in the coming weeks :-) …
- Understand your customers with Hadoop – tutorial – analyzing sentiment data
- Hortonworks Sandbox – a full HDP environment on a virtual machine with a dozen interactive hadoop tutorials to get you started
- Where does Hadoop fit in a modern data architecture
- The next big thing in Big Data: People Analytics
- Analyzing Big Data with Twitter (UC Berkeley course lectures)
- Big Data analytics e-book (IBM)
- Big Data Analytics – Facts & feelings
- Big Data can bring patients to water but it can’t make them think – how Aetna uses Big Data to predict cardiovascular diseases
- The not so distant future of Big Data
- Meeting the Challenge of Big Data (Oracle)
- Measuring return on Knowledge in a Big Data world
- 5 ways Big Data is going to blow your mind and change your world
- Microsoft’s vision of our future is big screens and big data
- SQL Server Blog – Busting Big Data Adoption Myths – Part 1, Part 2 and Part 3
- 3 presentations on R: Mining, Web Development and Data Visualization
Using Information Rights Management in SharePoint Online
- First enable Windows Azure RMS on Office 365 level – see Office 365 – Use Right Management Services. RMS is a shared service which can be used by Exchange Online and SharePoint Online and needs to be enabled at tenant level. It is not default enabled.
- Next Set up Information Rights Management (IRM) in SharePoint admin center (Office 365). If you get an error here saying “Error: RMS Online is not enabled for this tenant, please contact Office 365 to enable.” – you probably forgot step 1.
- Finally configure Rights Management on specific Document Libraries in SharePoint Online.
| SharePoint Permissions | IRM Permissions |
| Manage Permissions Manage Web | Full control of the documents. This allows the user to read, edit, copy, save and modify permission of the document |
| Edit List Items Manage List Add and customize pages | Edit, copy and save permissions. The user can print the document only if the document library IRM settings are configured to allow document printing |
| View List Item | Read permissions. The user can read the document but not copy or edit its content. The user can print the document only if the document library IRM settings are configured to allow document printing |
| All other permissions | Not applicable, no corresponding IRM permissions |
Before you start implementing IRM in SharePoint Online you should carefully plan for it and define specific usage scenario’s for it since it is not meant to be activated on all information in discriminatory – ask yourself some of the following questions:
- Which business areas use sensitive information which is frequently exchanged?
- What needs to be protected (Office documents, e-mails, CAD design drawings, etc ..)
- How will security policies by applied and how will enforce and control that procedures are being followed.
- …
References:
- What’s new with Information Rights Management in SharePoint and SharePoint Online
- Apply Information Rights Management to a list or library (SharePoint 2013 and SharePoint Online)
Wednesday, July 24, 2013
Host-named site collections in SharePoint 2013
One of the recommendations in SharePoint 2013 is the usage of Host Named Site Collections (HNSCs) over using multiple web applications when you want to use vanity urls for specific SharePoint sites. Host-named site collections each have a unique DNS host name and therefore its own top-level URL. SharePoint 2013 allows you to add multiple URLs by using the Set-SPSiteURL Powershell command. An interesting quote around this is found in a new article Host-named site collection architecture and deployment (SharePoint 2013) :
Because the Office 365 environment uses host-named site collections, new features are optimized for these site collections and they are expected to be more reliable. Learn how to plan for and implement host-named site collections, design URLs, and manage URLs.
The same information is found in SharePoint 2013 design samples – corporate portals and extranet sites :
The recommended configuration for deploying sites is using host-named site collections with all sites located within a single web application. This configuration is recommended to deploy sites because it is the same architecture that the Office 365 environment uses. Consequently this is the most heavily tested configuration. New features, including the App model and Request Management, are optimized for this configuration, and it is the most reliable configuration going forward.
Some of the reasons why host-named site collections are also considered to be the better solution because:
Other references:
Sunday, June 23, 2013
SharePoint Server 2013, Active Directory Groups and the access denied problem caused by token lifetime.
A while ago we experienced some issues when using Active Directory groups and SharePoint Server 2013. We added users to Active Directory groups which were added to SharePoint groups, but the users who got access using this method, still got access denied. After some investigation we found the problem.
In SharePoint 2013 all authentication is being handled through claims which are managed by the Security Token Service (STS). The STS is responsible for issuing security tokens to users. A user which has logged on to SharePoint will be authenticated and granted a token with his group membership. These tokens have a certain lifetime and will not be updated until they expire. The property which controls this is the WindowsTokenLifetime property – according to the documentation is it normally set to 1380 minutes or 23 hours - see Set-SPSecurityTokenServiceConfig for more details. (On one of my SharePoint 2013 it seemed to be 10 hours).
Therefore users who had already logged on to the SharePoint Server did not get the required tokens for their new AD group membership until the token expired. You can however change the token expiration in the following way:
$sts = Get-SPSecurityTokenServiceConfig
$sts.WindowsTokenLifetime = (New-TimeSpan -Minutes 15)
$sts.LogonTokenCacheExpirationWindow = (New-TimeSpan -Minutes 15)
$sts.Update()
Changing the WindowsTokenLifeTime will probably have a performance impact since there will be a lot more requests going from the STS to your Active Directory domain controllers. I haven’t found clear guidance or best practices about this, so feel free to leave a comment.
Thursday, June 20, 2013
Tuesday, June 11, 2013
Quick tip - copying files from your host to Hyper-V guest
I have been working with VMWare for quite a while but recently switched to Hyper-V on my Windows 8 portable. One thing I’m still struggling with is the ability to easily copy files from my host OS (Windows 8) to my guest OS which is running in Hyper-V. Currently I’m using Folder2Iso to quickly create ISO files which I then mount in my Hyper-V environment. If anyone knows of a better way of doing this – please leave a comment.
SharePoint Service Applications: SharePoint 2013 versus 2010
| Service Applications | Description | SPS 2010 Std | SPS 2010 Ent | SPS 2013 Std | SPS 2013 Ent |
| Access Services | Let’s user view, edit and interact with Access 2010 databases which are published to SharePoint in a web browser | X | X | ||
| App Management service | Provides administrators the ability to manage new SharePoint apps. Apps can be purchased from an external vendor or developed internally. It checks user access permissions and licensing for app usage. | X | X | ||
| Application Discovery and Load Balancer service | A.k.a. Topology web service. SharePoint has a built in basic load balancer that provides administrator with fault-tolerant out of the box SharePoint service applications. See SharePoint 2010 Service Application Load Balancer for more details. | X | X | X | X |
| Business Data Connectivity service | Gives access to line-of-business data systems – also check out the Business Connectivity Services code samples for SharePoint 2013 | X | X | X | X |
| Excel Services Application | Let’s users view and interact with Excel files in a web browser | X | X | ||
| Machine Translation service | Provides automatic translation of sites and files (See Machine Translation Services in SharePoint 2013 for more details) | X | X | ||
| Managed Metadata service | Manages taxonomy hierarchies,keywords and social tagging infrastructure, and publish content types across site collections | X | X | X | X |
| Office Web Apps Service | Office Web Apps is now a separate product, rather than a SharePoint Service Application. See Use Office Web Apps with SharePoint Server 2013 for more details. | ||||
| PerformancePoint Service Application | Let’s users create dashboards and balanced scorecards | X | X | ||
| PowerPoint Automation service | Performs automated bulk PowerPoint conversions to other formats (pptx,pdf,xps,jpg,png) (See PowerPoint Automation Services in SharePoint 2013 for more details) | X | X | ||
| Search service | Crawls content, produces index partitions and serves search queries | X | X | X | X |
| Secure Store service | Provides single sign on authentication to access multiple applications or services | X | X | X | X |
| State service | Provide temporary storage of user session data for SharePoint Server components | X | X | X | X |
| Usage and Health Data Collection service | Collects farm wide usage and health data and provides the ability to view various usage and health reports | X | X | X | X |
| User Profile service | Adds support for My Site sites, profile pages, social tagging and other social computing features | X | X | X | X |
| Visio Graphics service | Let’s users view and refresh published Visio diagrams in a web browser | X | X | ||
| Web Analytics service | Collect, reports, and analyzes the usage of SharePoint Server sites. The functionality of the Web Analytics service has been incorporated into the Search service | X | X | ||
| Work Management service | Enables users to synchronize and aggregate tasks between different Microsoft products such as Exchange, SharePoint and Project Server. See Configure Exchange task synchronization in SharePoint Server 2013 for practical details or the My Tasks aggregation in SharePoint Server and Exchange Task integration white paper | X | X | ||
| Word Automation service | Performs automated bulk document conversions. | X | X | X | X |
| Subscription Settings Service | Provides multi-tenant functionality for service applications. Tracks subscription IDs and settings for services that are deployed in partitioned mode. Deployed through Powershell only. | X | X | X | X |
For more information about the SharePoint 2013 service applications check out the Services in SharePoint Server 2013 Visio diagram on Technical diagrams for SharePoint 2013 (Technet)
Wednesday, May 29, 2013
Resolving XMind can’t open after updating to JRE7
I recently noticed that XMind stopped working after updating to Java Runtime Environment (JRE). It gave an error stating
A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run XMind. No Java virtual machine was found after searching the following locations: C:\Program Files (x86)\Java\jre6\bin\javaw.exe
I solved it by simply making a copy of the JRE7 folder (default installed underneath C:\Program Files (x86)\Java ) and renaming that copy to JRE6. Worked like a charm.











