Saturday, 23 March 2013

Configure PeoplePicker to search within only an AD group


A way of configuring PeoplePicker to search within only an AD group using peoplepicker-searchadcustomfilter

e.g.

group TG1 in Mosslab.com domain for the JR4 site collection

stsadm -o setproperty -pn peoplepicker-searchadcustomfilter -pv "(memberOf=CN=TG1,OU
=SPUsers,DC=Mosslab,DC=Com)" -url http://wbicd9506:81/sites/JR4

Note - Users can still add a number of groups from the Builtin OU, e.g. NT AUTHORITY\authenticated users; BUILTIN\users; BUILTIN\administrators; BUILTIN\guests; BUILTIN\performance log users; BUILTIN\backup operators

stsadm: remove custom filter


stsadm -o getproperty -propertyname peoplepicker-searchadcustomfilter -url http://wbicd9506:81

stsadm -o getproperty -propertyname peoplepicker-searchadcustomfilter -url http://wbicd9506:82

stsadm -o setproperty -url http://wbicd9506:81 -pn peoplepicker-searchadcustomfilter -pv " "

stsadm -o getproperty -propertyname peoplepicker-searchadcustomfilter -url http://wbicd9506:81

Governance - SharePoint service overview


·         The SharePoint ProjectSpace and TeamSpace services are designed for:
o   Sharing of information and documents specific to either teams, Business Units, Divisions or Group-wide (TeamSpace) or project lifecycle information (ProjectSpace)
§  Sites can be restricted to particular users or groups
o   Collaborating on information and documents
o   The types of information that can be stored in either of these services are:
§  Document Libraries
§  Lists
§  Wiki
§  Survey
§  Discussion Board
§  Blogs
§  Meeting Workspace
§  Document Workspace
§  InfoPath Form Libraries

·         The service should not be used for the following:
o   Storing any data that is classified as Highly Confidential
o   Hosting Web Based Content
§  No publishing of HTML or HTM pages or any other 3rd party created web pages.
§  For use on other systems or platforms (i.e. images for Interchange)
o   Hosting Media (i.e. video)
o   Host business critical information or application data
o   Hosting business processes (including control, data management or workflow)
o  End User Computing (EUC) solutions such as use of MS Access, MS Excel etc to download data or query lists etc
o   Creating customised applications
§  Only standard Web Parts are available on these services
§  Host JavaScript or any form of code libraries
§  Customised pages (CSS etc.)
o   Replacement for databases (i.e. large lists >2000)
§  This breaks Microsoft recommendation and are generally considered business applications
o   Deeply nested user and group permissions
o   Access via any development tools (i.e. SharePoint Designer)
o   Large SharePoint Sites should not synchronised offline by individuals

Configuring alerts on SP2010


·         Configure outgoing email
·         Open port 25 on WFEs (make sure not blocked by AV)
·         Configure exchange server to allow relaying from WFEs

Kerberos impersonation vs delegation


Impersonation means to impersonate the client to access local resources -
delegation only applies to remote resources
In summary, impersonation is pretending to be someone else, other than the process identity, and access local resources
Delegation is authentication across machine boundary on behalf of someone else

PowerShell script - CRM version number and rollup updates


################
#     This script queries the local server registry to obtain the CRM version number and installs rollup updates depending on the returned version number
#  
#     Jonathan read and Jason Hough
#
#     14.02.13
#################

###Logging###


$scriptname = $MyInvocation.MyCommand.Name
$scriptpath = $MyInvocation.MyCommand.Path

$transcriptFile = "C:\Users\mgr1137107\Documents\Powershell_$scriptname.log"

Start-Transcript $transcriptFile -append -force

Write-Output "Starting Script: $scriptpath"


###Variables###

$path ="Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM"
$name = "CRM_Server_Version"


###Trapping###


$p=Get-ItemProperty $path
if(!$p){


    'CRM is not deployed on this server'


}else{


    ' CRM is deployed on this server - the script will now continue'


}

###Functions###

FUNCTION DEPLOYMENT1

#Deploys rollup 6 then rollup 11

{ write-host "Deploying rollups 6 and 11"      }

FUNCTION DEPLOYMENT2

#Deploys rollup 11

{   write-host "Deploying rollup 11"     }


###VersionNumber###



    $key = Get-Item -LiteralPath $path -ErrorAction SilentlyContinue
    if ($key) {
        $key.GetValue($name, $null)
    }


# $VN = $key.GetValue($name, $null)
Write-host "The version number is "$key.GetValue($name, $null)

###CORE LOGIC###

if (

($Version -eq "5.0.9688.1045") -or ($Version -eq "5.0.9688.1157") -or ($Version -eq "5.0.9688.1244") -or ($Version -eq "5.0.9688.1450") -or ($Version -eq

"5.0.9688.1533")

 )

{DEPLOYMENT1}

else


{DEPLOYMENT2}


stop-transcript




Governing site quota increase requests


Check the following as a standard approach to these requests.

Each request should have the following four checks:

Check
Challenge
Expected Answer
Site Collection Admin
Has the request been completed by one of the Site Collection Administrators?
Yes
Warning Limit
Has the site storage reached the current quota warning limit (NB: All warning limits are 100Mb below the quota limit)?
Yes
Recycle Bin
Does the Site Collection recycle bin contain a large amount of content (i.e. if this was emptied or reviewed would this bring the site back under the current quota warning limit)?
No
Versioning
Does the site have uncontrolled versioning switched on in one or more document libraries or lists (i.e. Is the majority of the storage held in versions of files that are likely to be surplus to requirements)?
No

In addition to the above, check that the Cost Centre Manager approval is attached and the Cost Centre/Project Code is updated.

For all requests I expect to see the answers to the above recorded in the INTERNAL: Notes field as;
Site Collection Admin - Yes
Warning Limit - Yes
Recycle Bin - No
Versioning - No

If any of the items are not answered as expected then the increase should be rejected and the reason why noted in the notes field.

SharePoint Information Architecture Diagram

Here is the template I use for Information Architecture designs. It's built using Mindjet and I flesh the nodes out with the low level d...