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 / Power Automate - Move ...
Power Automate
Unanswered

Power Automate - Move Email to Subfolder systematically - Folder Path

(2) ShareShare
ReportReport
Posted on by 131

Hi Automaters

 

I'm searched and am not finding a solution and I've tried different things, so I'm hoping someone will go, look at that silly semi conol there.. 🙂

 

I have mails arriving in a group mail box..  I have subfolders called say Agent1, Agent2 etc.

If I chose Agent1 from the drop down it works

CraigSparks37_0-1714130583236.png

This works.

If I try compose a text of 'Agent1' or use 'Agent1' from a sharepoint excel extract or just type it in, doesn't work.

 

What I did notice is that the folder path is VERY different when you use the drop down vs sending in the text.

TYPED:
        "parameters": {
            "messageId""@items('Apply_to_each_Email')?['id']",
            "folderPath": "Agent1",
            "mailboxAddress""Smart_Training@discovery.co.za;"
        },
DROP DOWN
        "parameters": {
            "messageId""@items('Apply_to_each_Email')?['id']",
            "folderPath": "Id::AAMkADQwM2U5MWJkLTQ0ODEtNGRhOC1iZjg5LTg4M2EyNmFlNzAxZAAuAAAAAACg2ewYG7VZQ4FnlDXaCszTAQDpyx7cbm79SoUKVkLgq-gVAAFMKznIAAA=",
            "mailboxAddress""Smart_Training@discovery.co.za;"
        },
 
Does any know, how I can move a mail to the Agent1 folder? or how to get the reference to the Agent1 folder as if it was selected from the drop down?
 
Thanks guys... Appreciate you all.
Craig
Categories:
I have the same question (1)
  • Verified answer
    CraigSparks37 Profile Picture
    131 on at

    OK, so this was a bit premature, but will hopefully be useful to others.

     

    You have to specify the root AS WELL.

     

    So Agent1 won't work.

    But

    Inbox/Agent1 will.

     

    Happy moving all.

     

  • PA_Forum_User Profile Picture
    71 on at

    Hello @CraigSparks37 

     

    Thank you for your answer. It helped a lot. Hope to read more posts from you.

     

    Have a nice day!

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard