Add a custom domain for eDig365
Overview
By default, your eDig365 installation uses a long, system-generated domain, for example: https://edig365.blacksmoke-be35844d.westus2.azurecontainerapps.io/. Although eDig365 appears for authorized users in the M365 app hub, you can assign a friendly URL that represents your organization, such as: https://edig365.fivestarlegal.com
For background, see Domains and Certificates in Azure Container Apps.
Prerequisites
To set up a custom domain for eDig365, you must have:
- Azure permissions: Subscription Owner, Application Administrator, or equivalent roles. (The person who installed eDig365 typically has these permissions.)
- DNS permissions: Access to modify DNS records with your domain provider, specifically the ability to add a CNAME record.
1. Configure eDig365 with a custom domain
There are several ways to configure a custom domain. Your organization’s policies may dictate which method is appropriate.
The recommended option is to use free managed certificates, as they require the least maintenance.
Follow one of these guides to configure your Azure Container App’s custom domain:
- Custom domain names and free managed certificates in Azure Container Apps
- Custom domain names with bring-your-own certificates in Azure Container Apps
- Custom environment DNS suffix in Azure Container Apps
2. Update the eDig365 App Registration
The eDig365 app registration, created during installation, controls who can access the application. It requires updating the redirect URIs used by OAuth.
- Navigate to the eDig365 container app in the Azure portal.
- In the left navigation, select Security → Authentication, then click the Identity provider link.

- In the App Registration left nav, click Manage → Authentication, then click the Add URI link.
- Add your custom domain followed by
/.auth/login/aad/callback. Example:https://edig365.fivestarlegal.com/.auth/login/aad/callback - Click the Save button

- Test your custom domain to confirm successful configuration.
