web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / SMTP connector Solutio...
Power Apps
Answered

SMTP connector Solution import issue

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

 

 

 

Categories:
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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 Profile Picture
    6 on at

    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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard