Gå til indhold

Agentsub

Dette indhold er ikke tilgængeligt i dit sprog endnu.

The Agentsub container handles subscriptions in WorkZone Client.

In a container-based deployment, the Agentsub container uses Microsoft Graph API to send email notifications. Therefore, Microsoft Graph API must be configured before the container can be used. Authentication is certificate-based and requires a valid certificate.

Before deploying AgentSub, Microsoft Graph API must be configured with the required mail permissions.

The customer must create an app registration (service principal) in Microsoft Entra ID with the Microsoft Graph Mail.Send permission and configure it for certificate-based authentication. The application must be authorized to send emails on behalf of the email address(es) selected by the customer.

The customer determines how emails are set up. For example:

  • An email address per authority.
  • An email address for production and one for test.
  • An email per environment.

Similarly, the customer decides whether to use one single service principal (SPN) or separate service principals for different environments or purposes.

The SPN(s) must use certificate-based authentication.

Certificate requirement

There are no specific requirements for the certificate itself, other than compliance with the customer’s security policies and requirements.

The certificate must be stored in Key Vault, and the environment file must reference it.

Configure the database:

AZURE_MAIL_CONNECTION (Certificate, Tenant_id, Client_id, Sender_email, "ORDER", Active) values ('CN=[certifikatnavn], [tenantID]', '[clientID', '[mailadresse der sendes fra]', 1, 'J');

Preparing container installation