Worflow failed to get user profile for user

I have a workflow that sends an email to a user.  In the workflow email, one line has the lookup [%User Profiles:Name%], with Return field "As String" of the list item Field "Account Name" with Value "Current Item:Created By".
This workflow works for everyone, except it Errors when one user creats an item in this list.  The error is "Workflow failed to get user profile for user...  System Account - An error has occurred in Workflow Name"
and more detailed error found in logs: "AutoStart Workflow: Microsoft.SharePoint.SPException: Recursive workflows are not permitted.     at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite
superUserSite, SPWeb superUserWeb)
System.InvalidOperationException: Workflow failed to get user profile for user:domainName\username.     at Microsoft.Office.Workflow.Actions.UserProfileHelper.GetProfile(String propertyName, String user)     at Microsoft.Office.Workflow.Actions.ProfileHelperBase.GetProfileString(String
propertyName, String userOrOrganization)     at Microsoft.Office.Workflow.Actions.GetUserProfileActivity.Execute(ActivityExecutionContext context)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity,
ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime
workflowCoreRuntime)     at System.Workflow.Runtime.Scheduler.Run()  "
When I run "get-addomain -identity [FQDN]", I noticed that our DNSRoot has a totally different name than our NetBIOSName, so I followed this article and made sure to set netbiosdomainnamesenabled to TRUE:
http://meandmysharepoint.blogspot.ca/2012/09/netbiosdomainnamesenabled-and.html
To give you an idea of our setup, our DNSRoot is "abc.domain.com" and our NetBIOSName is "TESTING"; 2 totally different names.  When I run "get-addomain -identity [FQDN]", the Name field is: "abc" (just the first
part of the DNSRoot); therefore, when I look up this user's profile in Sharepoint Manage User Profiles, his account shows as "abc\username" when it should be "TESTING\username".
I did an IISReset, and I ran a Full Profile Sync. But the workflow still Errors for this user.
Any ideas how to fix this?  Should I delete MySites and User Profile Service application and recreate them?
Any tips would be appreciated.
thanks!

Hi,
According to your description, my understanding is that the error occurred when sending an email to the user in workflow.
Did you delete the existing Connections before setting NetBiosDomainNamesEnabled?
If not, I recommend to delete and recreate your AD connections, then set NetBiosDomainNamesEnabled to true.
Or you can delete the original User Profile Service Application and create a new one, then set the NetBiosDomainNamesEnabled to true and start the User Profile Service Application
 synchronization.
More reference:
http://social.technet.microsoft.com/wiki/contents/articles/18060.sharepoint-20xx-what-if-the-domain-netbios-name-is-different-than-the-fqdn-of-the-domain-with-user-profile.aspx
Best regards.
Thanks
Victoria Xia
TechNet Community Support

Similar Messages

  • How to fix Workflow failed to get user profile for user:

    hi All,
    How to fix Workflow failed to get user profile for user when using Lookup function in sharepoint designer?

    Try to use “As string” instead of “Login Name” for the “Return field as”.
    Regards,
    Jayant
    jayant prabhakar

  • Failed to activate authorization check for user SAPSYS

    Hi Experts
    I am trying to run the sdcc, it was throwing time_out error. i have increased the work process runtime. now
    i am getting a error Failed to activate authorization check for user SAPSYS.
    Please help me to solve this issue.
    Regards
    Venkat

    Hi, Mr. Joe Bo.
    Thanx for your reply. We are using ECC6 (HP Unix with Oracle)
    Basis Patch - 15, Kernel 159
    I have seen the the note but it's showing ccms method defination settings, but for my case we are yet to go live we have not made any settings from sap they are planning to run a session for the go live. When i am running sdcc i am getting a error in the system log "Failed to activate authorization check for user SAPSYS"
    Thanks & Regards
    Venkatesan J

  • Create unique user profiles for each separate session

    Hi,
    How can I configure TS environment so that each user (who logs onto Windows using the same generic Windows user ID) gets their own unique Windows user profile.
    For example, imagine a scenario where the users are logging onto Windows using the shared user "SYSTEMAPP"
    The intention is to configure the TS server's Windows, so that it creates unique user profiles for each separate session, for example:
    - SYSTEMAPP
    - SYSTEMAPP.000
    - SYSTEMAPP.001
    - SYSTEMAPP.002 (etc...)
    The server version for TS is Windows Server 2012 and not joined to AD. User IDs are created at Local Users and Groups.
    Kindly advise.

    Hi Susie,
    Just to illustrate my point further. Let's say a user logged into the server using user ID SYSTEMAPP for the first session. So, if
    you browse the folders in the server, you'll be able to see this:
    C:\Users\SYSTEMAPP
    Then, another user logged into the same server as SYSTEMAPP user using other session. In this case, my intention is to configure the
    server to create another unique user profile as below:
    C:\Users\SYSTEMAPP.000
    Subsequently, if more users logged in using the same account, the unique counter number will keep on adding...
    C:\Users\SYSTEMAPP.001
    C:\Users\SYSTEMAPP.002
    C:\Users\SYSTEMAPP.003
    Previously, I checked from my third party software vendor that this can be done but I still cracking my head on this which is why led me
    to this forum.
    Kindly advise.

  • Kiosk Mode in 4.2 on RHEL5: "No profile for user 'utku1' found" ?

    Hello,
    After upgrading from SRSS 4.1 to 4.2 EA2 on RHEL5 I experience that all attempts of Kiosk sessions to start fail with an error "No profile for user 'utku1' found" being logged in /var/opt/SUNWkio/home/utku1/.xsession-errors, and also displayed in a popup on desktop.
    I have disabled the Kiosk mode, then deleted all Kiosk accounts with ./utconfig -k, and re-created them. Then I have verified that the users exist in /etc/passwd, and that their login directories exist with the correct permissions (they are created by utconfig).
    Still, after a reboot of the SunRay server the error persists. Also, I have noticed that the home directories of utku? users disappear once a thin client has attempted to login unsuccessfully using such a Kiosk user.
    Searching in the relevant forums and googling did not hit me with a clue-stick so far. Is this a problem related to SRSS itself, or actually a problem the configuration GTK desktop?
    Thank you for any hint.
    Rolf

    I had the same problem a few minutes ago.
    My configuration is a Sun Ray server running on RHEL 5.4, configured in Kiosk mode and forwarding connections to a Windows 2003 terminal server.
    In the Web admin gui->Logs tab I noticed the following messages:
    Dec 22 09:29:35 cent5 gdm[3428]: pam_sunray_amgh::[DPY=11] AMGH_SUMMARY: token=pseudo.00144fad6ace, username=*NONE*, AMGH_Done?=NO(Local Session), Details=AMGH is not configured., AMGH_Target=*NONE*
    Dec 22 09:29:35 cent5 gdm[3428]: pam_kiosk: pam_sm_authenticate: Initiating Kiosk session with user utku0
    Dec 22 09:29:37 cent5 utstoraged[2434]: Restarting ...
    Dec 22 09:29:38 cent5 kioskcritd: kioskcritd started
    Dec 22 09:29:44 cent5 kiosk:uttsc[3823]: master control open: No such file or directory
    Dec 22 09:29:44 cent5 kiosk:uttsc[3823]: Unable to create new audio device. Using default audio device.
    Dec 22 09:29:44 cent5 kiosk:uttsc[3823]: /opt/SUNWuttsc/lib/uttsc-bin: error while loading shared libraries: libcrypto.so.0.9.7: cannot open shared object file: No such file or directory
    Dec 22 09:29:44 cent5 kiosk:uttsc[3844]: /opt/SUNWuttsc/bin/uttsc exited with error code 127 - exiting
    Dec 22 09:29:44 cent5 kioskcrit: Info: critical application uttsc (pid=3803) exited with non zero status: 127
    Dec 22 09:29:44 cent5 kioskcritd: Info: a critical application has exited.
    Dec 22 09:29:44 cent5 kioskcritd: Terminating Kiosk Primary Session ( pid=3803 )
    Dec 22 09:29:44 cent5 kioskcritd: kioskcritd stopped
    Dec 22 09:29:53 cent5 last message repeated 3 times
    Notice the message about the libcrypto
    In RHEL 5.4 there is libcrypto.so.0.9.8e
    I created a symbolic link like this:
    n -s /lib/libcrypto.so.0.9.8e /lib/libcrypto.so.0.9.7 and I performed a cold restart on the sun ray.
    Connections to the Windows server work now.
    On the other hand if i wish to allow connections to the Linux server itself, then I unconfigure the kiosk policy.
    I hope this helps.

  • How to get Unique calid for users with same name in multiple domain env..

    I found we need to use "-k legacy" option for creating users in non-hosted setup..
    I had two domains default as xxxx.com and the one that I created as yyyy.com
    When I have users with same name in two of the domains as user1..
    The calid for both of them is... user1 ....so they share the same calendar
    When Im in valid SSO of yyyy.com I get the mail account for user1 as [email protected] .....but the calid .. common as user1
    How I can get unique calid for users under two domains..
    whether I need to set Hosted domain support...Then how the mailid's differ with out using hosted domain support..
    And I need to login UWC without using @domain.com...
    Help me on this...
    Ashik

    Do you have UWC and Cal configured at least for virtual domain support?
    basically.. for discussion.. let's say you have three domains on your server.. 1st domain is the default domain. other 2 domains are virtual domains.
    if all domains were created with mail and cal support (-S mail,cal).. you would use the following options when creating users:
    1) for the default domain.. you must use the "-k legacy" option when adding users.
    2) for the other two domains.. when you create the user.. do NOT use a "-k" option.
    If you do not use the "-k" option.. it defaults to "hosted" which will cause the user's calid to be [email protected]
    If you Do use the "-k legacy" option.. it will create the calid as just "userid"
    With regard to logging into UWC without the @domain.com part of a username in a hosted domain.. the easiest way to avoid this.. is to point a host name under the hosted domain to the server.
    if you point webmail.xxxx.com to the server... and then access it via:
    http://webmail.xxxx.com/uwc/
    any users in the xxxx.com hosted domain will NOT need to use @xxxx.com when logging in... they can just use "userid"
    This feature does not take any special configuration (aside from adding a DNS entry for the hosted domain)
    Hopefully that helps.

  • Cannot select ldap user profile for SGD Global Admin

    Hi all,
    I'm trying to select some ldap users to be in the SGD Global Administrators role, but I am unable to check the check box next to the user profile once I navigate to the account. There is no check box to check.
    I am actively using LDAP for regular user auth and application assignment, so I know my LDAP "works" in that sense, I just can't use it to assign global admins.
    Any thoughts?
    Adam

    The only way to do this is to create a user profile for the (would-be) admin account. And since they're an LDAP user, you'll have to use LDAP mirroring to do this. For example, let's say the user you want is "cn=Joe Admin, ou=Users, dc=example, dc=com"
    Go to "User Profiles", and browse to/open:
    dc=com
    cd=example
    create the directory object "ou=Users"
    Inside of "ou=Users", create the user profile object "cn=Joe Admin"
    Add this user object to the Global Administrators role.
    http://docs.sun.com/source/820-4907/chapter3.html#d0e13589

  • I have setup a new user profile for myself on my wife's mac. If i authorise it for my content will it remove my wife's authorisation.

    I have set up a separate user profile for myself on my wife's MacBook Air.
    If i authorise this Mac for my content for home sharing, will this remove my wife's authorisation.

    Shared iMac, different users, different iTunes accounts - 90 day hold???

  • What is the significance of define status profile for user status

    hi friends
    what is the significance of define status profile for user status. what does it contain
    Regards
    Vinny
    Edited by: vinny novice on Dec 29, 2008 1:53 PM

    Hi
    please see Kathir's article on ststus profile
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/bpx-community/supplier-relationship-management/how%20to%20configure%20user%20status%20in%20mysap%20srm.pdf
    regards
    Muthu

  • Screen "Define Status Profile for User Status" should not open in changemod

    Dear all ,
    After following the path CRM>SPRO>SAP IMG -->Customer Relationship Management -->Transactions -->Basic Settings --> Status Management -->Define Status Profile for User Status.
    the screen opens in change mode & allows user to carry out the changes, this is very crucial screen & hnece should not be in open mode ,kindly advice on closing the same.so that it opens only in display mode for production system.
    Regards

    Hi Milind,
                 To Block changes to any Object their is a Provision for the same in Client Deatils Screen
    Go to TCode:SCC4
    Check the Tab Cross-Client Object Changes
    Try setting the Option (3.No Changes To Cross-Client Customization Objs)
    Following Options Symbolises:
    Changes to the Repository and cross-client Customizing permitted
    There are no restrictions on the maintenance of cross-client objects for the client when this setting is used. Both cross-client Customizing objects and objects of the SAP Repository can be maintained.
    No change to cross-client Customizing objects
    Cross-client Customizing objects cannot be maintained in the client with this setting.
    No change to Repository objects
    With this setting, objects of the SAP Repository cannot be maintained in the client.
    No change to Repository and cross-client Customizing objects
    Combination of both restrictions: Neither cross-client Customizing objects nor objects of the SAP Repository can be maintained in the client.
    (Choose This One it Should Resolve your Problem)
    Hope it answered Your Queries..
    Thanks and Regards,
    RK.

  • Failed to reconcile provision object for User

    Hi,
    I am doing RACF reconciliation for users.
    But reconcilaition events are in Event Received state.
    If I try to reapply th recon matching rule.
    Exception is Failed to reconcile provision object for User.
    any pointer?

    Once Verify reconsilation Data, specially which are mandatory for User.

  • Failed to get airlineregion context for the spryregion1 region

    Hi ,
    I am new to spry and using Neston json dataset.
    My data is uploding perfectly but i am getting an error like:-- "Failed to get airlineregion context for the spryregion1 region".
    where airlineRegion is one of my parenbt regions.
    Kindly suggest.
    Satish.

    Hi Satish,
    You have not given us much to work on and especially because we do not get this error, I can only assume that you are not doing the right thing.
    FYI I quote what is being suggested to newbies:
                            Announcement:
                            New to Spry, or  the Spry forums?
                                Hide Details
    Before you post a topic please verify
    that:
    You
    are using the latest Spry files
    The latest version of
    the Adobe Spry Framework is 1.6.1, this is the same version that ships
    with Dreamweaver CS4. If you use Dreamweaver CS3 (uses Spry 1.4), its
    wise to upgrade your files to the latest version. This can easily be
    done using the Spry Updater that can be found here.
    Your
    question was not asked before
    Using the search
    functionality on forums you can easily find out if your question has
    been answered before. While you are in search, you can specify the
    search locations. The Spry forum can be found under:
    Adobe
    Labs > Spry Framework for Ajax
    Yoru question can not be
    found in the existing documentation
    Spry provides you
    with allot of documentation this can found on different locations. In
    the sidebar of this forum you can find a small summary of resources that
    will help you on your way.
    If these options do not apply to your question,
    please be so kind to also supply the following information in your topic
    together with a clear description of your issue:
    What
    browsers does this issue occure:
    example: Internet Explorer 8 on
    Window 7 and Firefox 3.0 on Mac OSX
    What version
    of Spry are using:
    example: Spry 1.6.1 ( the version number can
    be found in license header of the .css and .js files )
    What
    is the url of your website or page in issue:
    example: http://www.example.com/page/in/issue.html
    Step
    to reproduce the issue:
    example: Scroll down till you find the
    header "help", there you will see a Spry Accordion. When you click on it
    it will not open or close.
    So users can provide you with a
    better answer, without having to ask you for further details.
    I look forward to helping you.
    Ben

  • User Profile Service - User Profile Incremental Synchronization Timer job stuck at 33% Status: Pausing

    User Profile Service - User Profile Incremental Synchronization Progress: 33% Status: Pausing
    It has been almost 15 days.
    Both User Profile Service and User Profile Synchronization Service are in Started state and FIM service also starting 
    I tried clearing sharePoint config cache.
    I also restarted the sharepoint timer service.
    I tried almost everything that is on Internet but nothing helped me.
    Is there any other way to solve the issue as I was struck on production server (ASAP) 
    In synchronization serivce manager status of MOSS_DeltaImport is Inprogress from past 2 days  
    Best Regards.

    Hi,
    Please follow the steps in the link below to clear the configuration cache.
    http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx
    Here is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/en-US/beaa852c-6f40-428a-b97c-20722864e045/user-profile-service-user-profile-incremental-synchronization-timer-job-stuck-at-88-status?forum=sharepointadminprevious
    Or try to clear the file system cache on all servers in the server farm on which the Windows SharePoint Services Timer service is running. Microsoft has provided a step by step procedure on clearing file system cache from the SharePoint front-end servers
    in this kb article.
    You can also see the ULS logs and check error messages.
    http://sharepointlogviewer.codeplex.com/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • HT1338 Hello, i currently acquired a Mac Book Pro and running Mac Os X 10.8.3, but i have failed to get the driver for my canon inkjet printer. could anyone help me out please? Thank you

    Hello, i currently acquired a Mac Book Pro and running Mac Os X 10.8.3, but i have failed to get the driver for my canon inkjet printer. could anyone help me out please? Thank you

    You may be able to download it fom here:
    Printer and Scanner software available for download:
    http://support.apple.com/kb/HT3669?viewlocale=en_US

  • Failed to get IP address for Local Host (2) , OPMNCTL: opmn start failed

    HI,
    Hi, I have installed on Oracle 10g on Redhat Enterprise Linux V.2.1 . I was able to start OEM without any issues. Recently I had changed the static IP address and I couldn't able to start OPMNCTL and getting the following error while starting opmnctl start. error message is as follows.
    Failed to get IP address for local host(2).....
    Failed to get IP address for local host(2).....
    Failed to get IP address for local host(2).....
    my current configuration in /etc/hosts file is as follows.
    127.0.0.1 localhost.localdomain servername
    After going through some of threads available in Oracle, I have added the static IP address in the /etc/hosts but still I am getting the same error.
    my new hosts file is as follows.
    127.0.0.1 localhost.localdomain servername
    10.21.253.102 localhost.localdomain servername
    I don't know why this is looking for localhost (2). I did not set up any local host (2) and I could not see anything in my network confiuration also.
    could you please help me in this issue? I appreciate your help in this regard.
    Thanks
    venkat

    Hi, i think that the application server part is looking for a /etc/hosts entry
    in this format:
    127.0.0.1 localhost
    As i noticed, this is used for internal communication.
    Try this entry as is, without a domain...

Maybe you are looking for