When the application is running and outlook is not running it may prompt to select for a profile or error. A solution would to check if outlook is running before beginning to synchronize.