Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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?

  • jgtokyo Profile Picture
    5 on at
    Re: "Any attachment is password protected" or "AttachmentIsPasswordProtected" i

    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.

  • v-xida-msft Profile Picture
    on at
    Re: "Any attachment is password protected" or "AttachmentIsPasswordProtected" i

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,948 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow