Establishing the Connection to Azure Event Grid
A Connection object contains the parameters that make the communication between the Agent and the target system possible. These parameters (target system endpoint, login data and so on) are required to authenticate on and connect to the target cloud solution.
As an administrator user, you create the Event Grid Connection objects that provide the log in data required to establish the connection to the Event Grid environment.
To configure an Automic Automation Event Grid Connection object you will need the authentication data (credentials, endpoints, tokens and so forth) that enable the login to the target cloud solution. You can get this data from the team in your organization that is responsible for maintaining the target cloud solution.
The Connection Object definition consists of an Agent-specific page and other pages that are common to all Connection objects.
This page includes the following:
Adding an Event Grid Connection Object
-
In the Automic Web Interface, go to the Process Assembly perspective. It opens to the Explorer view which contains the list of jobs that are available to you in your system.
-
You have two options:
-
Right-click anywhere on the list and select Add > Add Object.
-
Click the Add Object button on the toolbar.
-
-
On the Add Object dialog, start typing the name of the relevant integration in the Search field.
-
Select the corresponding Connection object and click Add. The Object Name dialog is displayed.
-
Enter a descriptive Name.
-
Optionally, enter a short and descriptive Title that helps you recognize the purpose of the object.
-
Click OK. A new page opens where you can start with the object definitions.
Event Grid Page
This page contains a Connection and a Proxy section.
Connection Section
In this section, you define the parameters relevant for the connection to the Event Grid environment.
-
Endpoint
URL that identifies the network address of the Event Grid topic to be used as the event source.
-
Authentication Type
The authentication types available are Service Principal, OAuth2 Token, and Token from File.
Depending on the authentication type that you select, define the following:
-
Service Principal
-
Azure AD URL
URL that identifies the network address of the Azure AD used to secure the application.
By default, the URL (https://login.microsoftonline.com) points to the Azure AD log in. If you do not want to use this URL, make sure you change the default definition.
-
Tenant ID
Identifier of the Azure AD tenant.
-
Client ID
Identifier of the application in the Azure portal.
-
Client Secret
Encrypted secret value used as the application password.
-
OAuth2
Version of the OAuth2 authentication method. The versions available are v1.0 and v2.0.
Depending on the version selected, you need to define either the Resource (v1.0) or the Scope (v2.0).
-
Resource / Scope
URL of the application within the Event Grid to grant access to.
The default URL definition points to the Event Grid log in:
-
Resource: https://eventgrid.azure.net/
-
Scope: https://eventgrid.azure.net/.default
If you do not want to use the default URL, make sure you change the definition.
-
-
-
OAuth2 Token
-
Token: The bearer token used to log into the Event Grid environment.
-
-
Token From File
-
Token File Path: Path to the file in which the token is stored.
-
-
Proxy Section
If the Azure Event Grid system is behind a proxy server, you define the parameters relevant for the connection to that system in this section.
-
Proxy Host Name
Host name or IP address of the proxy server to which you want to connect.
-
Proxy Port
Port used by the proxy server.
-
Proxy Username
User name used to authenticate the proxy server.
-
Proxy Password
Password of the user used to authenticate the proxy server.
Common Definition Pages
In addition to the Agent-specific connection parameters, you can also specify optional properties. You do so on the following definition pages:
Once the Connection object is configured, developers and object designers can select it when defining the Publish Event Jobs.
See also: