cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Lahcen
Level: Powered On

Trigger : When an item is created or modified & Get user profil V2

Hello,

 

I have a problem with Get user profil V2. I need to have the user profil of the person who created or modified the item in SharePoint. With the account of the creator of the flow it work but with an another account, the flow doesn't works because et doesn't found the profil of the user which created the item on the Sharepoint List. How can have the profil of the person who created the item in my SharePoint List ?

 

Thank you in advance for your help

 

Capture d’écran 2019-10-25 à 21.06.10.png

5 REPLIES 5
Jcook
Level 8

Re: Trigger : When an item is created or modified & Get user profil V2

Hello, can you please give more details about what you are putting in Get User Profile. This Connector is asking for UPN. 

Lahcen
Level: Powered On

Re: Trigger : When an item is created or modified & Get user profil V2

"Created by mail"

Capture d’écran 2019-10-26 à 14.48.13.png

Jcook
Level 8

Re: Trigger : When an item is created or modified & Get user profil V2

Hello,
What error does it throw when the flow runs?

Can you try to use a ‘Data Operation’ and use a compose action on the “Created by mail” before the user profile action. Just to see what the flow is trying to find.

-Josh
Community Support Team
Community Support Team

Re: Trigger : When an item is created or modified & Get user profil V2

 

Hi @Lahcen ,

 

Please try this, If this method doesn't work, it seems that you need to check if the user's profile has been defined in Azure AD.

44.PNG

Or check if the current user exists in the Office 365 Admin center-User.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Lahcen
Level: Powered On

Re: Trigger : When an item is created or modified & Get user profil V2

Hi @v-bacao-msft,

 

Thanks for your responses

 

This methods doesn't works. It's really bizarre because with my previous Flow "get user profil" works well. I have see with IT service. The user's profil has been defined in Azure AD and the user exists in Office 365 Admin center user.

 

Error message 

 

Capture d’écran 2019-10-28 à 13.05.45.png

The Flow isn't reeally difficult like you can see :

 

Capture d’écran 2019-10-28 à 13.27.27.png

 

Have you an another solution ?

 

Best regards


Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,992)