When I look at the Connections.json file in my unpacked solution, I see my Custom Connector referenced with what looks like a guid as the key (I've changed the IDs and identifying details to fake data):
"abc12345-bb6a-9ut9-23b7-bc3aob93n0": {
"connectionParameters": {
"sku": "Enterprise"
},
"connectionRef": {
"apiTier": "Standard",
"displayName": "MyCustomConnector",
"iconUri": "https://az787822.vo.msecnd.net/defaulticons/api-dedicated.png",
"id": "/providers/microsoft.powerapps/apis/shared_mycustomconnector-u8a7374yno8ab73nh7-3r9b8q7d97c92re",
"isCustomApiConnection": true,
"parameterHints": {},
"parameterHintsV2": {}
},
"datasets": {},
"dataSources": [
"MyCustomConnector"
],
"dependencies": {},
"dependents": [],
"id": "abc12345-bb6a-9ut9-23b7-bc3aob93n0"
}
Where can I find this guid key? I have a different custom connector living in our prod environment. Before I import our managed solution from the dev environment, I need to unpack the zip file, replace the queries pointing to our dev custom connector so they point to our prod custom connector, and then add our prod custom connector to the Connections.json file. So it looks like I'll need our prod Custom Connectors id so that I can make the "id: {custom connector metadata}" object in the Connections.json file. I tried using the PowerApps PowerShell cmdlet but that doesn't seem to give me the id of the custom connector. Can I find it somewhere in the PowerApps UI? Thanks.