cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tp_ahaas
Frequent Visitor

Add Newly Synced Azure AD User to Azure AD Group

We have a hybrid environment. New users are being created via ManageEngine's ADManager Plus and put into our on-premises Active Directory. User's sync to Azure AD just fine, but I want to add that new user automatically to an Azure AD group. This is not possible with ADManager Plus, so I was trying to find a way for a Power Automate Flow to add a newly synced user to an Azure AD group. Is this possible?

3 REPLIES 3
mattias1172
Responsive Resident
Responsive Resident

It is possible to add a user to an Azure group using the Azure AD connector:

mattias1172_0-1645649420860.png

 

However, there is no Azure AD trigger for "when a user is created/synced". You'd need to get creative on how to trigger the flow to run. 

 

Is an email sent out or any other actions being performed? 

tp_ahaas
Frequent Visitor

That's why I'm here! Yes, an email is being sent based on what department the user was created for.

mattias1172
Responsive Resident
Responsive Resident

You could setup a "service" account with an inbox and cc or bcc the service account in that email and use that as the trigger (When a new email arrives). 

 

So long as the basic info is in the email you can filter it out and add the Azure group to the user. 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,588)