Power Automate · Power Apps calling a flow (solutions)
NotAllowedConnectionReference
NotAllowedConnectionReference means the app's flow metadata expects a specific connection reference, such as a SQL connection, that the app does not provide. Re-add the flows in the app, then remove unmanaged layers and re-import the solution.
VerifiedLast verified
01Error text
NotAllowedConnectionReference
Connection reference '<connection name>' was not given by invoker.02Likely causes
- The app's flow metadata expects a specific connection reference, such as a SQL connection.
03How to fix it
- In the source environment, remove the flows from the app, add them again, then save and publish the app.
- In the target environment, remove the unmanaged solution layers from the app and the flow.
- Export the solution again and import it into the target environment.
04Fix it with AI
Copy this prompt into Claude Code, ChatGPT or any AI assistant. It already holds the error, the likely causes and the fix steps, so the assistant starts from what is known instead of guessing.
I'm getting this error in Microsoft Power Automate (Power Apps calling a flow (solutions)):
NotAllowedConnectionReference
Connection reference '<connection name>' was not given by invoker.
What it usually means: NotAllowedConnectionReference means the app's flow metadata expects a specific connection reference, such as a SQL connection, that the app does not provide. Re-add the flows in the app, then remove unmanaged layers and re-import the solution.
Likely causes:
- The app's flow metadata expects a specific connection reference, such as a SQL connection.
Fix steps that usually work:
1. In the source environment, remove the flows from the app, add them again, then save and publish the app.
2. In the target environment, remove the unmanaged solution layers from the app and the flow.
3. Export the solution again and import it into the target environment.
Help me fix it. If you can read my project files, find where this error comes from. If not, ask me for what you need (the failing step, its input, the connection or config). Check the likely causes one by one, tell me which one it is and why, then give me the exact change to make. Do not change anything in production. Reference: https://ipaaserrors.com/power-automate/notallowedconnectionreferenceNothing is sent anywhere from this page. Read what the assistant suggests before you apply it.
05Official documentation
→Related errors
- MissingConnectionReferenceMissingConnectionReference means the app's metadata and the flow's metadata are out of sync, so the app does not pass the connection reference the flow expects. Re-add the flows in the app in the source environment, then re-import the solution into the target.
- ConnectionNotConfiguredConnectionNotConfigured in a Power Automate cloud flow: An action requires a connection but none was selected. The most likely fix is to select or create a connection.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Power Automate work:Open Power Automate jobsPower Automate pay estimates