Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Malformed ID error in office 365 Groups Connector

(0) ShareShare
ReportReport
Posted on by

I am trying to call the 'Send an HTTP request' action API from the office 365 Groups connector. The URL I am trying to call is "https://graph.microsoft.com/v1.0/me/mailFolders/{mailfolder_id}" which is a Graph API. This API works without any problems when using Graph explorer and Postman, but it gives an error of "Malformed ID" when called from this connector from power automate.

 

Has anyone faced this issue?

  • RachelGomez123 Profile Picture
    31 on at
    Re: Malformed ID error in office 365 Groups Connector

    When using the 'Send an HTTP request' action API from the Office 365 Groups connector in Power Automate, you are encountering an error stating "Malformed ID" when calling the Graph API.

    This error typically indicates an issue with the format or value of the {mailfolder_id} parameter. Here are a few things you can try to resolve the issue:

    Verify the placeholder: Make sure that the {mailfolder_id} placeholder is correctly formatted and matches the expected format of the mail folder ID. Double-check the documentation for the specific API you are using to ensure you are using the correct placeholder format.

    Use a static ID: Instead of using a placeholder, try using a static ID for the mail folder in your API call. Replace {mailfolder_id} with an actual ID of the mail folder you want to access.

    Check authentication and permissions: Ensure that the authentication and permissions associated with the connector in Power Automate are set up correctly and have the necessary permissions to access the mail folders.

    Test with different connectors: If the issue persists, consider testing the API call with different connectors in Power Automate to isolate the problem. You can try using other connectors that support making HTTP requests or consult with the Microsoft support team for further assistance.

    Remember to review the documentation and guidelines provided by Microsoft for the specific API and connector you are using. Additionally, debugging and troubleshooting the error message can provide more insights into the exact cause of the "Malformed ID" issue.

     

    Regards,

    O365CloudExperts

  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: Malformed ID error in office 365 Groups Connector

    Hi @neethomas :

    I've made a test but it worked well on my side:

    1\Create a custom connector

    vbofengmsft_0-1634699523785.png

    I think this link will help you a lot:

    https://www.youtube.com/watch?v=ORHghzhvmyA 

    2\Build the flow:

    vbofengmsft_1-1634699558137.png

    Best Regards,

    Bof

     

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,017 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow