Showing posts with label upgrade 2007. Show all posts
Showing posts with label upgrade 2007. Show all posts

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*************************************

Tuesday, June 7, 2011

SharePoint 2010 Upgrade

Hi.
While doing a Upgrade from SharePoint 2007 to SharePoint 2010 a few issues i came across.

Issue1:
When i did the backup of the 2007 environment it was in a read-only state ... i then proceeded to restore this DB to the new server and then upgrade the DB.  all went along fine until i wanted to do the Visual Upgrade and the options were grayed out?
Solution: i went back to the 2007 environment and switched it off read-only mode did the backup and restored that backup ..and PRESTO ..the options were there ....

Issue2:
I had a lot of health issues with regard to the clean install.  you can either go and disable the rules like this  or you can work thru each one.  most of then had a "Fix Automatically" which you should do and SharePoint tries to resolve it.

Issue3: the farm account needed "Replicated Directory Changes Permissions" in AD.  Solution: just give it permissions by following the article.

Issue 4: when a people search was done the url that it linked too ould not resolve ...
when i had setup mySite i provided it with a path that it should use but ALAS!!! ...it doesnt do this. Solution: you would need to run crawl on the content sources and make sure the crawl account used has access to the Service "User Profile Service Application".

Issue 5: when completing the final step and moving users into the SharePoint ... please make sure that the users exist in the new Domain .....
so now i have a sucessful Upgrade from SharePoint 2007 to SharePoint 2010  complete with MySites and public profiles .......DONE!!!!!!!!!1

Just a side note ...the hardest part was getting the User Profile Synchronization job to work.
a very exciting project which i really enjoyed ...

Till the next issue/problem
Bradley