Brief Connect v2.7.x Infrastructure Release Notes
Supported package versions: 2.7.x
This release is an infrastructure security hardening release for environments already running Brief Connect package 2.7.x.
It also addresses Microsoft's Azure Cache for Redis retirement by moving guidance and deployment patterns to Azure Managed Redis.
There is no Brief Connect application package upgrade in this release.
Who should use this guide
Use this page if you manage Brief Connect infrastructure and deployment pipelines.
What changed
Azure Cache for Redis retirement response
- Microsoft announced retirement timelines for Azure Cache for Redis SKUs. For details, see Azure Cache for Redis retirement FAQ.
- This release updates Brief Connect deployment direction to Azure Managed Redis naming, SKU selection, and Microsoft Entra ID authentication patterns.
- Related architecture guidance: Deployment Architecture - Azure Managed Redis.
Security hardening and identity-based access
- Azure DocumentDB (MongoDB) uses Microsoft Entra ID authentication for the Function App and API Web App system-assigned managed identities. The deployment provisions Entra-backed users and stores the Entra connection string in Key Vault.
- Azure Managed Redis uses an encrypted
redisEnterprisedatabase with access-key authentication disabled. The Function App and API Web App identities receive the database's default access policy. SetredisSkuNameandredisHighAvailabilityin the parameter file. - Azure Storage accounts disable shared-key access. The App uses blob, queue, and table service endpoints for host storage and a queue endpoint for application data storage. The deployment assigns the required storage role-based access control (RBAC) roles to the application identities.
- The web storage account hosts the static website. The App uses its blob endpoint for plugin bundles with managed identity. Set
assetsDeploymentServicePrincipalIdto the package deployment service principal's object ID; the infrastructure deployment grants it Storage Blob Data Owner on web storage.
Documentation updates
Infrastructure settings
- Managed identity settings are clarified for Azure DocumentDB (MongoDB), Azure Managed Redis, and Azure Storage accounts.
- Endpoint-based Azure Storage account settings are documented for Entra ID authentication scenarios.
- Plugins storage guidance is updated for environments that use Plugins Editor with Entra ID authentication.
- Related settings reference: Infrastructure Settings.
Solution and deployment documentation alignment
- Deployment instructions align with Azure Managed Redis naming and SKU direction: Azure Resource Deployment.
- Security architecture aligns to Entra ID-first access patterns and reduced reliance on shared keys: Security Architecture.
- Technical architecture now reflects managed identity usage across Function Apps and Web Apps: Technical Architecture - EID Principals.
One modular deployment
Bicep/main-all.bicepreplaces the sequentialmain-1.bicepandmain-2.bicepdeployments for the full environment. Reusable resource definitions live underBicep/modules/.Scripts/ProvisionInfra.ps1accepts-BicepFileand-BicepParameterFile, then deploys that root and parameter file to the resource group set byazureResourceGroupName. It no longer selects a MongoDB topology or provisions MongoDB Atlas.- The root accepts an optional
tagsobject for resources that support tags.
Infrastructure upgrade actions
Non-standard infrastructure
The steps below apply to standard Brief Connect base infrastructure and release pipelines. If your environment uses hardened or custom infrastructure (for example VNets, private endpoints, custom RBAC models, or alternative Infrastructure as Code tools), align the upgrade plan with the E2 support team before deployment.
Complete these steps for each target environment. Review the existing resource names, identities and database contents before deploying the full root to an established environment.
What will be changed
Short summary
- One modular
Bicep/main-all.bicepdeployment replaces the sequentialmain-1.bicepandmain-2.biceproots and provisions Azure DocumentDB rather than MongoDB Atlas. - The Function App and API Web App use managed identities for DocumentDB, Azure Managed Redis, Azure Storage, Key Vault, and Azure SQL.
- Azure Managed Redis replaces Azure Cache for Redis; Redis access keys and storage shared keys are disabled.
- The template assigns storage roles to application identities and the package deployment service principal.
RBAC roles used in this change set
Role Based Access Control Administrator assignment conditions for deployment service principal:
- New:
Storage Blob Data Owner(b7e6dc6d-f1e8-4753-8033-0f276bb0955b) - New:
Storage Table Data Contributor(0a9a7e1f-b9d0-4cc4-a60d-0319b160aaa3) - New:
Storage Queue Data Contributor(974c5e8b-45b9-4653-ba55-5f855dd0fb88) - Existing:
Storage Account Contributor(17d1049b-9a84-46fb-8f53-869881c3d3ab) - Existing:
Key Vault Secrets User(4633458b-17de-408a-b874-0445c86b69e6) - Existing:
Key Vault Secrets Officer(deployment identity assignment condition)
Resource-scoped change details
- Azure DocumentDB (MongoDB vCore)
azureDocumentDb.bicepdeploys aMicrosoft.DocumentDB/mongoClusterscluster with Microsoft Entra ID as its only allowed authentication mode.documentDbEntraPermissions.bicepprovisions users for the Function App and API Web App system-assigned identities.- The Entra connection string is stored in Key Vault. The cluster uses
region;mongoAzDocumentDb*parameters control its sizing, availability, and network access.
- Azure Managed Redis
redis.bicepdeploys an encryptedMicrosoft.Cache/redisEnterprisedatabase withaccessKeysAuthentication: Disabled.redisEntraPermissions.bicepassigns the default database access policy to both app identities.- The host-and-port connection string contains no access key and is stored in Key Vault. Set
redisSkuNameandredisHighAvailability(DisabledorEnabled).
- Function App (
Microsoft.Web/sites)- Its system-assigned identity receives DocumentDB, Redis, storage, and Key Vault access; it also uses a user-assigned identity for Azure SQL.
- Host storage uses
AzureWebJobsStorage__blobServiceUri,AzureWebJobsStorage__queueServiceUri, andAzureWebJobsStorage__tableServiceUri. - App settings include
MongoDbUseManagedIdentity,RedisUseManagedIdentity, andDataStorageUseManagedIdentity.
- API Web App (
Microsoft.Web/sites)- Its system-assigned identity receives DocumentDB, Redis, storage, and Key Vault access; it shares the user-assigned Azure SQL identity with the Function App.
- Both apps use
MongoDbConnectionString,RedisCacheConnectionString, andDataStorageAccountConnectionString__queueServiceUriwith managed identity settings.
- Azure Storage account (Web)
- Shared-key access is disabled; the account hosts the static website and supplies the plugin bundle blob endpoint through
BundleStore__ConnectionStringandBundleStore__UseManagedIdentity. - Both app identities receive
Storage Blob Data Owner. SetassetsDeploymentServicePrincipalIdto the package deployment service principal's object ID so the template grants that principal the same role.
- Shared-key access is disabled; the account hosts the static website and supplies the plugin bundle blob endpoint through
- Azure Storage account (Function)
- Shared-key access is disabled. The Function App receives
Storage Blob Data Owner,Storage Table Data Contributor,Storage Queue Data Contributor, andStorage Account Contributor. - The API Web App receives blob-owner, queue-contributor, and account-contributor roles.
- Shared-key access is disabled. The Function App receives
- Azure Storage account (Data)
- Shared-key access is disabled. Both app identities receive
Storage Queue Data ContributorandStorage Account Contributor. - Application data storage uses
DataStorageAccountConnectionString__queueServiceUriandDataStorageUseManagedIdentityinstead of a key-based connection string.
- Shared-key access is disabled. Both app identities receive
- Key Vault and Azure SQL
- Key Vault stores the Entra-based DocumentDB, keyless Redis, and Azure SQL connection strings; it does not create Function or data storage connection-string secrets.
- Both app identities receive
Key Vault Secrets User. Azure SQL uses a Microsoft Entra administrator, grants the shared SQL access identity full access, and grants the Power BI application read-only access.
- Deployment automation
Scripts/ProvisionInfra.ps1accepts-BicepFileand-BicepParameterFile. It no longer selects a MongoDB topology or performs post-deployment web-storage role assignments.
1) Update deployment identity RBAC assignment conditions
Update the Role Based Access Control Administrator assignment conditions for [EnvPrefix] Brief Connect DevOps to include:
Storage Account ContributorStorage Blob Data OwnerStorage Table Data ContributorStorage Queue Data ContributorKey Vault Secrets UserKey Vault Secrets Officer
Related deployment guide section:
2) Update environment parameter generation and variable groups
Update the environment's Scripts/Environments/Generate[EnvName]Params.ps1 script and variable group to match Bicep/main-all.bicep:
- Generate one
Bicep/<environment>.bicepparamfile withusing './main-all.bicep'. UseBicep/tests/main-all.bicepparamto identify required parameters and replace its example values with the environment's values. - Supply the app registration IDs (
serverAppRegistrationClientId,clientAppRegistrationClientId,pbiApplicationClientId), resource names and region, separate API and Function App Service Plan names and SKUs, Redis SKU and high availability, Azure DocumentDB sizing, and Azure SQL database SKU. - Set
assetsDeploymentServicePrincipalIdto the package deployment service principal's object ID to grant it web-storage access. - Review Azure DocumentDB and Azure SQL public access and firewall settings for the environment. Do not copy the example parameter file's open development firewall values into production.
- Set
azureResourceGroupNamein the environment variable group and link that group to the release stage. MakeinfrastructureRootDirectoryavailable to the pipeline;ProvisionInfra.ps1reads both variables.
Related deployment guide sections:
- Azure Resource Deployment – 2.10.1 Create Variable group
- Azure Resource Deployment – 2.10.2.3 Update Infrastructure Parameters generation script
3) Confirm release pipeline task configuration
In Deploy Brief Connect Azure Resources, confirm that the target stage includes:
- A PowerShell task that runs
Scripts/Environments/Generate[EnvName]Params.ps1to generate the environment's.bicepparamfile. - An Azure CLI task that runs
Scripts/ProvisionInfra.ps1with-BicepFile Bicep/main-all.bicep -BicepParameterFile Bicep/<environment>.bicepparam. Use the same parameter file generated by the PowerShell task. - The environment's linked variable group and the correct Azure Resource Manager service connection.
Related deployment guide section:
4) Run the infrastructure deployment pipeline
Run the environment's parameter generator, then build the root and the generated parameter file and review the proposed resource-group changes before running the release. The commands below run from the infrastructure repository root; replace the example parameter path with the file generated for your environment.
az bicep build --file Bicep/main-all.bicep --stdout
az bicep build-params --file Bicep/<environment>.bicepparam
az deployment group what-if --resource-group <resource-group> --template-file Bicep/main-all.bicep --parameters Bicep/<environment>.bicepparam
- Save your pipeline and variable group updates.
- Create a new release for the target environment stage.
- Run the stage with the same parameter file you reviewed using
what-if, and wait for completion.
Related deployment guide section:
5) Validate post-deployment outcomes
- Confirm both app identities can access Azure DocumentDB and Azure Managed Redis. Check that the Function App can use its host storage and that the API and Function App can read their Key Vault references.
- Confirm the SQL access identity can access the Azure SQL replica, the Power BI application has read-only access, and replication and Application Insights telemetry are working.
- Confirm the static website loads, plugin bundle access works, and sign-in, dashboard, record access, search and Admin Health checks complete successfully.
- Confirm migration, record counter, SharePoint library, and provisioning retry health checks pass in Admin Health.
Related deployment guide sections:
- Azure Resource Deployment – 2.11 Initial Deployment
- Post-deployment steps – 9.3 Migration and health checks for v2.6+
6) Delete legacy Azure Cache for Redis resource
Delete the legacy Azure Cache for Redis resource from the environment resource group only after:
- Step 5 validation is complete.
- The deployment outcome is confirmed stable.
- You confirm rollback is not required.
If rollback might still be required, delay deletion for an agreed observation window.
Rollback steps
Use this rollback only if the infrastructure upgrade cannot be stabilized in the target environment.
- Re-run the previous known-good Azure infrastructure release for the same environment (the last successful pre-2.7.x infrastructure state).
- Restore the previous environment parameter files and pipeline variable group values used by that known-good release.
- Re-apply all previous application settings for both Function App and API Web App, including settings changed in this release (MongoDB, Redis, Azure Storage account, and managed identity flags).
- Restore any previous Key Vault secret values and references that were replaced as part of this release.
- Redeploy the previous application package version only if required by your rollback plan.
- Run post-deployment smoke testing to confirm sign-in, dashboard, record access, search/filter, and admin health checks are working.
Related deployment guide sections: