How do I change the Connection when importing an app?
My setup:
SQL server on-premise with gateway.
Successfully created a working powerapp in my org/tenant.
The app has flows which uses the SQL connector (ex call stored procedure)
and a few screens like a gallery connected to a datasource (same SQL server / gateway)
Now I want to export the app and import into another org/tenant. (let's call it "Customer A")
"Customer A" has exact same setup (SQL server, gateway).
Name of gateway and name of database is different, but exact same schema.
I haved tried 3 different things:
1) Export and import canvas app (not solution).
Then I can manually set connection at import, and import works OK.
BUT: The connection only works for the FLOWS; not the SQL server datasources
The old servername is stored in name of dataset for SQL server,which is not same at new environment.
I have to manually re-create SQL server datasources.
2) I haved tried managed solution.
Then I cannot change or add any connection at all.
When I run the app, it prompts for allow "SQL by Microsoft" which points to nothing.
3) I have tried unmanaged solution
Pretty much same as 2) - when I edit the app, the text under then flows states "not connected".
So - Obviously I am missing something basic here.. but I am stuck!
My goal:
Develop then app in my environment (my tenant).
Then distribute to my customers (1 customer = 1 tenant, they distribute within their org themselves)
All customers have the same setup (SQL server with identical schema, on premise)
My understanding is that either the customer must import themself, or grant me a "guest account" where I can do the updates for them. But I cannot get this to work… 😞
Help greatly appreciated!
/Sigurd