cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How to find the email (in the SharePoint email list w/permissions) that matches the username using Send an HTTP request to SharePoint?

Hi

 

How to find the email (in the SharePoint email list w/permissions) that matches the username on the field 'To'?

 

I have been trying with the 'Send an HTTP request to SharePoint' 

where I use _api/web/siteusers?$filter=substringof('To',LoginName) for when the 'To' field is a person

and 

_api/web/sitegroups/getbyname('To')/users when the 'To' field is a group

 

However, this isn't working 😕

 

Here you can see how it failed for the case when the 'To' field is a group:

Get Email 3.png

 

Get Email 4.png

 

 

 

 

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,820)