Skip to main content

Notifications

Community site session details

Community site session details

Session Id : /gTh3yNQQASXZY/h9Qukr/
Power Automate - Using Connectors
Unanswered

Custom Connector Security Settings Reset after Deployment to Prod via ALM

Like (0) ShareShare
ReportReport
Posted on 12 Sep 2023 11:46:36 by 12

I've observed a peculiar issue when deploying solutions to production, particularly concerning the security settings of custom connectors. These connectors are automatically included in our solution when we add connection references to them. However, it seems that their security settings reset or change after deployment.

 

Example 1:

Screenshot 2023-09-12 at 13.37.03.png

In our development environment, we have a custom connector using API Key authentication. The Parameter name is set to api-key. However, when this is imported to prod, it reverts to the default parameter name, which is Ocp-Apim-Subscription-Key. Once I manually correct this and update the connector in prod, it operates as expected.

I also checked the swagger, but they are identical (except for example 2) in both cases.

 

Example 2:

This situation is trickier. If we use the default Parameter name (Ocp-Apim-Subscription-Key) in the dev environment, after deployment, there's no visible change in the production settings. Despite this, the connector doesn't function correctly. The solution is to click 'Edit' under the security settings in prod and then immediately 'Update' the connector, without actually making any changes. Only then does it work.

 

In both scenarios, until these changes are made, we are met with errors such as "API Key not found" or something similar.

It's evident that some settings or parameters are being altered during the migration between environments, but pinpointing the exact cause has been challenging. Does anyone know of specific environment or deployment pipeline settings that could influence this? Or has anyone encountered a similar issue?

 

As a temporary fix, I've created a 'Custom Connector Tester' flow to verify functionality post-deployment, and I manually correct issues as they arise. However, this isn't a sustainable solution, especially since flows can be disrupted during the rectification process.

 

Any insights or solutions would be greatly appreciated!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,369 Most Valuable Professional

Leaderboard

Featured topics

Loading started