Skip to main content

Notifications

Community site session details

Community site session details

Session Id : o2ZifslGnRH5Pz5ovk6J/M
Power Automate - Building Flows
Unanswered

Using Send an HTTP request to SharePoint to send an ics file (invitation)

Like (0) ShareShare
ReportReport
Posted on 13 Apr 2022 07:16:08 by 2

Hi all,

I'm looking for a solution to send an invitation to a person by a Power Automate flow whenever an item is added in a SharePoint list. I cannot use the regular Send an Email action due to company policies but I can use Send an HTTP request to SharePoint. I saw several posts regarding this subject but none of them helped me any further. What I'm looking for is a step by step description of the actions I have to implement to get it to work. I have been using the Send an HTTP action with the _api/SP.Utilities.Utility.SendEmail request a lot but never with an attachment. I'm able to create the ICS file following Manual T. Gomez's post but cannot use to regular mail action like he did. Is there a way to send the file as an attachment with _api/SP.Utilities.Utility.SendEmail? Any advice is welcomed! 

Regards, Jos

  • abm abm Profile Picture
    32,464 Most Valuable Professional on 13 Apr 2022 at 17:13:38
    Re: Using Send an HTTP request to SharePoint to send an ics file (invitation)

    Hi @jalbers55 

     

    That means you can send message only using that API. Its a restriction for that API  _api/SP.Utilities.Utility.SendEmail

     

    Hope it make sense.

     

    Thanks

  • jalbers55 Profile Picture
    2 on 13 Apr 2022 at 15:17:39
    Re: Using Send an HTTP request to SharePoint to send an ics file (invitation)

    Hi abm,

     

    "You cannot add attachments via this API call." That's a shame because I'm not technical enough to understand the posts you added. Thanks anyway for your reply. 

  • abm abm Profile Picture
    32,464 Most Valuable Professional on 13 Apr 2022 at 11:28:35
    Re: Using Send an HTTP request to SharePoint to send an ics file (invitation)

    Hi @jalbers55 

     

    You cannot add attachments via this API call.

     

    How to send an email using REST API in SharePoint? (mundrisoft.com)

     

    For inline attachment see below.

    json - How do I send Email with inline Attachments - Stack Overflow

     

    Thanks

     

    Thanks

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!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 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,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,075 Most Valuable Professional

Leaderboard
Loading started