microsoft / PowerPlatformConnectors

This is a repository for Microsoft Power Automate, Power Apps, and Azure Logic Apps connectors
https://aka.ms/connectors
MIT License
975 stars 1.26k forks source link

[BUG] API-Key setting connection is gone after deploy #2942

Open Likkeq opened 1 year ago

Likkeq commented 1 year ago

Type of Connector

Custom Connector

Name of Connector

Microsoft Custom Connector

Describe the bug

We have a custom connector where the security authentication type setting is configured as API-Key. When we redeploy this in a solution to other environment where it already exist it seems that the custom connector is losing the API-Key type configuration.

We tested this by using the Test tab with the existing connection. We get an error that the API-Key is missing. The strange thing is that when going to the security tab the setting is still on API-Key. The workaround to fix this for us is going to edit mode and click on update connector, without modifying anything. We don't modify anything in the existing created connections.

Is this a security bug?

No, this is not a security bug

What is the severity of this bug?

Severity 3 - Minor issue

To Reproduce

Expected behavior

API-Key setting is still configured after deploying a new solution version with an existing connection.

Environment summary

Have a dev environment for the unmanaged solution and have a test environment with managed solutions.

Additional context

troystaylor commented 1 year ago

Could you download the connector using the pac CLI from the other environment and check to see if the apiProperties.json file has the API key connection parameter?: image

Likkeq commented 1 year ago

Yes, downloaded it and it has the API-Key properties. image