cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Invocation of Unknown or unsupported function

 Getting This error and cant figure out how to fix it.  Any help would be great   Set(_emailRecipientString, Concat(MyPeople, Mail & ";")); Office365Outlook.SendEmail(_emailRecipientString, TextEmailSubject1.Text, TextEmailMessage1.Text); Reset(TextEmailSubject1); Reset(TextEmailMessage1); Clear(MyPeople)

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Invocation of Unknown or unsupported function

@Anonymous ,

Which part of the code is the error on? I assume MyPeople is a Collection with Mail as a field in it?

Set(
   _emailRecipientString, 
   Concat(
      MyPeople, 
	  Mail & ";"
   )
); 
Office365Outlook.SendEmail(
   _emailRecipientString, 
   TextEmailSubject1.Text, 
   TextEmailMessage1.Text
); 
Reset(TextEmailSubject1); 
Reset(TextEmailMessage1); 
Clear(MyPeople)

 

View solution in original post

9 REPLIES 9
Highlighted
Super User III
Super User III

Re: Invocation of Unknown or unsupported function

@Anonymous ,

Which part of the code is the error on? I assume MyPeople is a Collection with Mail as a field in it?

Set(
   _emailRecipientString, 
   Concat(
      MyPeople, 
	  Mail & ";"
   )
); 
Office365Outlook.SendEmail(
   _emailRecipientString, 
   TextEmailSubject1.Text, 
   TextEmailMessage1.Text
); 
Reset(TextEmailSubject1); 
Reset(TextEmailMessage1); 
Clear(MyPeople)

 

View solution in original post

Highlighted
Anonymous
Not applicable

Re: Invocation of Unknown or unsupported function

The error seems to be here: Office365Outlook.SendEmail(_emailRecipientString, TextEmailSubject1.Text, TextEmailMessage1.Text);
Highlighted
Super User III
Super User III

Re: Invocation of Unknown or unsupported function

@Anonymous 

Can you confirm that you've added the Office 365 Outlook connection under the View > Datasources menu?

If not, that would explain this type of error message.  

 

image.png

Highlighted
Anonymous
Not applicable

Re: Invocation of Unknown or unsupported function

I have Office 365 Users.  I tried adding the office 365 outlook but it tells me  REST API is not yet supported.  I am guessing that is an issue I need to mention to the Administrator  Correct?

Highlighted
Super User II
Super User II

Re: Invocation of Unknown or unsupported function

@Anonymous 

Try V2, ie

... Office365Outlook.SendEmailV2( ...

Highlighted
Anonymous
Not applicable

Re: Invocation of Unknown or unsupported function

I get the same error
Highlighted
Super User III
Super User III

Re: Invocation of Unknown or unsupported function

@Anonymous 

Yes, that's correct. This is something that you would have to mention to your administrator.

This error typically occurs when there isn't a mailbox that is associated with your account.

Highlighted
Anonymous
Not applicable

Re: Invocation of Unknown or unsupported function

Thank you for your help
Highlighted
Super User III
Super User III

Re: Invocation of Unknown or unsupported function

@Anonymous ,

You will - @timl suggestion was spot-on (sorry I have been offline for a short while).

A bit of research suggests that this happens for mailboxes that have not been migrated to O365. Your mailbox is likely still on a dedicated exchange server. You'll need to request your Outlook administrator migrate your mailbox.

Here is documentation on how this can be done by an administrator.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,872)