Quick Deploy Guide [Option B]
Prerequisites
- Azure subscription with Contributor access & Role Based Access Control access
- VS Code, Azure Developer CLI (aka.ms/azd), Python 3.10+, Git
- For Fabric deployment: Microsoft Fabric workspace (F8+ capacity) with admin permissions
- Microsoft ODBC Driver 18
Choose Your Development Environment
Local Visual Studio Code: Open Visual Studio Code. From the File menu, select Open Folder and choose the folder where you want to deploy the workshop.
Or choose one of the options below:
Note: Please use this optional prompt if you would like to use GitHub Copilot to run the workshop:
Can you please follow the step by step in https://microsoft.github.io/agentic-applications-for-unified-data-foundation-solution-accelerator/deployment-guide-optionB/ for me. My Fabric Workspace id = <YOUR_FABRIC_WORKSPACE_ID>. Pass it using the --fabric-workspace-id parameter when running the build solution script. Important instructions: Do NOT make any code changes to the repository files. Only follow the deployment guide instructions exactly as documented. Run the commands step by step and wait for each to complete before proceeding. If I encounter any errors or issues, help me troubleshoot and resolve them before continuing. Explain what each step does before running it. If a step fails, suggest solutions based on the error message.
Full Deployment (Fabric + Foundry)
1. Configure Fabric workspace
1a. Create a Fabric capacity in Azure
Already have a Fabric capacity?
If you already have a Fabric capacity (F8+), you can skip this step and use your existing capacity.
Follow the instructions here: Create a Fabric capacity in Azure →
1b. Create a Fabric workspace
Already have a Fabric workspace?
If you already have a Fabric workspace linked to a Fabric capacity, you can skip this step and use your existing workspace.
Follow the instructions here: Create a Fabric workspace →
1c. Verify workspace settings
Fabric IQ must be enabled
Ensure that Fabric IQ is enabled on your tenant before proceeding. This setting is configured in the Fabric Admin Portal.
- Go to Fabric Admin Portal → Tenant settings.
- Search for and enable both of the following preview features:
- Ontology (preview)
- Graph (preview)
- Data agent item types (preview)
- Copilot and Azure OpenAI Service
- These settings may take a upto 15 minutes to take effect.
For detailed instructions, refer to the official documentation: Fabric IQ Tenant Settings.
- Open your newly created workspace or an existing workspace.
- Click the Workspace settings gear icon (⚙️) in the top-right area.
- Go to License info and verify:
- The workspace is assigned to a Fabric capacity
- The capacity SKU is F8 or higher
2. Clone the repository
git clone https://github.com/microsoft/agentic-applications-for-unified-data-foundation-solution-accelerator.git
3. Deploy Azure resources
VS Code Web users: Use
az login --use-device-codesince browser-based login is not supported in VS Code Web.
Register the Microsoft Cognitive Services resource provider (required if not already registered on your subscription):
When you start the deployment, you will need to set the following parameters:
| Setting | Description | Default value |
|---|---|---|
| Environment Name | A unique 3–20 character alphanumeric value used to prefix resources, preventing conflicts with others. | env_name |
| Azure Subscription | The Azure subscription to deploy resources into. Only prompted if you have multiple subscriptions. | (auto-selected if only one) |
| Azure Region | The region where resources will be created. | (empty) |
| AI Model Location | The region where AI model will be created | *(empty) |
Different tenant? Use: azd auth login --tenant-id <tenant-id>
4. Setup Python environment
5. Build the solution
Retrieve your Fabric workspace ID
You will need your workspace ID to pass as a parameter when building the solution.
- Open your workspace in Microsoft Fabric.
-
Look at the URL — the workspace ID is the GUID that appears after
/groups/:
-
Copy the workspace ID.
Finding the workspace ID
For more details, refer to the Microsoft documentation: Identify your workspace ID.
Run the build
VS Code Web users: Use
az login --use-device-codesince browser-based login is not supported in VS Code Web.
Note: If you omit
--fabric-workspace-id, the script will prompt you for it interactively. Press Enter key to start or Ctrl+C to cancel the process.
6. Test the agent
Sample questions to try:
- "What is the average score from inspections?"
- "What constitutes a failed inspection?"
- "Do any inspections violate quality control standards in our Inspection Procedures?"
7. Test the Fabric Data Agent
- Go to your Microsoft Fabric workspace
- Select "New item" → Search for "Data Agent" → select data agent, provide a name and click create
- Add data source → Select your Ontology resource for this workshop
- Click Agent instructions from top menu and add the below agent instructions:
- Click Publish from the top menu and select Publish.
Note: The Ontology set up may take up to 15 minutes so retry after some time if you don't see good responses.
Sample questions to try:
- "How many tickets are high priority"
- "What is the average score from inspections?"
- Show tickets grouped by status.
8. Deploy and launch the application
9. Set up app permissions
Note: Press Enter key to start or Ctrl+C to cancel the process.
After the agent configuration & API permission set up completes, open the app URL shown in the output.
10. Customize for Your Industry (Optional)
Follow steps in this page to Customize for your use case.
Repository: github.com/microsoft/agentic-applications-for-unified-data-foundation-solution-accelerator