cenders
Canvas Initiate

Workflow failed to get user profile for user:email@domain.com

Jump to solution

This has been working well for quite some time.  Suddenly, I have one (new) manager where it fails to look them up.   Any suggestions as to where I begin troubleshooting?

 

Using a set field value, equals "user profiles", source "account name - email address when account name equals workflow data variable that is the manager's email address.   We use a SQL query to populate the variable from our HR org chart system.

 

See photo for the detail.  

 

The manager's profile does indeed exist in Sharepoint and it contains the correct email address.  Works for every other manager... 

 

 

0 Kudos
Reply
5 Replies
cenders
Canvas Initiate

Re: Workflow failed to get user profile for user:email@domain.com

Jump to solution

As a test, I changed the lookup to source "work email" (as string) and unresolved for this manager (still works for other managers). So I'm thinking the problem is elsewhere?

0 Kudos
Reply
kunalpatel
Automation Master
Automation Master

Re: Workflow failed to get user profile for user:email@domain.com

Jump to solution

@cenders have you checked the User Profile of this new manager in SharePoint's UPS?

View solution in original post

0 Kudos
Reply
cenders
Canvas Initiate

Re: Workflow failed to get user profile for user:email@domain.com

Jump to solution

I have, the profile looks fine. All the details are there.

0 Kudos
Reply
kunalpatel
Automation Master
Automation Master

Re: Workflow failed to get user profile for user:email@domain.com

Jump to solution

Can you use domain ID instead of email and what if you use Query User Profile action instead of Set Field value action?

0 Kudos
Reply
cenders
Canvas Initiate

Re: Workflow failed to get user profile for user:email@domain.com

Jump to solution

@$%! it was ultimately a typo in a new user creation script recently deployed that misspelled the UPN of the account.  Problem solved.

0 Kudos
Reply