Skip to main content

Notifications

Community site session details
Power Automate - General Discussion
Answered

Getting user entra ID from email

Like (1) ShareShare
ReportReport
Posted on 25 Jul 2024 08:16:59 by 13
Hi
 
I have a series of sharepoint lists, each of which have person objects for one of the fields. I need to add people from 2 of the lists as an entra group owners when a third list is updated.
The problem I am having is that I can't get the Entra object ID from the 2nd and 3rd list from their email address.
I've tried "Send an HTTP request" from both Office 365 Outlook and Office 365 Users, but neither of these work, though the graph explorer finds the object. The compose shows the same URI as used in graph explorer.
 
The setup is
 
List1: Manager field is person object
List2: Manager field is person object
List3: Items get added to this, Entra group is created, Managers from Lists 1 & 2 get added as owners to the group.
 
 
 

 
Any assistance would be greatly received.
 
Thanks
 
Matt
  • Verified answer
    Matty C Profile Picture
    13 on 02 Aug 2024 at 09:49:30
    Getting user entra ID from email
     
    I managed to get this working using the 'Invoke an HTTP request' from "HTTP with Microsoft Entra ID (preauthorised)"
  • VictorIvanidze Profile Picture
    12,214 on 31 Jul 2024 at 10:29:37
    Getting user entra ID from email
    Did you try to use "Search for users (V2)" action of the "Office 365 Users" connector?
  • Matty C Profile Picture
    13 on 31 Jul 2024 at 08:50:27
    Getting user entra ID from email
    Hi
     
    Does anyone have any thoughts on this? Surely what I'm trying to do isn't impossible??
     
    Thanks
     
    Matt

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading started
Loading started