Getting Azure Log Analytics Keys - mattnovitsch/M365 GitHub Wiki

Summary

This will go over how to retrieve your keys from Azure Log Analytics for use within Power Automate flows and other various applications that might need them.

Prerequisites

  • Azure Subscription

Steps

  1. Log into Azure Portal.
  2. In the search box in the top right, type in Log Analytics and click on Log Analytics Workspaces.
  3. Select your workspace.
  4. Select Agent Management on the menu bar then copy the Workspace ID and Primary key. You don't need them right away I would put them in a notepad for quick reference. Just don't save it anywhere.