cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

MailChimp - Remove user from List when removed from Azure AD Group

Hi

 

I'm a total newbie to Automate and have managed to create a flow that takes all the users in an Azure AD group and adds them to an audience/list in MailChimp and runs on a schedule to add an new users in the AAD group.

 

What I need now is to be able to remove users from the MailChimp audience/list when they have been removed form the AAD Group.

 

I have managed to Get All Group Members from AAD and place their Email Address in to an Array (AADGroupEmails) and this returns all 375 records.

 

I have used the MailChimp 'Members" to get all the Email Addresses and place these in to an Array (AudienceEmails) and this is where the first issue occurs.  Only 10 records are returned, yet there should be 376 as confirmed by the results in the flow.

 

rob_planet_1-1600940203127.png

 

 

I have checked this using Compose and length(body('AudienceEmails'))

 

pic2.png

 

rob_planet_0-1600939368455.png

Has anyone any idea why it is only returning 10 results and how I can return all the members of the audience and filter just their email addresses in to an Array so that I can use them to compare the members of bother lists?

 

rob_planet_2-1600940305273.png

 

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: MailChimp - Remove user from List when removed from Azure AD Group

Hi @rob_planet ,

 

It seems that the Show list members action has 376 items output, and the select action is correct on your side.

I have made a test on my side and don't have the issue that you mentioned, my flow screenshot as below:

1.png

2.png

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: MailChimp - Remove user from List when removed from Azure AD Group

Hi @rob_planet ,

 

It seems that the Show list members action has 376 items output, and the select action is correct on your side.

I have made a test on my side and don't have the issue that you mentioned, my flow screenshot as below:

1.png

2.png

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,769)