Skip to main content

How to Rename a Connection Reference in Power Apps

· 6 min read
Jagdish Kumawat
Founder @ Dewiride

A connection reference called MSN Weather says which connector it uses, but not what it's for. Give it a clear name in a minute from its solution, without touching anything that uses it.

A connection reference is the solution component that stands between a flow, or some canvas apps, and the connection they use. The ones the flow designer creates for you can be named after nothing but their connector, such as Office 365 Outlook. The display name is what people see when they import your solution and pick a connection for each reference (How to Import a Solution in Power Apps), so it's worth making it say what the reference is for.

Microsoft's advice, in Use a connection reference in a solution, is that "the display name of a connection reference should be unique so different connection references can be differentiated by name alone", and to "consider adjusting the connection reference name to something unique and something that explains what it will be used for."

A reference has two names:

NameExampleCan you change it?
Display nameMSN WeatherYes. This guide changes it.
Namedewiride_MSNWeatherNo. It's fixed when the reference is created, and it starts with the solution publisher's prefix. Flows find the reference by this name.

The example is a solution called How-to Examples with one reference, MSN Weather, renamed to How-to Examples MSN Weather so it says which solution it belongs to.

Step 1: Open the Solution's Connection References​

In Power Apps, select Solutions, open your solution, and in Objects select Connection references:

The How-to Examples solution's Objects page with Connection references (1) selected and one row: MSN Weather, Name dewiride_MSNW..., Type Connection Reference, Managed No, Customized Yes, Owner Admin User, Status Off

Step 2: Open the Reference​

Select the reference's display name. The Edit panel opens:

The Edit MSN Weather panel: Display name MSN Weather, Name dewiride_MSNWeather greyed out, an empty Add a description box, Connector MSN Weather greyed out, and Connection MSN Weather with a Refresh button

Only Display name, the description and Connection can be changed. Name and Connector are greyed out.

Step 3: Type the New Display Name​

Replace Display name with a name that says what the reference is for. Here it's How-to Examples MSN Weather:

The same panel with Display name How-to Examples MSN Weather, and Name still dewiride_MSNWeather

Step 4: Save and Confirm​

Select Save at the bottom of the panel. A dialog asks you to confirm:

The Save changes to this connection reference? dialog: Changes will impact all your apps and flows that depend on this connection reference, including those made by other people. Saving changes can take a couple minutes and can't be undone. Buttons Save changes and Cancel

The warning is about the apps and flows that use the reference. A new display name doesn't change what any of them connect to. Select Save changes.

Step 5: Check the New Name​

The panel closes, and the list shows the new display name, with the same Name as before:

The Connection references list after the rename: How-to Examples MSN Weather, Name dewiride_MSNW..., Last Modified 26 seconds ago

What Happens to Flows That Use It​

Nothing that changes how they run. A flow's definition stores the reference's Name, which a rename leaves alone.

The example's reference had no flows. When I renamed references that seven flows used, Power Apps showed one banner per reference: Cloud flows are being updated for object '…'. See cloud flow updates. Microsoft's article says connection references are saved asynchronously, and that this banner links to the update details. The Cloud flow updates panel it opened stayed empty, even after Refresh. All seven flows stayed On, and their Last Modified didn't change.

Common Mistakes​

MistakeWhat happensDo this instead
Changing Connection while renamingEvery app and flow that uses the reference switches to that connectionChange only Display name
Giving two references the same display nameInstallers can't tell them apartMake each name unique, for example with the solution's name in it
Trying to rename by editing NameIt's greyed outChange Display name

Troubleshooting​

SymptomLikely causeFix
Save stays greyed outNothing in the panel has changed yetType the new name
A Cloud flows are being updated banner staysThe update runs in the backgroundClose it; the flows keep running

FAQ​

Can I change the Name too?​

No. To get a different Name, create a new reference in the solution (How to Create a Connection Reference in a Solution in Power Apps), switch each action to it (How to Change an Action's Connection Reference in Power Automate), and then remove the old one.

Why do some references start with new_?​

The Name starts with a publisher's prefix. References that the designer creates for you can get a different prefix from your solution's publisher. Renaming changes only the display name, so a new_ reference keeps its new_ name.

Can I add more than a name?​

The same panel has Add a description, for a longer note on what the reference is for.

Conclusion​

Open the reference from its solution, change Display name, select Save, and confirm with Save changes. The new name is what people see when they pick connections, and nothing that uses the reference changes.

Additional Resources​