Azure / cloud-for-sovereignty-quickstarts

Microsoft Cloud for Sovereignty repository brings ready-to-use workload templates and a sample confidential application deployable in a Sovereign Landing Zone.
MIT License
27 stars 10 forks source link

Bug fixes for hrapp and acc deploy #12

Closed azure-lm closed 7 months ago

azure-lm commented 7 months ago

Fixing 2 issues:

  1. During infra deployment, the key management permissions are not applied instantly making some future operations fail with an invalid permission error. This results in many failed deployments as our retry logic won't apply when it gets a permission error. Enabling retries on permission errors.
  2. Azure and SQL sessions are required to deploy the sample app. However, for some customers it seems the SQL sessions time out causing further deployment errors. Updated the code to create a valid SQL session when it's needed so the Add-SqlAzureAuthenticationContext setup step is not strictly needed anymore.