Loading

Sep
13

User Profile not importing AD objects from a child domain.

Error.
=====

User Profile Import does not import any users and you receive the following errors, even though you have configured the user profile account replication directory changes.
Level: WARNING
Source MsiInstaller
Event ID: 1015
Message:
Failed to connect to server. Error: 0×80070005
The management agent “MOSSAD-AD Farm Users Connection domain.local” failed on run profile “DS_FULLIMPORT” because of connectivity issues.

Level: ERROR
Source: FIMSynchronizationService
Event Id: 6050

Additional Information
Discovery Errors : “0″
Synchronization Errors : “0″
Metaverse Retry Errors : “0″
Export Errors : “0″
Warnings : “0″

User Action
View the management agent run history for details.
Details
======
You review the permissions for the domain you are syncing user profiles from, and the user profile service has replicate directory changes defined.
Details below
1. Open ADUC (Active Directory Users and Computers)
2. Right Click the Domain DOMAIN.LOCAL, choose Delegate Control… click Next
3. Add DOMAINUSERPROFILE, click Next
4. Select Create a Custom Task to Delegate, click Next
5. Select ‘This folder, existing objects in this folder….’ Click Next
6. Select the ‘Replicate Directory Changes’ permission and click Next
7. Click Finish

Further Information
================

To view the error in more depth open MIISClient.exe on the server running the User Profile Sync. The application normally exists in the following path:

C:Program FilesMicrosoft Office Servers14.0Synchronization ServiceUIShellmiisclient.exe
Select the Operations Tab
Find the profile name DS_FULLIMPORT
If you look at the Status you will normal see the status of ‘stopped-connectivity, Double click this operation to view the Connection Log.
In the connection Log review the error.

In this example the error is Replication access was denied with Error Code 8453

The important column to note here is the Server and more specifically the domain.
In this example the Domain is different to the Domain you are syncing user profiles from; this is because the Domain you are queuing for User Profiles is a child domain which is part of a larger forest FOREST.LOCAL.
Resolution
=========

You will need to add Replicate Directory Changes to DOMAINUSERPOFILE for the FOREST.LOCAL Configuration Container in order to import profiles. Please run though the following
1. Open ADSIEdit
2. Expand Configuration for abf.local
3. Right-Click CN=Configuration,DC=FOREST,DC=LOCAL
4. Select Permissions Tab, Click Advanced
5. Add DOMAINUSERPROFILE, click Next
6. Select the ‘Replicate Directory Changes’ permission
7. Click OK

Permanent link to this article: http://www.tsls.co.uk/index.php/2011/09/13/user-profile-not-importing-ad-objects-from-a-child-domain/

Sep
07

Unable to Relay email between Coexsistance (Hybrid) Exchange Organisations O365

If you find you are having issues with email delivery between O365 (Exchange Online) and On-premises it is possible that the domain is set to outboundonly true

Hopefully the following will resolve your issue

$Cred = Get-Credential
When Prompted enter the following:
User: <enter>
Password: <enter>

$Session = New-PSSession –ConfigurationName Microsoft.Exchange –ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred –Authentication Basic –AllowRedirection

Import-PSSession $Session –allowclobber

Set-AcceptedDomain -Identity domain.com -OutboundOnly $false

Permanent link to this article: http://www.tsls.co.uk/index.php/2011/09/07/unable-to-relay-email-between-coexsistance-exchange-organisations-o365/

Aug
26

User Profile Starting and returning to Stop state

ISSUE
When Attempting to start the User Profile Synchronization service in Central Administration, the service goes into a starting state for a couple of minutes and then stops, usual this happens because of permissions (DB account not local admin etc..), however it would appear that if you slipstream and install SharePoint with SP1 and June 2011 included and then try and start the service it can still fail.

CAUSE
You find this will happen if your Domain contains Windows Server 2003 Domain Controllers.

The reason for this is due to a Kerberos ticket not be able to generate for the OWSTIMER Account (this is normally the DB Account) as it doesn’t contain an SPN please see Yvan’s Blog article for more information: http://blogs.msdn.com/b/yvan_duhamel/archive/2010/06/29/you-get-a-system-security-securityexception-when-you-try-to-start-the-fim-synchronization.aspx

RESOLUTION

Run
setspn –a NONE/NONE OWSTimerAccount

OWSTimerAccount = this is normally the FarmDBAccount.

ERRORS:

Using ULViewer downloadable from http://archive.msdn.microsoft.com/ULSViewer

You will see the following errors

User Profile Application: Unable to load satellite assembly for lcid 1033. Using neutral language assembly version. Exception details: System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.Office.Server.Intl.resources, Version=14.0.0.0, Culture=en, PublicKeyToken=71e9bce111e9429c’ or one of its dependencies. The system cannot find the file specified. File name: ‘Microsoft.Office.Server.Intl.resources, Version=14.0.0.0, Culture=en, PublicKeyToken=71e9bce111e9429c’ —> System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.Office.Server.Intl.resources, Version=14.0.0.0, Culture=en, PublicKeyToken=71e9bce111e9429c’ or one of its dependencies. The system cannot find the file specified. File name: ‘Microsoft.Office.Server.Intl.resources, Version=14.0.0.0, Culture=en, PublicKeyToken=71e9bce111e9429c’ WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalGetSatelliteAssembly(CultureInfo culture, Version version, Boolean throwOnFileNotFound)
at Microsoft.Office.Server.Administration.UserProfileApplication.GetIntlDllFileVersionString(Int32 lcid)

UserProfileApplication.SynchronizeMIIS: Failed to configure ILM, will attempt during next rerun. Exception: System.Security.SecurityException: There are currently no logon servers available to service the logon request.
at System.Security.Principal.WindowsIdentity.KerbS4ULogon(String upn)
at System.Security.Principal.WindowsIdentity..ctor(String sUserPrincipalName, String type)
at System.Security.Principal.WindowsIdentity..ctor(String sUserPrincipalName)
at Microsoft.IdentityManagement.SetupUtils.IlmWSSetup.GetDomainAccountSIDHexString(String domainName, String accountName)
at Microsoft.IdentityManagement.SetupUtils.IlmWSSetup.GrantSQLRightsToServiceAccount()
at Microsoft.IdentityManagement.SetupUtils.IlmWSSetup.IlmBuildDatabase()
at Microsoft.Office.Server.UserProfiles.Synchronization.ILMPostSetupConfiguration.ConfigureIlmWebService(Boolean existingDatabase)
at Microsoft.Office.Server.Administration.UserProfileApplication.SetupSynchronizationService(ProfileSynchronizationServiceInstance profileSyncInstance) The Zone of the assembly that failed was: MyComputer.

In the Security event log you will see the following at the point of provisioning the Service.

An account failed to log on.
Subject:
Security ID: DomainFarmDBAccount
Account Name: FarmDBAccount
Account Domain: Domain
Logon ID: 0x313b2
Logon Type: 3
Account For Which Logon Failed:
Security ID: NULL SID
Account Name:
Account Domain:
Failure Information:
Failure Reason: An Error occured during Logon.
Status: 0xc000005e
Sub Status: 0×0
Process Information:
Caller Process ID: 0xa98
Caller Process Name: C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14BINOWSTIMER.EXE
Network Information:
Workstation Name: SERVER
Source Network Address: -
Source Port: -
Detailed Authentication Information:
Logon Process: C
Authentication Package: Kerberos
Transited Services: -
Package Name (NTLM only): -
Key Length: 0
This event is generated when a logon request fails. It is generated on the computer where access was attempted.
The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).
The Process Information fields indicate which account and process on the system requested the logon.
The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
The authentication information fields provide detailed information about this specific logon request.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested.

Permanent link to this article: http://www.tsls.co.uk/index.php/2011/08/26/user-profile-starting-and-returning-to-start-state/

Older posts «

» Newer posts