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 / "Any attachment is pas...
Power Automate
Unanswered

"Any attachment is password protected" or "AttachmentIsPasswordProtected" in flow?

(0) ShareShare
ReportReport
Posted on by 5

In flow, is there an expression equivalent to (or a way of connecting to/calling) the transport rule "Any attachment... is password protected" or the "AttachmentIsPasswordProtected" exchange online shell command'?  If so, how do I do either/both?

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @jgtokyo,

     

    Could you please share a bit more about your scenario?

    Do you want to check if the attachment is password protect using expression within Microsoft Flow?

     

    I afraid that there is no way to check if the attachment is password protected (there is no expression equivalent to the transport rule "Any attachment is password protected" ) in Microsoft Flow currently, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    In addition, please check if the following article would help in your scenario:

    https://technet.microsoft.com/en-us/library/dd638183(v=exchg.160).aspx

     

    Best regards,

    Kris

  • jgtokyo Profile Picture
    5 on at

    Hi Kris,

     

    I am trying to differentiate between archives that are able to be unzipped, those of unsupported filetypes, and those that are password protected to save them in different folderson OneDrive for subsequently handling them differently with other flows (one for a vanilla unzip, one for a filetype conversion, and one for unzipping password protected archives). 

     

    Currently my best workaround is to prepend something to the filenames in a transport rule that I then divert with flows, but this is far from ideal.  

     

    As you suggest I will raise this as an idea.  This is a pre-existing command in exchange admin and shell and should be a simple addition for the flow team.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard