Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Answered

How to verify current user equals record owner in cloud flow?

Posted on by 102
Hi Expert,
 
How to verify current user equals record owner in cloud flow? 
 
//
 
Could you please provide a solution?
  • Verified answer
    Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    How to verify current user equals record owner in cloud flow?
    Hi,
     
    You can use the /Get my profile(V2)/ action to get the AzureActiveDirectoryObjectId of the current user.
     
    Then detect if this ID is the same value as the AzureActiveDirectoryObjectId field of the record owner, and if it is the same then it is the same user.
     
    The flow is shown below.
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me .
     
    Best Regards,
    Dengliang Li
     

Helpful resources

Quick Links

Can you answer this forum question?

You could make someone's day!

Community Newsletter - May 2024

Kudos to our community stars!

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,663 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 224,750 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans