Article ID: 2624198 - Last Review: September 30, 2011 - Revision: 6.0 Support policy regarding use of NoILMUsed property
SUMMARYIn the August 2011 Cumulative Update (CU) for SharePoint Server 2010, a new property (NoILMUsed) is exposed as part of the UserProfileApplication class. The purpose of this article is to advise against the use of this property. This property is for Microsoft-internal use only. Using this property could put your profile service application and data in an unusable state. If you have accidentally toggled this property, the following powershell script can be used to revert settings back to their default state: $upa = Get-SPServiceApplication | ? {$_.typename -like 'User Profile *'} if ($upa -eq $null) { Write-Host "No User Profile service application is found." Return } if ($upa.noILMUsed -eq $true) { Write-Host "Reverting back the NoILMUsed flag to false..." $upa.noILMUsed = $false try { $upa.Update() } catch { Write-Host "Failed updating UPA once. Try it again..." $upa = Get-SPServiceApplication | ? {$_.typename -like 'User Profile *'} $upa.noILMUsed = $false $upa.Update() } # check the flag after update $upa = Get-SPServiceApplication | ? {$_.typename -like 'User Profile *'} if ($upa.noILMUsed -eq $false) { Write-Host "Successfully reverted back the NoILMUsed flag to false." } else { Write-Host "Failed to revert back the flag. Please try running the script again." Return; } } else { Write-Host "The NOILMUsed flag is already set to false. " } # check sync service status $syncServices = @(Get-SPServiceinstance | ? {$_.typename -like 'User Profile Synchronization *'}) $flag = $false foreach ($service in $syncServices) { if ($service.status -eq 'Online') { $flag = $true break } } if ($flag -eq $false) { Write-Host "The User Profile Synchronization service is not started in this farm. Please proceed with restarting the profile sync service when in need." } else { Write-Host "All appears to be good." } MORE INFORMATIONThe module containing the property is: Microsoft.Office.Server.UserProfiles.dll The version of the module is: 14.0.6108.5000 The namespace and class containing this property is: Microsoft.Office.Server.Administration.UserProfileApplication Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use
(http://go.microsoft.com/fwlink/?LinkId=151500)
for other considerations.
| Other Resources Other Support Sites
CommunityGet Help Now
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
