Microsoft Cloud for Sovereignty repository brings ready-to-use workload templates and a sample confidential application deployable in a Sovereign Landing Zone.
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.
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.
Fixing 2 issues: