The [object Object] on reopening confirms this is a metadata caching issue specific to how Power Apps stores the SQL view schema after switching to Service Principal auth.
Power Apps sometimes serializes columns differently when the connection uses Service Principal vs SQL auth, and certain column types (computed columns, columns with implicit conversions, or columns referencing other complex types) get stored as objects in the cached metadata rather than scalar values.
Two things to try:
1. In your SQL view, explicitly CAST every column to a basic type:
SELECT
CAST(YourColumn AS NVARCHAR(255)) AS YourColumn
FROM YourTable
This forces Power Apps to see simple scalar types regardless of what's underneath.
2. After updating the view, remove the SQL connection from the app completely, save and close the app, clear your browser cache, reopen the app and re-add the connection fresh. The key is clearing the cached metadata so Power Apps re-reads the updated schema.
The fact that it works on first connect but breaks on reopen is a metadata cache problem. The CAST fix prevents Power Apps from misinterpreting the column types when it re-reads the cached schema on subsequent opens.
Also worth checking: are any of the columns in the view computed columns or columns that reference user-defined functions? Those are the most common cause of this exact symptom.
Best regards,
Valantis
✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.
❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).
🏷️ For follow-ups @Valantis.
📝 https://valantisond365.com/