To find your ID and Key:
- Sign into the Azure portal
- From the Azure portal menu, in the search box, type Log Analytic, and then select Log Analytic Workspaces.
- Select the appropiate workspace for you use case.
- Select the Agents Management blade and the log analytic WorkspaceID and WorkspaceKey should be found here.