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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Automatically adding a...
Power Automate
Answered

Automatically adding a new user in a Viva Engage community

(0) ShareShare
ReportReport
Posted on by 5

Hello all,

 

We have a Teams with a Viva Engage community and we struggle with manually adding new Teams members to Viva Engage each time. Is there a way to buy a flow via Power Automate to identify new users in Teams and automatically add them in our Viva Engage Community?

 

I tried to search in the flow templates, but most of them are related to create a post in Viva Engage. I couldn't find anything about managing the community users. 

 

Thank you in advance.

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @lilianmonti,

     

    You could query the users and see if they have been created recently (via the CreatedDateTime property). After that you can add the matching users to the related M365 group as a member (assuming your Engage community has one).

     

    Btw, on a side note. If you have Entra ID P1 licences you can also use the Dynamics Groups membership feature for this requirement:

    https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-membership

     

    Below is an example for a recurrent (daily) cloud flow

     

    1. A HTTP action with the URI. This action also uses an app registration (with client id and secret) in Entra for the OAuth configuration.

     

    https://graph.microsoft.com/v1.0/users?$select=id,userprincipalName,createdDateTime&$filter=(createdDateTime ge @{addDays(utcNow(), -1, 'yyyy-MM-ddT00:00:00Z')} AND createdDateTime le @{utcNow('yyyy-MM-ddT00:00:00Z')})

     

     

    2. The apply to each action uses the value property of the HTTP response

     

    body('HTTP')['value']

     

     

    3. The Add Users to Group action uses the id of the current item of the loop. The Group Id should be the id of your Viva Engage Community group.

     

    item()['id']

     

     

    adduserstom365group.png

  • lilianmonti Profile Picture
    5 on at

    Thank you for your answer, we will try it out!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 523

#2
Valantis Profile Picture

Valantis 318

#3
David_MA Profile Picture

David_MA 235 Super User 2026 Season 1

Last 30 days Overall leaderboard