cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Niekoesj
Level: Powered On

Cannot add connection for the API: shared_sendmail. (Shared App)

Hi All,

 

The last few weeks i'am pretty busy creating PowerApps.

I created an App and used a Flow to send an e-mail via the MAIL connection.

This works very well via my own account, but when i share the app to my colleague, they get an error when they open the app for the first time.

 

This happens on the Web-version aswel on the "iPhone App" version of my PowerApp.

 

The exact error my colleague gets (when they accept the connections for the first time.

Cannot add connection for the API: shared_sendmail. Please make sure it exists and you have access to it.

 

Did i mis a important step? There is no way to "share" the MAIL connection? 

I tried to publish the App via the Studio and via the Web-editor as well. And i'am using version 2.0.590

 

1 ACCEPTED SOLUTION

Accepted Solutions
Meneghino
Level 10

Re: Cannot add connection for the API: shared_sendmail. (Shared App)

Hi all, this is an issue with the Flow menus.

 

If you type send mail, Flow shows options but "Mail" is actually the Sendgrid connection, but you should only use that if you intend to.

 

You should use the Outlook option instead to use standard email with Office365....

 

 

Capture___.JPG

 

View solution in original post

16 REPLIES 16
Meneghino
Level 10

Re: Cannot add connection for the API: shared_sendmail. (Shared App)

Hi @Niekoesj

 

I had had no issues so far in sharing apps with flows and the email connection.

 

In you case, is there any particular reason you need to use Flow and not simply the Office 365 Outlook connection?

Niekoesj
Level: Powered On

Re: Cannot add connection for the API: shared_sendmail. (Shared App)

Hi Meneghino,

 

Hmm ok! strange 😞

 

Do i also need to share the "Flow" ? I see no sharing-options in the used Flow.

The error only appears when other users (than me) opens the App for the first time.

Meneghino
Level 10

Re: Cannot add connection for the API: shared_sendmail. (Shared App)

OK, so your user gets the error the first time but from the second time then everything works as it should?

Niekoesj
Level: Powered On

Re: Cannot add connection for the API: shared_sendmail. (Shared App)

Hi Meneghino,

 

The first time, (when accepting connections) like use of camera,OneDrive4Business and also "Mail".

The camera & OneDrive4Business works, but the Mail connection gets errors. "Sign up"button shows and when the user clicks on it, it gives the error i mentioned in my openning-post. 

 

The other user is a normal co-worker with a Office365 account (and PowerApps/Flow licenses).

Meneghino
Level 10

Re: Cannot add connection for the API: shared_sendmail. (Shared App)

Understood, but does the error stop you from doing anything or if you restart the app then everything is OK?

Niekoesj
Level: Powered On

Re: Cannot add connection for the API: shared_sendmail. (Shared App)

Unfortunately not, the user won't get trough the first screen. They only can close the app.

Meneghino
Level 10

Re: Cannot add connection for the API: shared_sendmail. (Shared App)

Clear, thanks.

I have just tested and I also get the error if my user does not have an Exchange Online email license or if this is not included in the user plan.

Does this help?

 

Niekoesj
Level: Powered On

Re: Cannot add connection for the API: shared_sendmail. (Shared App)

No unfortunately, the user who tested has an active Exchange Online license activated on his account. 😞

Meneghino
Level 10

Re: Cannot add connection for the API: shared_sendmail. (Shared App)

I am out of ideas...

Maybe try to reach out to PowerApps support directly and not through the forum.

Or maybe tomorrow @v-micsh-msft will take a look...

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,597)