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 / Issue while running a ...
Power Automate
Suggested Answer

Issue while running a flow 404 - File or directory not found.

(0) ShareShare
ReportReport
Posted on by
Trying to run a Scheduled cloud flow where we use Office 365 Management API. The flow is used to send email for service health to user mailbox. It gives error in a particular step where we use http request to retrieve service health incidents and advisories using GET method.
 
 
Tried using tenant ID/ tenant domain in place of tenant_identifier 
operation : Messages
 
Error : 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
 
Please suggest the relevant solutions to fix it.
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,853 Most Valuable Professional on at
     
    Have you tried the Graph API instead?
     
    As far as I am aware they moved the service comms API bit to the Graph a while ago and retired this endpoint.
    The service health and communications API in Microsoft Graph is now available, and replaces the Service Communications API
     
     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, LinkedIn, Bluesky profile or Youtube Channel
  • Suggested answer
    Inogic Profile Picture
    1,291 Moderator on at
    Hi,
     
    The 404 – File or directory not found error usually happens when the request URI or token setup isn’t quite right. A few things to check:
    1. Correct Endpoint Format
    The URI should look like this:

    https://manage.office.com/api/v1.0/{tenant_id}/ServiceComms/Messages
    • Replace {tenant_id} with your actual Tenant GUID (not the tenant domain).
    2. Permissions
    Make sure the Azure AD app used in the flow has the appropriate permission, and that admin consent has been granted.

    3. Access Token Scope
    The bearer token in your HTTP request must be acquired for the resource:

    https://manage.office.com
    If the token is generated for https://graph.microsoft.com, it won’t work here.
    4. Verify Availability
    Not all tenants have the Office 365 Management API enabled. You can test your call in Postman with the right token to confirm if the endpoint responds outside of Power Automate.

    Hope this helps.
     
    Thanks!
    Inogic

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 535

Last 30 days Overall leaderboard