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
Unanswered

メールの添付ファイルをシェアポイントに保存しましたが、ファイルが開きません

(1) ShareShare
ReportReport
Posted on by 24
メールの添付ファイルをシェアポイントに保存しました。
ファイルは保存できましたが、開きません。
 
保存したファイルはPDFで、「電子メールの添付ファイルとして送信され、正しくデコードされなかった場合などが考えられます」とのエラー表示がでます。
 
対応方法を教えてください。
 
フローは、以下の通りです。
 
「新しいメールが届いたとき(V3)」
   →添付ファイルを含める=はい
   →件名フィルター=請求書
   →添付ファイル付きのみ=はい
   →フォルダー=受信トレイ
 
 ↓
「添付ファイルの取得(V2)」
   →メッセージID=メッセージID
   →添付ファイルID=添付ファイルID
 ↓
「ファイルの作成」
   →ファイル名=添付ファイル名前
   →ファイルコンテンツ=添付ファイルコンテンツ
 
よろしくお願いいたします。
Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at
    Did you remember to Base64 encode the attachment?
  • 有鈴-15050851-0 Profile Picture
    24 on at
    {
      "$content-type": @{item()?['contentType']},
      "$content": @{item()?['contentBytes']}
    }
     
    で解決しました!
    ありがとうございます!

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard