Power Automate: Renew App Registration Client Secret and Update Dataverse Environment Variable Value


In this article, the author explains how to automate the process of generating a new secret and updating the Dataverse Environment Variable using Power Automate. The article provides a step-by-step guide on how to create a custom API in Dataverse and add the necessary privileges to the application user. It also includes instructions on how to create a Power Automate flow to get the access token, execute the MS Graph applications API, loop through the applications and password credentials, and update the secret using the custom API. The article includes code snippets and screenshots to help with the implementation.


Article 2m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time