web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to add a member to...
Power Automate
Unanswered

How to add a member to an Office 365 group using User Principal Name in Power Automate

(0) ShareShare
ReportReport
Posted on by

Hi,

Using body of an email as the source for the User Principal Name doesn´t seem to work. The email body contains only the email address, I want to add to the O365 group. Should it be written in a specific way? How about if there are 2 email addresses in the body, how should this be separated and written to be added to the O365 group?

Don´t want to use the "To" or "From" as User Principal Name.

 

Capture.PNG

@Shelah 

 

 

Categories:
I have the same question (0)
  • Geeks_D Profile Picture
    1,169 on at

    Hello 
    The email body needs to be consistent for you to manage the data extraction 
    If more than one email is available in the email body, It is best to add all the emails to an array and use the apply to each 

  • Shelah Profile Picture
    on at

    Hello, 

    Sorry, do not understand what you mean with consistent? And an array? Can you please show with a screenshot?

    The email body is consistent, containing only email address and nothing else. Sometimes it will contain two email addresses. The "from" and "to" is always the same and the "subject" is always the same.

     

  • Shelah Profile Picture
    on at

    Hi, someone who can help with my question?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard