Skip to main content
Community site session details

Community site session details

Session Id : zZK+RyDjfANVvVfxi5xj0y
Power Apps - Building Power Apps
Answered

Invocation of unknown or unsupported function

Like (1) ShareShare
ReportReport
Posted on 6 Dec 2019 10:29:36 by 206

Hello,

I have created a patch function which works well but I need it to also send a simple email to a team member to notify him when the information has been patched to a sharepoint list.  I copied the code from another patch function which I know works (I changed the code slightly to work in my new app) all is well but I keep getting this error - Invocation of unknown or unsupported function.

I have Office 365 - Outlook connected and I've refreshed it but still keep getting this error.

I am not the best at creating patch / email coding on powerapps so if you can explain in simple terms any solution I would be extremely grateful. The code is shown below if this helps:


'Office365.SendEmail(NotifyEmail.Text,"Long Distance Rota Job Issued","Long distance rota job has been added to the log for callsign: " & VehicleNo.Text & " The Job is going to: " & Dest.Text & " The date of the rota job is " & Text(JourneyDate.SelectedDate, "[$-en-US]dd/mm/yyyy" ),{});'

 

  • iAm_ManCat Profile Picture
    18,206 Most Valuable Professional on 06 Dec 2019 at 11:34:09
    Re: Invocation of unknown or unsupported function

    You're welcome! Happy that I could help 😺

  • Station1901 Profile Picture
    206 on 06 Dec 2019 at 11:31:44
    Re: Invocation of unknown or unsupported function

    Spot on - works perfectly now.  Thankyou

  • Verified answer
    iAm_ManCat Profile Picture
    18,206 Most Valuable Professional on 06 Dec 2019 at 11:23:10
    Re: Invocation of unknown or unsupported function

    Hi,

     

    I think the Connector name is Office365Outlook rather than Office365, so it's just a minor typo that preventing it from mailing from what I can see - so your formula should be:

     

    Office365Outlook.SendEmailV2(NotifyEmail.Text,"Long Distance Rota Job Issued","Long distance rota job has been added to the log for callsign: " & VehicleNo.Text & " The Job is going to: " & Dest.Text & " The date of the rota job is " & Text(JourneyDate.SelectedDate, "[$-en-US]dd/mm/yyyy" ),{})

     

    Cheers!

    Sancho

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Loading complete