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 / Customising 365 Messag...
Power Automate
Answered

Customising 365 Message Centre sync to Planner

(0) ShareShare
ReportReport
Posted on by

I've been given a fun task within my team on the back of 365 Message Centre messages being synced to Planner and am looking for help with a solution. 

Currently my team has a Plan which is for everyone in Platforms, and there is a bucket for Messaging, SharePoint and InTune (for the respective support teams dealing with exchange/teams, SPO & OneDrive and client technologies). Ultimately our goal is to be able to automatically triage the message centre messages that get added to the "to do" bucket (the default one) on Planner, going by the tag at the start of the title (e.g. "[Microsoft Intune]"). 

I know that a switch case can't handle a "contains" function, and there's far too many conditions to try to use nested if loops (i even tried it using just 3 conditions but the flow fails after running for 30+ mins).

Below i've included a screenshot of the overview of my flow, there's currently 1 switch for a condition that i'm testing to see if i can get it to do anything at all, currently the flow runs successfully but does not move any items. If I can get that one condition working my plan is to add the rest in the same way. 

kcunninghamsky_0-1605267992817.png

 

Looking for any suggestions/hints/tips that might help me get something that works up and running. I've scoured these forums already and have only found the limitations of the switch function, nothing to say what I could do instead.

 

 

Categories:
I have the same question (0)
  • Verified answer
    tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    Hello @kcunninghamsky ,

    there's an action 'Filter array' in Power Automate which you can use instead of the 'Condition' (since you're just filtering an array). You'll input an array into the action, e.g. output of 'List tasks' and define a filter, and 'Filter array' supports also filter 'starts with'.

    If I understand correctly, you want to process only actions from a specific bucket that begin with a specific string. That's one 'Filter array' to filter the bucket, and 3 additional 'Filter array's to filter the prefixes from the output of the 1st 'Filter array'. Here's a draft of the flow for a single prefix.

    image.png

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard