Friday, March 16, 2012

How to enable logging on the FIM client in Sharepoint 2010

Hi.

  1.  First of all navigate to the FIM MIISCLIENT folder on the server where the service is running ... c:\Program Files\Microsoft Office Servers\14.0\Synchronization Service\Bin
  2. Open the miiserver.exe.config in notepad
  3. add the following script after the  /runtime and before the /configuration

  4. >
  5. then save the file and RUN a FULL profile Sync.
  6. this will then create a log file ... be aware that the size of this file can GROW rather large ....
Done and dusted ... this will help you to troubleshoot errors begin thrown by the FIM client.
 
Regards
Bradley

Tuesday, February 14, 2012

Hi all.
while browsing around i came across a SharePoint eMagazine .....  :)

http://www.sdn.nl/IW/FreeMagazine/tabid/139/Default.aspx

its worth a read .. :)

Regards
Bradley

Wednesday, November 30, 2011

Timer Job with configuration settings

Hi
While searching for a better way to have dynamic settings when creating timer jobs ...
Timer job with configuration settings

This really helped me out ....

Regards
Bradley Chetty

Tuesday, November 29, 2011

Information Worker Event

Hi
I presented at IW CPT ...
it was great fun ...and hope to do it again soon....
for all that attended thanks for taking the time to attend .....  it is much appreciated...
here is my slide deck...
also here is the PowerShell script to move the users......

//**************************BEGIN CODE*************************************
param([string]$url = (Read-Host "Enter the Url of the Web Application: "), `

[string]$oldprovider = `(Read-Host "Enter the Old Provider Name (Example -> Domain\ or MembershipProvider:) "), `
[string]$newprovider = `(Read-Host "Enter the New Provider Name (Example -> Domain\ or i:0#.f
MembershipProvider
) "))
add-pssnapin microsoft.sharepoint.powershell -EA 0
# Get all of the users in a site
$users = get-spuser -web $url
# Set a conversion flag which will later be used to verify if you want to continue processing
$convert = $false
# Loop through each of the users in the site
foreach($user in $users)
{
# Create an array that will be used to split the user name from the domain/membership provider
$a=@()
$displayname = $user.DisplayName
$userlogin = $user.UserLogin
# Separate the user name from the domain/membership provider
if($userlogin.Contains(':'))
{
$a = $userlogin.split(":")
$username = $a[1]
}
elseif($userlogin.Contains('\'))
{
$a = $userlogin.split("\")
$username = $a[1]
}
# Create the new username based on the given input
$newalias = $newprovider + $username
if (-not $convert)
{
$answer = Read-Host "Your first user will be changed from $userlogin to $newalias. Would you like to continue processing all users? [Y]es, [N]o"
switch ($answer)
{
"Y" {$convert = $true}
"y" {$convert = $true}
default {exit}
}
}
if(($userlogin -like "$oldprovider*") -and $convert)
{
move-spuser -identity $user -newalias "$newalias" -ignoresid -Confirm:$false
}
}
//**************************END CODE*************************************

Sunday, November 13, 2011

SharePoint 2010 SP1 + Cumulative update

Hi.

On the 12-11-2011 I installed SharePoint 2010 SP1 ....
There were alot of lessons learnt and i will do a post-upgrade document which will document all the workarounds/fixes to get this update installed.
this will be done in a few days ...

Regards
Bradley Chetty

Thursday, September 15, 2011

User Profiles not Synching after an Upgrade to Sharepoint 2010

Hi .
an issue was brought to my attention from 1 of my clients ....
after an upgrade the users were not receiving any alerts or emails when tasks were being assigned.
ok ..so first port of call being to check and see exactly where things go pear shaped .....
I looked at he exchange event logs and found out  that the email message is coming through but with all the wrong email address .... weird  ...so a full AD Sync was done and still the issue persists ...
hmmm ..... *scratching my head ...*
then i started looking at the 2007 Plumbing which the upgrade was built on ....
i then found the user list  ......and PRESTO ......this is where it was getting all the OLD email values ...

SOLUTION:
Delete the entries in the user list and Re-Sync the AD ... this is what solved my problem .. :)

Regards
Bradley