Installation

Autonomous Component settings: changing them after deployment

Modified on Fri, 27 Nov at 10:20 AM

Table of contents






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.


  1. Built-in defaults. They come inside the application. Do not edit them; every update replaces them.
  2. The parameter file. Each deployment copies its values into the App Service's settings.
  3. 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:


  1. Lasting: change the value in your parameter file and deploy again, as in Create the Azure resources.
  2. 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 changeIn the parameter fileIn the portal
Put in a new service token, before the old one expiresserviceTokenAppIdentityConfiguration__ServiceToken
How many days logs are keptrequestResponseLogConfig.RetentionDaysRequestResponseLogConfig__RetentionDays
Detailed logs on or offrequestResponseLogConfig.EnableHttpTrafficLogsRequestResponseLogConfig__EnableHttpTrafficLogs
How often the component checks for workbackgroundJobScheduleBackgroundJobSchedule__ 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-inbackgroundJobConfigurationBackgroundJobConfiguration__Username, BackgroundJobConfiguration__Password
Where the application log goesappInsightsConnectionStringAPPLICATIONINSIGHTS_CONNECTION_STRING and Serilog__WriteTo__1__Args__connectionString; change both
Server sizeappServicePlanParamsNot a setting. Change it in the parameter file and deploy again.
Size of the file sharestorageAccountParams.fileShare.shareQuotaNot 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 portalValue after a deploymentWhat it does
Serilog__MinimumLevel__DefaultInformationHow much the application log records. Warning records less, Debug records more.
HealthChecksUI__EvaluationTimeInSeconds180How often, in seconds, the health page at /health-ui checks the component's health again.
HealthChecksUI__MinimumSecondsBetweenFailureNotifications360The shortest time, in seconds, between two failure notices on the health page.
SettingsReporting__EnabledNot set, which means onfalse 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.


  1. PromineoEvaluatorLicense: the license for the formula engine used in mappings.
  2. AppSharePointConfiguration__CertificateFilePath and AppSharePointConfiguration__CertificateFileName: where the component finds its SharePoint certificate.
  3. Every setting whose name ends in RelativeUrl: the SchedEx addresses the component calls.
  4. IlapAnalyticsPaginationConfig and IlapAnalyticsFeatureConfiguration: 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:


  1. The service token, the database connection, the formula-engine license and the SharePoint client secret are left out completely.
  2. 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


  1. Setup bicep parameters for the Autonomous Component
  2. How to deploy the Autonomous Component
  3. Setting up Storage At Home
  4. 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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article