Table of contents
- Introduction
- 1. Where the settings live
- 2. Change a setting
- 3. Settings the parameter file does not cover
- 4. Settings to leave alone
- 5. What SchedEx can see of your settings
- 6. Keep an eye on the file share
- Read More
Introduction
The Autonomous Component gets its settings from the parameter file when you deploy it. This page is for later, when the component is running: how to change a setting, the settings the parameter file does not cover, and what SchedEx can see of your settings.
What each value in the parameter file means, and which value to use, is in Setup bicep parameters for the Autonomous Component.
1. Where the settings live
The running component reads its settings from three places. When a setting is in more than one place, the later one in this list wins.
- Built-in defaults. They come inside the application. Do not edit them; every update replaces them.
- The parameter file. Each deployment copies its values into the App Service's settings.
- The App Service's settings, under Settings → Environment variables of the web app in the Azure portal. These are what the running component uses.
2. Change a setting
There are two ways:
- Lasting: change the value in your parameter file and deploy again, as in Create the Azure resources.
- Quick: in the Azure portal, open the web app, go to Settings → Environment variables, change the value and select Apply. The App Service restarts, and the component uses the new value when it is back up.
A quick change alone is lost at the next deployment. Every deployment replaces all of the App Service's settings with the values from the parameter file. Make the same change in the parameter file too.In the portal, a setting's name has two underscores between its parts. For example, requestResponseLogConfig.RetentionDays in the parameter file is RequestResponseLogConfig__RetentionDays in the portal. The settings people most often change later:
| What you want to change | In the parameter file | In the portal |
|---|---|---|
| Put in a new service token, before the old one expires | serviceToken | AppIdentityConfiguration__ServiceToken |
| How many days logs are kept | requestResponseLogConfig.RetentionDays | RequestResponseLogConfig__RetentionDays |
| Detailed logs on or off | requestResponseLogConfig.EnableHttpTrafficLogs | RequestResponseLogConfig__EnableHttpTrafficLogs |
| How often the component checks for work | backgroundJobSchedule | BackgroundJobSchedule__ followed by the schedule's name, for example BackgroundJobSchedule__ProcessPendingDataTransfersJobSchedule. Each value is a cron schedule, for example */5 * * * * for every 5 minutes. |
| The job dashboard's user name or password, used only when the dashboard does not use Microsoft Entra sign-in | backgroundJobConfiguration | BackgroundJobConfiguration__Username, BackgroundJobConfiguration__Password |
| Where the application log goes | appInsightsConnectionString | APPLICATIONINSIGHTS_CONNECTION_STRING and Serilog__WriteTo__1__Args__connectionString; change both |
| Server size | appServicePlanParams | Not a setting. Change it in the parameter file and deploy again. |
| Size of the file share | storageAccountParams.fileShare.shareQuota | Not a setting. Change it in the parameter file and deploy again. |
A new service token is created in SchedEx, as described in Register the component in SchedEx.
3. Settings the parameter file does not cover
These are set by the deployment or built into the component. You can change them in the portal only, so repeat the change after each deployment.
| In the portal | Value after a deployment | What it does |
|---|---|---|
Serilog__MinimumLevel__Default | Information | How much the application log records. Warning records less, Debug records more. |
HealthChecksUI__EvaluationTimeInSeconds | 180 | How often, in seconds, the health page at /health-ui checks the component's health again. |
HealthChecksUI__MinimumSecondsBetweenFailureNotifications | 360 | The shortest time, in seconds, between two failure notices on the health page. |
SettingsReporting__Enabled | Not set, which means on | false stops the component sending its settings to SchedEx (see section 5). Each deployment removes it, so add it again afterwards. |
4. Settings to leave alone
The application or the deployment sets these. Changing them breaks the component.
PromineoEvaluatorLicense: the license for the formula engine used in mappings.AppSharePointConfiguration__CertificateFilePathandAppSharePointConfiguration__CertificateFileName: where the component finds its SharePoint certificate.- Every setting whose name ends in
RelativeUrl: the SchedEx addresses the component calls. IlapAnalyticsPaginationConfigandIlapAnalyticsFeatureConfiguration: how the component talks to older versions of ILAP Analytics.
5. What SchedEx can see of your settings
Each time it starts, the component sends SchedEx a list of the settings it is using. A Tenant Admin can see the list in SchedEx: Tenant Admin → Clients → Autonomous Component, then View Overview in the component's row menu, on the Settings tab. It helps support find a wrong setting without asking you for screenshots.
The list never contains a secret:
- The service token, the database connection, the formula-engine license and the SharePoint client secret are left out completely.
- Any other setting whose name contains a word such as password, secret, token, certificate, credential or license, or a kind of key such as an API key or access key, is listed by name only: its value shows as
[Redacted], with a lock icon.
To stop the component sending the list, set SettingsReporting__Enabled to false, as in section 3. If the list cannot be sent, the component starts and runs normally.
6. Keep an eye on the file share
The daily clean-up deletes only old logs. Storage at Home copies in their own folder are never deleted automatically, so the file share fills up over time. Check its usage in the Azure portal from time to time, and raise its size before it is full. When the share is full, the component can no longer write logs or copies.
Read More
- Setup bicep parameters for the Autonomous Component
- How to deploy the Autonomous Component
- Setting up Storage At Home
- Autonomous Component Installation Overview
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article