Go to https://portal.azure.com
In the search bar at the top, type "Log Analytics workspaces" and click on it and click on the workspace you want to use.
In the Overview pane, Click on JSON View
Copy Resource ID that is your Workspace ID
Run the following command in your terminal
azd env set AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID '<Existing Log Analytics Workspace Id>'Replace <Existing Log Analytics Workspace Id> with the value obtained from Step 3.
Proceed with the next steps in the deployment guide.


