Installation

Setup bicep parameters for the Autonomous Component

Modified on Fri, 27 Nov at 10:20 AM

Table of contents






Introduction

We create Azure resources for the Autonomous Component by deploying `Bicep` templates. This documentation describes the settings required for that deployment.



Before you start

  1. Unzip Azure.IaC.zip. It comes in the artifact you download from SchedEx, as described in Download artifacts.
  2. Copy main.sample.bicepparam to a new file in the same folder, for example contoso.prod.bicepparam. Keep its first line, using './main.bicep': it links the file to the template.
  3. Keep every setting in the file, even the ones for features you do not use. The template reads them all.
  4. Please keep the file in a secure location, as it may contain secrets.
  5. Have the items from the checklist in the Installation Overview ready. In particular, the component must be registered in SchedEx with a service token, and the Azure CLI must be signed in with az login.


Note: All examples on this page are made up, except the SchedEx addresses. Replace them with your own values.



1. Names and region

These decide where the resources are created and what they are called.



location

What to do: fill in your own value.

What it is: the Azure region where all resources are created.

How to get the value:

  1. Pick a region from Microsoft's list of Azure regions: the one your company policy requires, or the one closest to your host systems.
  2. Check on Azure products by region that it offers both App Service and Azure SQL Database.
  3. Use its name from the Region column. With the Azure CLI, az account list-locations -o table lists the same names in the DisplayName column.

What to use: the region's name in quotes, for example 'Norway East', 'Sweden Central', 'North Europe', 'West Europe', 'UK South' or 'East US'.


locationShort

What to do: fill in your own value.

What it is: a short code for the region that you make up yourself. It is not an Azure keyword, and Azure does not check it against any list. It only becomes part of resource names: the web app, its App Service plan, the database server and the database.

How to get the value: use the region code from your company's naming rules, if it has them. If not, make one up. The codes in the table below are made-up examples; any short code works. Microsoft's guide Define your naming convention shows how a region code fits into resource names.


RegionExample code (made up)
Norway East'noe'
Norway West'now'
Sweden Central'sec'
North Europe'neu'
West Europe'weu'
Germany West Central'gwc'
UK South'uks'
East US'eus'


What to use: a few lowercase letters or numbers, in quotes. Capital letters are not allowed, because the code goes into the database server name.


env

What to do: fill in your own value.

What it is: a short code for the environment this installation is for.

How to get the value: use the name your organization already uses for this environment, such as 'prod' for the installation in daily use.

What to use: lowercase letters, for example 'prod' or 'test'.

What the values mean: the code goes into resource names, tags and log labels.


company

What to do: fill in your own value.

What it is: a short name for your organization, used in resource names.

How to get the value: your organization's name, or the short form of it that your naming rules use.

What to use: lowercase letters and numbers only, for example 'contoso'. With the sample's naming, company and env together can have at most 13 characters; longer names make the deployment fail.


deploymentPrefix

What to do: nothing; the sample builds it from company and env.

What it is: the start of the web app's name. The web app is named <deploymentPrefix>-autonomousComponent-<locationShort>-app, and its address is that name followed by .azurewebsites.net.

What to use: change it only if you want a different name. Use letters, numbers and hyphens. The whole web app name can have at most 46 characters, because the template adds text to it in another name that Azure limits to 64 characters (Azure naming rules).


storageName

What to do: nothing; the sample builds it from company and env, as long as the two together have at most 13 characters.

What it is: the name of the storage account that holds the logs.

What to use: if company and env together are longer, write your own name here: 3 to 24 lowercase letters and numbers, no hyphens (Azure naming rules).


Check that the names are free

Three names must be unused by anyone else in Azure. Check them in PowerShell:

  1. The storage account, storageName. Check it: az storage account check-name --name <storageName> --query nameAvailable must print true.
  2. The web app, <deploymentPrefix>-autonomousComponent-<locationShort>-app. Check it: nslookup <web app name>.azurewebsites.net must answer that it can't find the name ("Non-existent domain").
  3. The database server, <company>-<env>-autonms-<locationShort>-sqlsrv. Check it: nslookup <database server name>.database.windows.net must answer that it can't find the name ("Non-existent domain").

If the web app name is taken, change deploymentPrefix. If the database server name is taken, change company or env. The rules for each kind of name are in Microsoft's naming rules for Azure resources.



2. Connection to SchedEx

These let the component find SchedEx and sign in to it. A SchedEx Tenant Admin gets the values. Tenant Admin is a role in SchedEx, held by the people who manage your organization there; it has nothing to do with your Microsoft Entra tenant ID.



appGatewayUrl

What to do: change it to 'https://schedex.com'. The sample has the address of the SchedEx test environment, which you use only if Promineo has set you up there.

What it is: the address of SchedEx. The component builds every SchedEx address it calls from it.

How to get the value: it is the address where you open SchedEx in your browser.

What to use:


The SchedEx you useappGatewayUrl
SchedEx'https://schedex.com'
The SchedEx test environment, only if Promineo has set you up there'https://test.schedex.com'


instanceInformation

What to do: fill in your own value.

What it is: has one value, Identifier: the ID SchedEx gave your component when it was registered. SchedEx uses it to know which component is calling.

How to get the value: in SchedEx, open Tenant Admin → Clients → Autonomous Component. In your component's row, select the copy button next to the Identifier. If there is no row yet, register the component first, as described in Register the component in SchedEx.

What to use: Identifier: '<the Identifier you copied>'.


serviceToken

What to do: fill in your own value.

What it is: the key the component uses to sign in to SchedEx, like a password.

How to get the value: a Tenant Admin creates it for your component in SchedEx, as described in Register the component in SchedEx. SchedEx shows it only once. If you no longer have it, create a new one.

What to use: the token exactly as copied. Treat it like a password.



3. Database

The component keeps its job queue in its own Azure SQL database. These settings say who administers the database and how big it is.



tenantId

What to do: fill in your own value.

What it is: your organization's ID in Microsoft Entra ID. Azure uses it to find the database administrator there.

How to get the value: in the Microsoft Entra admin center, open Entra ID → Overview → Properties and copy the Tenant ID, as in Microsoft's How to find your tenant ID. Or run az account show --query tenantId -o tsv.

What to use: the ID, for example '00000000-0000-0000-0000-000000000000'.


adminPrincipalType

What to do: fill in your own value.

What it is: the kind of identity the database administrator is.

What to use: 'Group' is best: an Entra group of the people who look after databases, so access does not depend on one person. If there is no such group yet, ask your Entra administrator to create one. Microsoft explains the database administrator in Microsoft Entra authentication for Azure SQL.

What the values mean: 'User' is one person, 'Group' is an Entra group, and 'Application' is an app that signs in without a person, for automated tools.


adminLogin

What to do: fill in your own value.

What it is: the name of the database administrator.

How to get the value:

  1. User: the User principal name, in the Entra admin center under Users → All users → the user → Overview.
  2. Group: the group's display name, under Groups → All groups.
  3. Application: its Application (client) ID.

What to use: that value in quotes, for example 'SchedEx database admins' for a group.


adminSid

What to do: fill in your own value.

What it is: the ID of the same administrator.

How to get the value:

  1. User: the Object ID on the user's Overview page. With the Azure CLI: az ad user show --id <user principal name> --query id -o tsv.
  2. Group: the group → Properties → Object ID, as in Microsoft's How to manage groups. With the Azure CLI: az ad group show --group "<group name>" --query id -o tsv.
  3. Application: the Object ID on its Enterprise applications page, not the one on the app registration. With the Azure CLI: az ad sp show --id <application client ID> --query id -o tsv.

What to use: the Object ID in quotes, for example '00000000-0000-0000-0000-000000000000'.


azureADOnlyAuthentication

What to do: nothing; the sample's value is fine.

What it is: whether the database accepts only Microsoft Entra sign-in.

What the values mean: true allows only Entra sign-in, so there is no database password to manage. false would also allow database user names and passwords, which the component does not use.


dbSku

What to do: nothing; the sample's value is fine.

What it is: the size and price level of the database.

What to use: the sample's Standard database with 50 DTUs (Azure's measure of database power) and room for 250 GB suits most installations, because the database holds only the job queue. It costs about US$2.66 a day, or about $81 a month. That is the pay-as-you-go price in Norway East on 27 November 2026; for your region and currency, see Azure SQL Database pricing.

What the values mean:

  1. name and tier: the database family, for example 'Standard'.
  2. capacity: its power, in DTUs. With Standard, 20 is the S1 size and 50 is S2, the sample's. All sizes are in Microsoft's DTU resource limits.
  3. family and minCapacity: only for vCore databases. Leave them as they are.
  4. maxSizeBytes: the size limit, in bytes. 268435456000 is 250 GB, the most a Standard database with 50 DTUs can hold. The price includes it, so a lower limit saves nothing.
  5. backupStorageRedundancy: where backups are copied. 'Local' keeps them in one data center, 'Zone' spreads them over the region, and 'Geo' also copies them to a second region.


dbZoneRedundant

What to do: nothing; the sample's value is fine.

What it is: whether the database is kept in several data centers of the region at once.

What the values mean: false keeps the database in one data center. true keeps it in several at once, so it survives the loss of one. Azure offers that only on the more expensive Premium and vCore database types (zone redundancy in Azure SQL): the smallest Premium database costs about US$16.50 a day, against $2.66 for the sample's. With the sample's Standard database, true makes the deployment fail.



4. Server size (App Service plan)

These set the size of the server that runs the component.



appServicePlanParams

What to do: nothing, unless your transfers are larger than the sample's size allows; see the table.

What it is: the size of the server (the App Service plan), and whether Azure adds servers when it is busy.

What to use: the sample's P2v3 fits when all transfers running at the same time have fewer than 70,000 activities (the tasks in a schedule) in total. For more, pick the row that fits and copy its name and tier values into sku. Keep capacity: 1 and autoscaleEnabled: false as in the sample.


PlanConfigurationWhen to use itValues in skuCost per hour (one server)Cost per month (one server)
Premium v3 P0v31 vCPU, 4 GB memoryFewer than 10,000 activities in all transfers running at the same time.name: 'P0v3', tier: 'Premium0V3'$0.099$71.91
Premium v3 P1v32 vCPUs, 8 GB memoryFewer than 30,000 activities in all transfers running at the same time.name: 'P1v3', tier: 'PremiumV3'$0.197$143.81
Premium v3 P2v34 vCPUs, 16 GB memoryFewer than 70,000 activities in all transfers running at the same time. The sample's size.name: 'P2v3', tier: 'PremiumV3'$0.394$287.62
Premium v3 P3v38 vCPUs, 32 GB memoryUp to 200,000 activities in all transfers running at the same time.name: 'P3v3', tier: 'PremiumV3'$0.788$575.24
Premium v3 P1mv32 vCPUs, 16 GB memoryLike P2v3, for less money, with half the processors.name: 'P1mv3', tier: 'PremiumMV3'$0.236$172.57
Premium v3 P2mv34 vCPUs, 32 GB memoryLike P3v3, for less money, with half the processors.name: 'P2mv3', tier: 'PremiumMV3'$0.473$345.14
Premium v3 P3mv38 vCPUs, 64 GB memoryUp to 400,000 activities in all transfers running at the same time.name: 'P3mv3', tier: 'PremiumMV3'$0.946$690.29
Premium v3 P4mv316 vCPUs, 128 GB memoryMany large transfers at the same time.name: 'P4mv3', tier: 'PremiumMV3'$1.891$1,380.58
Premium v3 P5mv332 vCPUs, 256 GB memoryVery many large transfers at the same time.name: 'P5mv3', tier: 'PremiumMV3'$3.782$2,761.15


  1. Transfers run one at a time unless Maximum parallel transfers for the component in SchedEx is above 1. If it is, add up the activities of the largest transfers that could run at the same time.
  2. Every size includes 250 GB of storage, up to 30 servers and a 99.95 % uptime guarantee.
  3. The sizes with an "m" in the name have extra memory. A new subscription may first need a quota increase for them.
  4. The prices are for Norway East, Linux, pay-as-you-go, in US dollars, on 26 November 2026. For your region and currency, see App Service on Linux pricing.
  5. Activities are not the only thing that uses memory. Links, resource assignments, the kind of host system and the amount of data count too. Treat the table as a starting point, and after the first large transfers check the memory use in the Azure portal: the App Service plan → Metrics → Memory Percentage.

Good to know: Premium v3 is not offered in every region (Configure the Premium V3 tier). You can change the size later (Scale up an app): change it in this file and deploy again, because a change made only in the Azure portal is undone by the next deployment.

What the values mean: sku.capacity is the number of servers. With autoscaleEnabled: true, Azure adds servers, up to the number in capacity.maximum, when the processor is busier than 60 %, and removes them when it drops below 20 %.


httpsOnly

What to do: nothing; the sample's value is fine.

What it is: whether the component's web pages accept only encrypted connections.

What the values mean: false would also accept unencrypted connections.



5. Logs and file storage

The component writes its logs to a file share in its storage account. Storage at Home copies go there too, if your organization keeps them as local files instead of in SharePoint.



storageAccountParams

What to do: nothing; the sample's value is fine.

What it is: the storage account and its file share.

What to use: raise fileShare.shareQuota if you keep logs for longer, or keep Storage at Home copies on the share.

What the values mean:

  1. name: keep storageName.
  2. kind and sku: the type of storage account. 'Standard_LRS' keeps three copies in one data center; 'Standard_ZRS' spreads them over the region.
  3. fileShare.name: the name of the share.
  4. fileShare.shareQuota: the size limit of the share, in GB, from 1 to 5120.
  5. fileShare.mountPath: where the component finds the share. Keep '/mnt/logs'.


requestResponseLogConfig

What to do: nothing; the sample's value is fine.

What it is: the detailed logs of every call the component makes to SchedEx and your host systems. Support needs them to find why a transfer failed.

What to use: the sample keeps logs for 7 days. Change RetentionDays only if your policy needs a different number of days.

What the values mean:

  1. EnableHttpTrafficLogs: true writes the logs, false writes none.
  2. LogDirectory: the folder on the file share.
  3. RetentionDays: a daily clean-up deletes files in the log folder that are older than this many days. When it runs is set in backgroundJobSchedule.

The logs contain the data being transferred. Give access to the storage account only to the people who support the component.


localStorageConfiguration

What to do: only if your organization keeps Storage at Home copies as local files: change the folder name, for example to 'storageathome'. Otherwise leave the sample as it is.

What it is: the folder on the file share for Storage at Home copies, when your organization keeps them as local files. See Setting up Storage At Home.

What the values mean: FileSystemRootFolderPath is the name of a folder on the file share. The sample uses 'autonomousclient', the same folder as LogDirectory. Use a different name: if the two match, the daily log clean-up deletes your Storage at Home copies.



6. Who can reach the component

Only the IP addresses on one list, the allow-list, can reach the component, its database, and the address you upload the application to. In the file, the list is called ipWhiteList.



ipWhiteList

What to do: add your own entries.

What it is: the list of public IP addresses allowed in. The sample's one entry, AllowAllWindowsAzureIps, lets Azure services reach the database only. It lets no one reach the component's web pages or the address you upload the application to, not even Azure Cloud Shell or a pipeline that runs in Azure. If your address is missing, you cannot give the component access to its database, and deploying the application fails with error 403.

How to get the value: add the public address of:

  1. The computer you deploy from.
  2. The administrators who open the job dashboard, for example your office or VPN address.
  3. The database administrator.

To find an address, search the web for "what is my IP address" on that computer. For office and VPN addresses, ask your network team.

What to use:

  1. Find var ipWhiteList = [ near the end of the file.
  2. Below the AllowAllWindowsAzureIps entry is an example entry, switched off with // at the start of each line. Remove the // and fill it in.
  3. Add one entry like it for each further address:


{
  name: 'Allow-Office'
  ipAddress: '203.0.113.10'
  priority: 300
}


  1. One address per entry. Ranges are not accepted: each entry allows exactly one address. If your network team gives you a range, add one entry for each address you need.
  2. Give each entry a short name with no spaces, different from the others.
  3. Give each entry its own priority number. The sample's entry uses 310, so give yours 300, 301, 302 and so on.
  4. Keep the AllowAllWindowsAzureIps entry. It lets the component reach its own database.


sqlServerWhitelistedIps, appAccessRestrictions, scmAppAccessRestrictions

What to do: nothing; the file builds them from ipWhiteList.

What it is: the three firewalls, for the database, the web pages and the deployment endpoint.



7. Job dashboard sign-in (choose one)

The component has a job dashboard where you can see and rerun its jobs. In the file, the job dashboard is called Hangfire. Choose one way to protect it; the choice is explained in Choose how to protect the job dashboard.



enableHangfireAzureAdAuth

What to do: fill in your own value: 'true' or 'false'.

What it is: which sign-in protects the job dashboard.

How to get the value: the choice you made in Choose how to protect the job dashboard.

What to use: 'true' or 'false', with the quotes.

What the values mean: 'true' is Microsoft Entra sign-in (recommended); fill in hangfireAzureAdAuthOptions. 'false' is a user name and password; fill in backgroundJobConfiguration.


hangfireAzureAdAuthOptions

What to do: only if you chose 'true' above; otherwise leave the sample as it is.

What it is: the Entra app registration used for the dashboard sign-in.

How to get the value: create the app registration first, as described in Choose how to protect the job dashboard. Then:

  1. TenantId: your tenant ID.
  2. ClientId: the dashboard's app registration → Overview → Application (client) ID (register an app).
  3. AllowedRoles: the app registration → App roles → the Value column (app roles).

What to use: keep Instance and CallbackPath as in the sample.

What the values mean: AllowedRoles: [] lets in everyone in your tenant. AllowedRoles: ['DashboardAdmin'] lets in only the people given that app role.


backgroundJobConfiguration

What to do: only if you chose 'false' above; otherwise leave the sample as it is.

What it is: the dashboard user name and password.

What to use: the user name and strong password you chose in Choose how to protect the job dashboard. Never leave either one empty: the component then falls back to a built-in sign-in that is the same for every installation, so anyone who knows it could open your dashboard.



8. SharePoint (only if you use it)

For transfers that save files to SharePoint, or read files from it.



appSharePointConfiguration

What to do: only if you use SharePoint; otherwise leave the sample as it is.

What it is: the Entra app registration and certificate the component uses to sign in to SharePoint. Your IT department creates them as described in What IT must set up.

How to get the value:

  1. ClientId: Entra admin center → App registrations → your app → Overview → Application (client) ID (register an app).
  2. TenantId: the same page → Directory (tenant) ID. Usually the same value as your tenant ID.
  3. CertificatePassword: the password you chose when you exported AutonomousCert.pfx.



9. Application Insights (optional)

Only if you want the component's application log in Azure monitoring. Pick the row that matches what you want; the settings below explain each value.



What you wantappInsightsConnectionStringisAppInsightLogEnabledSchedEx's two connection strings
The log in your own Application InsightsYour connection stringtrue''
The log in SchedEx's Application Insights''trueThe values Promineo gave you
No Application Insights''false''



appInsightsConnectionString

What to do: only if you use Application Insights; otherwise leave it empty, as in the sample.

What it is: your own Application Insights resource, where the application log is sent.

How to get the value: Azure portal → your Application Insights resource → Overview → Connection String, as in Microsoft's Connection strings in Application Insights.

What to use: the connection string, or '' if you have none.


isAppInsightLogEnabled

What to do: fill in your own value, as in the table at the start of this section.

What it is: whether the application log is sent to Application Insights at all.

What the values mean: true sends the log to Application Insights. false sends it nowhere.


ilapTestAppInsightsConnectionString, ilapProdAppInsightsConnectionString

What to do: only if Promineo gives you values; otherwise leave them empty, as in the sample.

What it is: SchedEx's own Application Insights.

How to get the value: Promineo gives them to you over a secure channel, if you agree on it.

What to use: '', unless Promineo has given you values.

What the values mean: if env is exactly 'prod', the component uses the production one. With any other value, even 'production', it uses the test one.



10. Primavera P6 message-level encryption (only if you use it)

Only if your P6 connection uses message-level encryption: P6 web services can encrypt each message with a certificate, and that certificate is kept in an Azure Key Vault. Your P6 administrator knows whether it is switched on.



p6MessageSecurityConfig

What to do: only if you use P6 message-level encryption; otherwise leave the sample as it is.

What it is: where the P6 certificate is kept, so the component can be given access to it.

How to get the value: in the Azure portal, open Key vaults and the vault that holds the P6 certificate.

  1. keyvaultName: the vault's name, at the top of its Overview page.
  2. keyVaultRgName: Resource group on the same page.
  3. The permission model: either Vault access policy or Azure role-based access control (the two models). To be sure which one the vault uses, run az keyvault show --name <vault name> --query properties.enableRbacAuthorization -o tsv: true means Azure role-based access control; false or nothing means vault access policy.

The Key Vault must be in the same Azure subscription as the component.

What to use:


Permission modelisMessageSecurityEnabledisKeyVaultPermissionModelRbacAfter the deployment
Vault access policytruefalseNothing more.
Azure role-based access controlfalseKeep trueGive access by hand (see below).


If the vault uses Azure role-based access control, give the component access to it yourself after the deployment, as in step 3 of Give the component access to its database. The template cannot do this for that kind of vault.

What the values mean: isMessageSecurityEnabled: true makes the template give the component access to the vault. false skips that.



11. Schedules and retries

These set how often the component checks for work, and how it retries when something fails.



backgroundJobSchedule

What to do: nothing; keep the sample's value unless Promineo support asks you to change it.

What it is: how often the component checks SchedEx for work, and when it cleans up old logs.

What the values mean: each value is a schedule in cron format, in UTC: five parts for minute, hour, day of month, month and day of week.

  1. ProcessPendingDataTransfersJobSchedule, every 5 minutes: transfers that are due, and requests for support logs.
  2. PersistConnectorJobSchedule, every 2 minutes: connector refreshes requested in SchedEx. Keep it at 2 minutes or less: SchedEx tells users a refresh happens within 3 minutes.
  3. ProcessPendingDataTransferTestEventJobSchedule, every 5 minutes: test transfers.
  4. CleanUpOldLogsJobSchedule, every day at 05:00: the log clean-up, which deletes logs older than RetentionDays.


httpClientRetryConfig

What to do: nothing; keep the sample's value unless Promineo support asks you to change it.

What it is: whether the component tries again when something fails.

What the values mean:

  1. RetryFailedHttpCalls: tries a failed call again before giving up.
  2. RetryPlatformAvailabilityFailures: when SchedEx cannot be reached during a transfer, tries the whole transfer again later instead of failing it at once.


httpClientRetryPolicySettings

What to do: nothing; keep the sample's value unless Promineo support asks you to change it.

What it is: the wait between tries of a failed call.

What the values mean: Interval is the number of seconds; 5 in the sample.


platformAvailabilityRetry

What to do: nothing; keep the sample's value unless Promineo support asks you to change it.

What it is: how the component tries a transfer again when SchedEx cannot be reached.

What the values mean:

  1. MaxAttempts, 1 to 3: how many more tries.
  2. DelaySeconds, 1 to 3600: seconds to wait before each try.
  3. MaxFinalFailureReportAttempts, at least 1: if every try fails, how many times the component tries to tell SchedEx that the transfer failed.
  4. CompletedRecordRetentionDays, at least 1: days the component keeps its own record of a finished retry.

A value outside these limits stops the component when it starts.



12. Check the file

  1. Read through the file once more. In the groups you use, every placeholder from the sample, such as 'your tenant id' or 'login of database admin', must be replaced by a real value. Searching for your, database admin, you would like and name_of_ finds most of them.
  2. Make sure the file is in the same folder as main.bicep.
  3. Continue with Create the Azure resources in How to deploy the Autonomous Component. Its preview command reports any value the template cannot accept.



Read More

  1. How to deploy the Autonomous Component
  2. Autonomous Component settings
  3. Autonomous Component Installation Overview
  4. Setting up Storage At Home
  5. Configure SharePoint access


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