Month: April 2014

Idea Development – Organizational – Perspective

The objective of this document is to enable management to develop and evaluate employee ideas on a constructive level and provide a positive feedback that will encourage employees to try again and again. The concept is to have employees feel that they are a part of the entire organization, rather than just an item in the block. Contributing to future development, as well as being a resource for progress for the organization.
Furthermore the goal is to ensure development of personal skills for the individual in respect to self realization needs.

Idea Development (located on Google drive)

Advertisements

Web Server security – SSL/TLS

Following the recent attention from the Heartbleed vulnerability, it might be a good idea to have a look at your general SSL/TLS configuration. Being unable to write something more accurate I’ve only supplied to links which details out SSL/TLS versions and support on the different Windows O/S and a free SSL testing tool.
Which protocol is used depends on the server/client negotiated compatibility level. It will, by default use highest possible. – However exploiters will always use lowest possible 🙂

Support for SSL/TLS protocols on Windows
http://blogs.msdn.com/b/kaushal/archive/2011/10/02/support-for-ssl-tls-protocols-on-windows.aspx

SSL Test tool
https://www.ssllabs.com/ssltest/

The Lite – Organizational Development

Some time back I had an idea on how to organize a company. I was sick and tired of all the backhand agreements made, the muttering around the coffee machine. The benefits some got, but not all. The managers constant trying to escape paying more, always arguing for paying less. From that I devised a concept which should be able to remove all that – at least in theory.

I haven’t been able to work further with this concept, so I wanted to release this for public inspiration. As I believe the concept itself is strong and deserves further work. I will continue working with this when I get time, but anyone interested can take the idea and work further with it. Either in a separate document with due reference to original author and referenced contributors.

Any comments, feedback is welcome at any stage! 🙂

The Lite concept is about reducing any organization to the minimum required, using a standardized approach in any aspect of the organization, making it easier to navigate, with less things to consider in the daily work. The Lite concept is not about earning more money, but making the money necessary to exist. Working in an environment that empowers the individual, to reap the benefits of good times and encourages to work harder in bad times.
The first Lite concept introduced is OrgLite, which is an organizational hierarchy based on the Lite concept.

The Lite (located on Google drive)

Additional contributors
Maja Harsberg

ADFS 2.0 – Office365 – Signout

A client reported some problems with their Sign out functionality of their Office365 solution. They were using TMG as ADFS proxy and a load balancer, so I was expecting one of those components to be the root cause. Luckily I was able to quickly cut them out of the equation by using host files for name resolution. It all came down to updating the preferred authentication method for my ADFS site, from Windows Integrated to Forms based. Now it works. User can sign out and sign in with another user, without taking over any previous sessions.
So navigate to your ../ADFS/LS site physical location and open the web.config and modify the section as below. The change is on the Forms and Integrated sections switched places. Hopefully this will save you some annoyance for your Office365 implementations.

web.config:

     <localAuthenticationTypes>
      <add name="Forms" page="FormsSignIn.aspx" />
      <add name="Integrated" page="auth/integrated/" />
      <add name="TlsClient" page="auth/sslclient/" />
      <add name="Basic" page="auth/basic/" />
    </localAuthenticationTypes>      

Update 24-April-2014
The below link describes the above for AD FS 3.0
http://blog.auth360.net/2014/01/07/first-impressions-ad-fs-and-window-server-2012-r2-part-ii/

SharePoint 2013 – Workflow Management – Starting a workflow using Powershell

Had a simple task of creating a Powershell script that would be able to start a SharePoint workflow. Shouldn’t be too much a problem, I mean just get the web, get the list, find the associated workflows and start the right one using Powershell. How hard can it be?
Failing really short on examples on the web I had help from great colleagues again, puzzled together the below. The below code will start a specific workflow on all items within a designated list. The below should give the foundation to work with other management type tasks for SharePoint Workflows; Start, Start, Cancel etc.
I might update with additional examples, if needed 🙂

The Code

$sourceWebURL = '<URL>'
$sourceListName = '<List Name>'
$TargetWorkflow = '<Workflow Name>'
$spSourceWeb = Get-SPWeb $sourceWebURL
$spSourceList = $spSourceWeb.Lists[$sourceListName]

#Getting a Workflow manager object to work with.
$wfm = New-object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager($spSourceweb)
#Getting the subscriptions
$sub = $wfm.GetWorkflowSubscriptionService()
#Getting the specific workflow within the list of subscriptions on the specific list. (SP2010 associated workflows basically)
$WF = $sub.EnumerateSubscriptionsByList($spSourcelist.ID) | Where-Object {$_.Name -eq "$TargetWorkflow"}
#Getting a Workflow instance in order to perform my commands.
$wfis=$wfm.GetWorkflowInstanceService()

Foreach($item in $spSourceList){
	#Creating the dictonary object I need to parse into StartWorkflow. This could be most other workflow commands.
	$object = New-Object 'system.collections.generic.dictionary[string,object]'
	$object.Add("WorkflowStart", "StartWorkflow");
	$wfis.StartWorkflowOnListItem($WF, $item.ID, $object)

References
Microsoft.SharePoint.Client.WorkflowServices namespace
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.workflowservices%28v=office.15%29.aspx

Additional credit
Frej Laursen, Joachim Bach & Per Jakobsen.