cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lg-power
Helper I
Helper I

SMTP connector Solution import issue

Hi, 

 

I created a SMTP connection reference in my solution that I move around from dev - prod environments. My app and tables are within the same solution. One account's credentials are used to send mails within the app, and this works. In all environments the SMTP connector is shared with the whole organization. 

 

Issue: whenever I move my solution to another environment the app will not be connected to the SMTP connector. This basically breaks my app: app will not start and give the error message "your app was not installed correctly, missing connectionreference". Everytime I move the solution I have to edit the app within the environment it was moved to , re add the connector there, and publish. Creating an unmanaged layer over my managed app layer. 

 

Is moving connectors through solutions bugged out? Never had this issue with e.g. dataverse connector, the Mail connector, AD connector,  sharepoint connectors. 

 

BTW, same behavior I have seen with flows that are added in the dev environment and moved as solution to other environments. 

 

regards, 

 

LG

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
lg-power
Helper I
Helper I

Solved it. It’s quite tricky

 

Best thing to do was start fresh and delete all SMTP connections from target environments. Note this will break the app in these environments temporarily.

Separate the ‘app solution’ and ‘smtp connector solution’ (not sure whether this is actually necessary)

 

Move the app solution first. Move smtp solution after. A screen will appear asking for the properties.

 

App finds the smtp connector now in target environment.

View solution in original post

3 REPLIES 3
lg-power
Helper I
Helper I

Solved it. It’s quite tricky

 

Best thing to do was start fresh and delete all SMTP connections from target environments. Note this will break the app in these environments temporarily.

Separate the ‘app solution’ and ‘smtp connector solution’ (not sure whether this is actually necessary)

 

Move the app solution first. Move smtp solution after. A screen will appear asking for the properties.

 

App finds the smtp connector now in target environment.

Hello lg-power

 

I have just hit exactly the same problem importing canvas apps that use an SMTP connection.  I've tried to follow your instructions but to no avail....do you mind providing some more info on how you resolved this issue?

 

Many thanks in adcvance

 

Dan

MBL
Frequent Visitor

Hello,

 

I am new to solutions and I'm having the same issue. Would you clarify what you meant by 'smtp connector solution'?

 

Kind regards,

Marlon

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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