How to Integrate the eG Manager with Copilot (Azure OpenAI)?

To configure Copilot as the AI Assistant for the eG manager, you need to integrate the eG manager with Azure OpenAI. Azure OpenAI is a cloud service from Microsoft that gives businesses access to OpenAI's powerful artificial intelligence models like GPT-4, GPT-3.5, DALL-E, Whisper, and text embeddings.

For the eG manager to collaborate with Copilot via Azure OpenAI, you need to follow the broad steps outlined below:

  1. First, create a dedicated resource for this integration in the Azure AI foundry. An Azure OpenAI resource is essentially a dedicated environment in Microsoft Azure where you can deploy and manage OpenAI models.

  2. Next, inside the dedicated resource you created at step 1 above, deploy the AI model that the eG manager should integrate with, so Copilot can serve as its AI assistant. As mentioned already, Azure OpenAI allows access to AI models such as GPT-4, GPT-3.5, DALL-E, Whisper, and text embeddings. The eG manager can leverage the intelligence built-into any of these ready-to-use models to provide users with on-demand problem analytics and assistance.

  3. Once the model is successfully deployed, obtain the Deployment Name of that model.

  4. Then, obtain the Endpoint URL using which the eG manager should communicate with the custom model deployment;

  5. Further, generate and make a note of the Authentication key that will allow the eG manager full access to the resource created at step 1. .

  6. Finally, configure the eG manager with the Deployment Name, Endpoint URL, and Authentication key obtained as above, to implement the integration.

All the above steps are elaborated on in the detailed procedure below:

  1. First, login to the Microsoft Azure portal. Figure 1 will then appear.

    Azure Portal Home Page

    Figure 1 : Azure portal home page

  2. Use the Search bar in Figure 1 to search for Microsoft Foundry, as indicated by Figure 2 below.

    Searching for Microsoft Foundry

    Figure 2 : Using the Search option to search for Microsoft Foundry

  3. Once Microsoft Foundry appears in the search results (as shown by Figure 2), select it to open the Foundry. Figure 3 will then appear.

    Microsoft Foundry Home Page

    Figure 3 : The Microsoft Foundry Home Page

  4. Microsoft Foundry (formerly Azure AI Studio) is Microsoft's unified enterprise platform for building, grounding, evaluating, and governing AI applications and autonomous agents at scale. To integrate the eG manager with Azure OpenAI, you need to first create a dedicated resource for this purpose in Microsoft Foundry. For that, first expand the Use Foundry node in the tree-structure in the left panel of Figure 3, and click on the Foundry sub-node within. The right panel will change to display all the resources that pre-exist in the Foundry (see Figure 4).

    Resources that Pre-exist in Foundry

    Figure 4 : List of Foundry resources that pre-exist

  5. To create a new resource, click on Create in the right panel, as shown by Figure 4. This will open Figure 5.

    Creating a Resource

    Figure 5 : Creating a Resource in Microsoft Foundry

  6. Here, select the Subscription and Resource Group to which the new resource should be associated. Then, provide a unique Name for the new resource and assign the resource to a Region. Once done, click the Next button in Figure 5 to continue. The Storage tab page of Figure 6 will then appear.

    Creating a Resource - Storage Tab Page

    Figure 6 : Configuring the Storage settings for the new resource

  7. For the purpose of our integration, we can proceed with the default Storage configuration. So, click the Next button in Figure 6 to move on. This will open Figure 7.

    Creating a Resource - Inbound Networking Tab Page

    Figure 7 : Configuring Inbound traffic access to the resource

  8. In the Inbound Networking tab page of Figure 7, indicate the type of network that should be allowed inbound access to the resource. For the purpose of our integration, select the All networks, including the internet, can access this resource option as depicted by Figure 7. Then, click the Next button to proceed. Figure 8 will then appear, where you have to configure the Outbound Networking settings for the new resource.

    Creating a Resource - Outbound Networking Tab Page

    Figure 8 : Configuring Outbound Networking settings for the resource

  9. Using the Outbound Networking tab page of Figure 8, you can control how your AI compute resource and AI agents securely reach external dependencies, data sources, and the internet. Here, by default, the Network isolation mode for Agent is set to No Outbound Networking. This blocks all outbound external and internet traffic completely. If you want, you can choose the Custom VNet option (see Figure 9). This means that Microsoft Foundry will inject the Agent client into a virtual network subnet that you own, manage, and delegate. This is why, if the Custom VNet option is chosen, you have to select the Virtual network name and Virtual network subnet where the Agent client should be injected. If this is done, then:

    • Foundry will place the agent compute resources directly inside your designated subnet rather than using a completely Microsoft-managed hidden network;

    • You will be able to control the IP address ranges, routing tables, peering connections, and network security policies (NSGs) for the subnet;

    • Outbound calls from your agents to Azure Platform-as-a-Service (PaaS) resources (like Storage, Key Vault, or AI Search) route securely over private endpoints and Private Link within your defined boundaries.

    • You will be able to tie Microsoft Foundry into your existing hub-and-spoke network architectures and enforce strict corporate or regulatory governance rules

    Choosing Custom VNet as the Network Isolation Mode for Agent

    Figure 9 : Choosing Custom VNet as the Network Isolation Mode for AI Agent

  10. After configuring the outbound network settings that suit you, click Next in Figure 9 to switch to the next tab page. Figure 10 will then appear. The Identity tab page of Figure 10 lets you configure how your Foundry resource authenticates and interacts securely with other Azure services.

    Creating a Resource - Identity Tab Page

    Figure 10 : Choosing an Identity type

  11. By default, the Identity type is set to System assigned. This enables an automatic Microsoft Entra identity that is tied directly to the lifecycle of your Foundry resource. If you choose the User assigned option instead, you can attach reusable, independently managed identities that you have created and granted to multiple Azure resources. Let us proceed with the default Identity type. So, click the Next button in Figure 10.

  12. Figure 11 will then appear. Here, indicate how you want the resource data to be encrypted. By default, Microsoft-managed keys are used for data encryption. This level of encryption is adequate for the purpose of our integration. So, click the Next button to move on.

    Creating a Resource - Encryption Tab Page

    Figure 11 : Configuring how resource data is to be encrypted

  13. Figure 12 appears. As the resource is being created only for the purpose of the integration, you need not categorize it using Tags - i.e., name/value pairs. Hence, simply click Next in Figure 12 to move to the next tab.

    Creating a Resource - Tags Tab Page

    Figure 12 : Configuring Tags for the resource

  14. Figure 13 then appears.

    Reviewing Resource Specifications

    Figure 13 : Reviewing the resource specifications

  15. Using Figure 13, you can quickly review the resource settings. Once you find the specifications to be correct, click the Create button in Figure 13 to create the resource.

  16. Upon successful resource creation, Figure 14 will appear. Click on the Go to resource button in Figure 14.

    Clicking on Go to resource

    Figure 14 : Clicking on the Go to resource button

  17. This will invoke Figure 15, which will display an Overview of the resource you created. Click on the Go to Foundry portal option shown by Figure 15.

    Overview of Resource

    Figure 15 : Overview of the resource

  18. Figure 16 will then appear. Click on Explore models indicated by Figure 16 to view the AI models available to your resource.

    Clicking on Explore Models

    Figure 16 : Clicking on the Explore models option

  19. Figure 17 will then appear listing the AI models. Click on the model that you want to deploy in your resource.

    List of AI Models Available to Resource

    Figure 17 : List of models available to the resource project

  20. For instance, if you click on the gpt-5.5 model, Figure 18 will appear. Before deploying the chosen model, you can either override the default settings, or define custom settings for the model. Clicking on the 'arrow' icon inside the Deploy button highlighted in Figure 18 will allow you to choose either. Default settings, when applied, automatically assign the latest stable model version, standard pricing tier, and baseline token rate limits without requiring manual tuning.

    Choosing Between Default and Custom Settings

    Figure 18 : Details of a sample AI model

  21. If you choose Custom Settings instead, you can (see Figure 19):

    • Define a unique, application-specific identifier used in your API calls rather than the generic model name;

    • Choose the Deployment type that best suits you, depending on your throughput and latency needs;

    • Select a precise release version or configure upgrade behaviors;

    • Manually scale your Tokens-Per-Minute (TPM) allocation to manage performance peaks and cost constraints;

    • Fine-tune or review built-in responsible AI filters to match organizational compliance policies

    Custom Settings for AI Model

    Figure 19 : Defining custom settings for the model

  22. Once the settings are defined, click the Deploy button in Figure 19 to deploy the model. Upon successful deployment, Figure 20 will appear.

    Successful AI Model Deployment

    Figure 20 : The Deployment Playground that appears once the AI model is successfully deployed

  23. Now, click on the Home button that is indicated in Figure 20. This will open Figure 21. The Recent Work section of Figure 21 will display the details of the AI model you just deployed. To know the Endpoint URL of the deployment, click the View endpoint button corresponding to that deployment, as indicated by Figure 21.

    Clicking on View endpoint

    Figure 21 : Clicking on the View endpoint button

  24. Figure 22 will then appear displaying the Deployment name, Endpoint URL, and Authentication Key. Click on the icon alongside each of these to copy the corresponding information to clipboard.

    Copying Deployment Name, Endpoint URL, Authentication Key

    Figure 22 : Copying the deployment name, endpoint URL, and authentication key

  25. Finally, log out of the Azure portal.

  26. Next, log into the eG management console as a user who is assigned the Admin role.

  27. Click on the Admin tile menu, and choose the AI Assistant option from the Miscellaneous sub-menu.

  28. Figure 23 will appear. Set the Enable AI Integration flag to Yes to view the AI Assistant that you can use.

    Configuring eG Manager to Integrate with Copilot

    Figure 23 : Configuring the eG manager to integrate with Copilot (Azure OpenAI)

  29. To configure Copilot as the AI Assistant of the eG manager, click on Copilot (Azure OpenAI) in Figure 23.

  30. Then, configure the following to facilitate the integration:

    • Azure OpenAI Endpoint: Paste the Endpoint URL (see Figure 22) you had earlier copied to clipboard, here.

    • Deployment Name: Paste the Deployment name (see Figure 22) you had earlier copied to clipboard, here.

    • Authentication Key: Paste the Key (see Figure 22) you had earlier copied to clipboard, here.

  31. Click the right-arrow button alongside Key to validate the authentication key you specified.

  32. Once it is validated, click Submit to complete the integration.