Skip to main content

Notifications

Power Apps - Connector Development
Unanswered

Automate updating OAuth Client Secret?

(0) ShareShare
ReportReport
Posted on by
I am using GitHub Actions to automate deploying custom connectors in a solution to multiple environments. powerplatform-actions · Actions · GitHub Marketplace
Each time the solution is deployed, the OAuth Client Secret is cleared and needs to be manually updated for the connectors, which means the connector is broken after deployment until someone completes this manual task. 
 
The pac cli which is used by the powerplatform-actions, doesn't seem to have any options for automatically setting the secret. The paconn cli does have a flag for setting the secret when updating a connector but it can't be used in automations as it requires an interactive login. Even if that were not the case, it doesn't seem like the best option since the connector would have to be exported and re-imported after it was just imported in a solution.
 
Is there any way to automate setting the Client Secret so that it doesn't have to be done manually after every update?
 
 
Categories:

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,867

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,174

Leaderboard

Featured topics