As the cherry on this multi-layered cake that has a base of SQL logins, KeyVault, a sauce of Azure Functions with a coating of Elastic Jobs all glazed with PowerAutomate, we finally assemble the Microsoft Forms request form.

Request Form

Any time someone submits the form, the answers are collected and passed to the PowerAutomate flow from previous article, which goes and trigger the Azure function when the approval was given, that unlocks finally the login. The amoutn of time specified in the request later the database login is locked again by the Elastic Job.

I hope this helped you with similar problems.