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 / How to post attachment...
Power Automate
Answered

How to post attachments with "Teams"

(0) ShareShare
ReportReport
Posted on by 7

How to post attachments to "Teams"?

I tried this url, but I can't log in to "azure activity directory". 

 

https://www.damobird365.com/custom-action-post-email-attachment-to-teams/

https://www.damobird365.com/how-to-build-it-custom-connector/

 

 

jjj0_0-1675930331110.png

 

I have no app, no client id.

I can't add a custom connector.

However, I added the app got an error even when I added the app.

I don't know what to put in "additional platforms - web redirect url".

 

AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application

 

How to post attachments to "Teams"?
Thank you for teaching me.

 

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @jjj0 ,

     

    Do you want to send a teams message with file attachment in it?

    If so, Please try this Grapy API:

    https://graph.microsoft.com/v1.0/teams/{GroupID}/channels/{ChannelID}/messages

    vbofengmsft_0-1675996341600.png

    vbofengmsft_1-1675996353301.png

     

    I think this link will help you a lot:
    Send chatMessage in a channel or a chat - Microsoft Graph v1.0 | Microsoft Learn

     

    Best Regards,

    Bof

  • jjj0 Profile Picture
    7 on at

    HI @v-bofeng-msft 

    Really Thank you very so much !!

     

    I created URI with team id and channel id.
    But it's an error.

    Please help me.

     

    jjj0_2-1676014712995.png

     

     

    jjj0_1-1676014626390.png

     

    msg:

    URI path is not a valid Graph endpoint, path is neither absolute nor relative or resource/object is not supported for this connector. Resources: groups. Uri: https://graph.microsoft.com/v1.0/teams/ ~~~~~ 

  • jjj0 Profile Picture
    7 on at

    If I post as v1 , it works fine.
    v2 didn't work.

     

    thank you very much

  • davii_alvees Profile Picture
    2 on at

    Hello everything is fine?

    Did you use this same print connector? "Send an HTTP Request V2 (Office 365 Groups)"?

    I'm trying to do the same here but I'm not succeeding, the same message appears "URI path is not a valid Graph endpoint, path is neither absolute nor relative"...

    I don't know if I need any permission to run this API in my Power Automate

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 355

#2
11manish Profile Picture

11manish 336 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard