Skip to main content

Module 3 - Enable OpenAI Model

In this module we will provision the OpenAI service and deploy the GPT4.1 Model that will be used by the Logic Apps Agent Loop.

Provision Azure OpenAI Service

  1. Search for and navigate to the OpenAI Service

    • In the serach bar enter: OpenAI
    • Select: Azure OpenAI -> Create -> Azure OpenAI

    Create Azure OpenAI

  2. Configure the Azure OpenAI service as follows:

    • Resource Group: logic-apps-ai-agents-rg
    • Region: North Central US
    • Name: logic-apps-open-ai-{your-initials-date}
    • Pricing Tier: Standard S0

    Configure Azure OpenAI

  3. click Next twice

  4. Review the configuration and click Create

    Create Azure OpenAI

Deploy the GPT-4.1 Model

  1. After your resource successfuly deploys click the Go to Resource button

  2. To be able to deploy models into our Azure OpenAI instance, we need to launch the Azure AI Foundry portal. Click Go to Azure AI Foundry portal

    Launch Azure AI Foundry Portal

  3. Deploy a new model into your Azure OpenAI instance by clicking the Create new deployment -> From base models

    Create New Deployment - From base model

  4. Search for and select gpt-4.1 from the list of available models; then click `Cofirm'

    Search and Confirm gpt-4.1

  5. Accept the default configuration for the gpt-4.1 model deployment. Click Deploy

    Deploy gpt-4.1 model

  6. Test your models deployment by entering a prompt

    Test gpt-4.1 model