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 / HTTPリクエストでフローを呼び出すと呼び出...
Power Automate
Suggested Answer

HTTPリクエストでフローを呼び出すと呼び出されたフローは正常に実行されるのに呼び出し元でエラーになる(ServiceFlow)

(0) ShareShare
ReportReport
Posted on by
HTTPリクエスト(事前承認)でクラウドフローを呼び出す(「HTTP要求を呼び出す」トリガーを使用する)と、以下のようなエラーが表示される。
{
  "error": {
    "code": "DirectApiAuthorizationRequired",
    "message": "The OAuth authorization scheme is required. Please add authentication scheme and try again.",
    "messageTemplate": "DirectApiAuthorizationRequired"
  }
}
ただし、呼び出されたフローは正常に実行されている。
また別のクラウドフローで同様のアクションを実行した場合は正常に実行される。
先週でこのようなエラーは発生していなかったが今日からエラーが発生し始めた。
接続や接続参照を作り直してみたが状況は変わらなかった。
Categories:
I have the same question (0)
  • Suggested answer
    Sunil Kumar Pashikanti Profile Picture
    2,318 Moderator on at
     
    If you’re seeing DirectApiAuthorizationRequired even though the flow shows as successful, you’ve likely hit a recent change in how Power Automate handles HTTP trigger security.

    Microsoft has tightened OAuth enforcement. In some cases, the flow still runs, but the caller gets blocked at the API layer due to missing authentication.

    Quick ways to fix it
    Option 1: Quick fix (allow anonymous)
    • Open your HTTP trigger
    • Set “Who can trigger the flow?” → Anyone
    • Save and use the new URL
    This works because the new URL includes the required signature (sig).
    Note: This makes the endpoint public, so use only if acceptable.
     
    Option 2: Proper fix (OAuth)
    If you need it secured:
    • Register an app in Entra ID
    • Get a Bearer token (client credentials flow)
    Call the flow with header:
    Authorization: Bearer <token>

    Use scope:
    https://service.flow.microsoft.com/.default

    Quick checks
    Re-save the flow and use the latest URL
    If using OAuth, verify token has correct aud and tid

    Recommendation
    For a quick unblock, use Option 1.
    For production, move to OAuth properly.
     
    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.

    Sunil Kumar Pashikanti, Moderator
    Blog:
     https://sunilpashikanti.com/posts/
     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard